@font-face {
  font-family: Manrope;
  src: url("/static/fonts/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/static/fonts/mono.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --bg: #0b0b0d;
  --surface: #121214;
  --raised: #19191c;
  --line: #29292d;
  --text: #f1f0ed;
  --muted: #a3a3ac;
  --subtle: #777780;
  --red: #f04444;
  --action: #cf3037;
  --hover: #b5262d;
  --soft-red: #261315;
  --radius: 14px;
  --sans: Manrope, Arial, sans-serif;
  --mono: Plex, monospace;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button {
  color: inherit;
}
input,
textarea,
select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  padding: 12px 14px;
  width: 100%;
  min-height: 46px;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--red);
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: var(--subtle);
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 18px 0;
}
label input,
label textarea,
label select {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
}
fieldset {
  border: 0;
  padding: 0;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.2;
  text-wrap: balance;
}
h1 {
  font-size: 60px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 20px;
}
p {
  color: var(--muted);
}
code,
pre {
  font-family: var(--mono);
  font-size: 12px;
}
code {
  overflow-wrap: anywhere;
}
pre {
  margin: 0;
  overflow: auto;
  line-height: 1.9;
}
pre code {
  overflow-wrap: normal;
}
small {
  font-size: 12px;
}
strong {
  font-weight: 600;
}
::selection {
  background: #a32c35;
  color: white;
}
:focus-visible {
  outline: 2px solid #ff7373;
  outline-offset: 5px;
}
button:focus-visible {
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1192px;
  margin-inline: auto;
  padding-inline: 24px;
}
.muted {
  color: var(--muted);
}
.small-note {
  font-size: 12px;
  line-height: 1.8;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1.7;
}
.red-line {
  width: 24px;
  height: 2px;
  background: var(--red);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: var(--action);
  padding: 12px;
}
.skip:focus {
  top: 15px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid #343438;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  background: #171719;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
  white-space: nowrap;
}
.button:hover {
  background: #242427;
  border-color: #55555c;
}
.button.primary {
  background: var(--action);
  border-color: var(--action);
  color: white;
}
.button.primary:hover {
  background: var(--hover);
  border-color: var(--hover);
}
.button:active {
  transform: translateY(1px);
}
.button.small {
  padding: 9px 15px;
  min-height: 40px;
  font-size: 12px;
}
.button.full {
  width: 100%;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 8px 0;
  transition: color 0.18s;
}
.text-link:hover {
  color: #ff7373;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0;
}
.icon-button:hover {
  background: #27272c;
  border-color: var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.brand-mark {
  display: inline-flex;
  width: 30px;
  height: 30px;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}
.brand-name {
  font-size: 19px;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.brand-api {
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.03em;
}
.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 22px;
}
.desktop-nav a {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  color: var(--text);
}
.mobile-menu,
.mobile-nav {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  min-height: 613px;
  padding-top: 28px;
  padding-bottom: 60px;
  position: relative;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 86px;
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.03;
  margin: 27px 0;
}
.hero h1 > span {
  color: #8e8e96;
}
.hero-description {
  font-size: 15px;
  line-height: 1.9;
  max-width: 420px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 31px;
}
.hero-actions .button {
  min-height: 50px;
  padding: 14px 23px;
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  color: #98989f;
  font-size: 10px;
  margin-top: 31px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c6c6ca;
  box-shadow: 0 0 0 4px #ffffff06;
  flex-shrink: 0;
}
.separator {
  margin: 0 4px;
  color: #55555c;
}
.hero-art {
  position: relative;
  align-self: stretch;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img {
  width: 112%;
  max-width: none;
  height: 112%;
  object-fit: contain;
  position: absolute;
  mix-blend-mode: lighten;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 8%,
    black 85%,
    transparent
  );
  animation: float 9s ease-in-out infinite;
}
.art-coordinate {
  position: absolute;
  top: 65px;
  right: 0;
  font-size: 40px;
  line-height: 1.2;
  color: #b9b8b6;
  text-align: center;
  font-family: serif;
}
.art-coordinate small {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}
.art-caption {
  position: absolute;
  bottom: 8px;
  left: 24px;
  right: 2px;
  display: flex;
  justify-content: space-between;
  color: #717179;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}
.art-corner {
  position: absolute;
  width: 13px;
  height: 13px;
  border-color: #45454b;
}
.art-corner.top-left {
  top: 40px;
  left: 30px;
  border-top: 1px solid;
  border-left: 1px solid;
}
.art-corner.bottom-right {
  bottom: 35px;
  right: 0;
  border-bottom: 1px solid;
  border-right: 1px solid;
}
.providers {
  display: flex;
  align-items: center;
  gap: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 28px;
}
.providers > .eyebrow {
  font-size: 9px;
  white-space: nowrap;
}
.provider-wordmarks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  color: #99999f;
}
.wordmark {
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
}
.wordmark.anthropic {
  font-size: 19px;
  letter-spacing: 0.045em;
}
.wordmark.google {
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: 400;
}
.wordmark.xai {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.08em;
}
.wordmark.deepseek {
  font-size: 25px;
  letter-spacing: -0.05em;
}
.section {
  padding-top: 96px;
  padding-bottom: 12px;
}
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}
.section-title h2 {
  font-size: 37px;
  margin-top: 17px;
  letter-spacing: -0.045em;
}
.section-title > p {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 4px;
}
.integration-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}
.integration-steps article {
  display: flex;
  gap: 23px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.integration-steps article > span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
  padding-top: 4px;
}
.integration-steps h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.integration-steps p {
  font-size: 12px;
}
.integration-steps > .text-link {
  margin: 22px 0;
}
.code-card {
  border: 1px solid var(--line);
  background: #101012;
  border-radius: var(--radius);
  overflow: hidden;
}
.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 17px;
  border-bottom: 1px solid var(--line);
  color: #9e9ea6;
  font-family: var(--mono);
  font-size: 10px;
  min-height: 46px;
}
.code-bar > span:first-child {
  display: flex;
  gap: 6px;
}
.code-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #45454b;
}
.code-card pre {
  padding: 24px 26px;
  color: #d3d3d8;
}
.code-card code {
  font-size: 11px;
}
.syntax-muted {
  color: #ff777d;
}
.syntax-string {
  color: #b6c9b0;
}
.code-footer {
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  color: #9999a2;
  display: flex;
  align-items: center;
  gap: 9px;
}
.model-list {
  border-top: 1px solid var(--line);
}
.model-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 21px 17px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s;
}
.model-row:hover {
  background: #171719;
}
.provider-tile {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e1e22;
  color: #c7c6c8;
  border: 1px solid #333338;
  font-family: serif;
  font-size: 23px;
  border-radius: 10px;
  flex-shrink: 0;
}
.provider-tile.large {
  width: 64px;
  height: 64px;
  font-size: 32px;
}
.model-name {
  min-width: 0;
  flex: 1;
}
.model-name strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.model-name small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 11px;
}
.model-name small span {
  color: #878790;
}
.model-rate {
  font-family: var(--mono);
  font-size: 13px;
  text-align: right;
}
.model-rate small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.row-arrow {
  margin-left: 24px;
  color: #74747d;
}
.count {
  font-family: var(--mono);
  font-size: 10px;
  color: #c9c9cf;
  background: #ffffff0a;
  border-radius: 4px;
  padding: 2px 6px;
}
.model-list + .small-note {
  margin-top: 18px;
  max-width: 850px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  padding-top: 92px;
  padding-bottom: 90px;
}
.principles article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.principles h3 {
  font-size: 22px;
  margin: 18px 0 12px;
}
.principles p {
  font-size: 13px;
  line-height: 1.9;
  max-width: 290px;
}
.final-cta {
  margin-top: 12px;
  padding-top: 38px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.final-cta > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
}
.final-cta h2 {
  font-size: 38px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-top: 49px;
  padding-bottom: 40px;
}
.site-footer .brand-name {
  font-size: 15px;
}
.site-footer .brand-mark {
  width: 25px;
  height: 25px;
}
.site-footer p {
  font-size: 11px;
  margin-top: 10px;
}
.footer-links {
  display: flex;
  gap: 18px;
  font-size: 10px;
  color: var(--muted);
  flex-wrap: wrap;
  max-width: 650px;
  justify-content: flex-end;
  padding-top: 9px;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-links > span {
  color: #6e6e77;
}
.page-heading {
  padding-top: 64px;
  padding-bottom: 42px;
}
.page-heading h1 {
  font-size: 54px;
  margin: 18px 0;
}
.page-heading p {
  font-size: 14px;
  max-width: 680px;
}
.catalog-section {
  padding-bottom: 50px;
}
.catalog-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
}
.catalog-filters label {
  margin: 0;
  min-width: 170px;
}
.catalog-filters select,
.catalog-filters input {
  margin: 0;
  height: 46px;
  font-size: 12px;
}
.catalog-filters .search-field {
  flex: 1;
  position: relative;
}
.search-field svg {
  position: absolute;
  top: 14px;
  left: 14px;
  color: var(--muted);
}
.search-field input {
  padding-left: 44px;
}
.catalog-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  padding: 12px 16px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  font-size: 12px;
  color: var(--muted);
}
.notice {
  border: 1px solid var(--line);
  border-left: 2px solid #7c383b;
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.empty {
  text-align: center;
  padding: 70px 20px;
}
.empty h2,
.empty h3 {
  margin-bottom: 13px;
}
.empty h2 {
  font-size: 25px;
}
.empty p {
  margin: 10px auto 23px;
  max-width: 460px;
  font-size: 13px;
}
.empty-icon {
  display: inline-flex;
  background: var(--raised);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 25px;
  color: #aaaab3;
}
.small-empty {
  padding: 35px 20px;
}
.small-empty h3 {
  font-size: 18px;
}
.small-empty p {
  font-size: 12px;
}
.model-detail {
  padding-top: 40px;
  padding-bottom: 50px;
}
.model-detail-heading {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 36px 0;
}
.model-detail-heading h1 {
  font-size: 38px;
  overflow-wrap: anywhere;
  margin-top: 9px;
}
.model-detail-heading > .badge {
  margin-left: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid #343438;
  border-radius: 5px;
  color: #c4c4cc;
  font-size: 10px;
  white-space: nowrap;
}
.model-detail-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
}
.surface {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 22px;
  min-width: 0;
}
.surface h2 {
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1.4;
}
.surface > .eyebrow + h2 {
  margin-top: 13px;
}
.surface > p {
  font-size: 13px;
  line-height: 1.9;
  margin-top: 16px;
}
.surface p a,
.docs-article p a,
.legal-content a {
  color: #ff8388;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.price-pair {
  display: flex;
  gap: 50px;
  padding: 30px 0 15px;
}
.price-pair span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.price-pair strong {
  display: block;
  font-family: var(--mono);
  font-size: 24px;
  margin-top: 12px;
}
.definition-list {
  font-size: 13px;
  margin: 20px 0 25px;
}
.definition-list > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.definition-list dt {
  color: var(--muted);
}
.definition-list dd {
  margin: 0;
  text-align: right;
}
.copy-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px 8px 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 8px;
  margin: 20px 0;
  min-width: 0;
}
.copy-field code {
  font-size: 12px;
  word-break: break-word;
}
.model-connect {
  height: max-content;
  position: sticky;
  top: 24px;
}
.model-connect .endpoint {
  display: block;
  color: #bfbfc8;
  font-size: 12px;
  margin-top: 8px;
  margin-bottom: 28px;
}
.model-connect .button {
  margin: 6px 0;
}
.model-connect h2 {
  margin-bottom: 20px;
}
.model-connect .copy-field {
  margin-top: 12px;
}
details {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
  padding: 8px 0;
}
details p {
  margin: 12px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
th {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
}
th,
td {
  border-bottom: 1px solid var(--line);
  padding: 18px;
  white-space: nowrap;
}
tr:last-child td {
  border-bottom: 0;
}
th:first-child,
td:first-child {
  padding-left: 25px;
}
.table-scroll {
  overflow-x: auto;
}
.table-sub {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 11px;
}
.table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.table-actions .text-link {
  font-size: 11px;
}
.danger-text {
  color: #ff8388;
}
.docs-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 45px;
  padding-bottom: 50px;
  align-items: start;
}
.docs-navigation {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 24px;
  gap: 7px;
}
.docs-navigation > .eyebrow {
  padding: 8px 12px;
  margin-bottom: 10px;
}
.docs-navigation > a:not(.button) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  border-radius: 7px;
  padding: 10px 12px;
  gap: 12px;
}
.docs-navigation > a:hover {
  background: #19191c;
  color: var(--text);
}
.docs-navigation .selected {
  background: var(--raised);
  color: var(--text) !important;
  border-left: 2px solid var(--red);
}
.docs-navigation > .button {
  margin-top: 20px;
}
.docs-article {
  padding: 35px;
  overflow: hidden;
}
.docs-article h2 {
  font-size: 30px;
  margin-bottom: 24px;
}
.docs-article h3 {
  font-size: 18px;
  margin: 35px 0 17px;
}
.docs-article > .eyebrow {
  margin-bottom: 12px;
}
.docs-article p {
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.9;
}
.docs-article .code-card {
  margin: 18px 0;
}
.docs-article > pre {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
}
.docs-article table {
  display: block;
  overflow-x: auto;
}
.legal-content {
  max-width: 870px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.legal-content h1 {
  font-size: 38px;
  margin-bottom: 30px;
}
.legal-content h2 {
  font-size: 22px;
  margin: 35px 0 15px;
}
.legal-content h3 {
  font-size: 18px;
  margin: 30px 0 14px;
}
.legal-content p,
.legal-content li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 15px;
}
.legal-content header {
  margin-bottom: 35px;
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
  min-height: 690px;
  padding-top: 40px;
  padding-bottom: 60px;
}
.login-brand {
  position: relative;
  align-self: stretch;
  overflow: hidden;
}
.login-brand h1 {
  font-size: 59px;
  margin: 24px 0;
  position: relative;
  z-index: 1;
}
.login-brand > p {
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.login-art {
  position: absolute;
  right: -70px;
  bottom: -65px;
  width: 370px;
  height: 370px;
  opacity: 0.8;
  pointer-events: none;
}
.login-art img {
  width: 100%;
  height: 100%;
  mix-blend-mode: lighten;
}
.login-card {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  position: relative;
}
.login-card h2 {
  font-size: 26px;
  margin-bottom: 18px;
}
.login-card > p {
  font-size: 13px;
  margin-bottom: 28px;
}
.login-symbol {
  display: inline-flex;
  color: #f1d0d0;
  background: var(--soft-red);
  padding: 15px;
  border: 1px solid #502328;
  border-radius: 14px;
  margin-bottom: 30px;
}
.login-legal {
  font-size: 11px !important;
  margin-top: 25px;
  margin-bottom: 16px !important;
  line-height: 1.9;
}
.login-legal a {
  color: #d0d0d7;
  text-decoration: underline;
}
.login-code {
  display: block;
  font-family: var(--mono);
  font-size: 38px;
  letter-spacing: 0.22em;
  margin: 18px 0;
  text-align: center;
}
.login-wait {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 11px;
  margin: 20px 0;
}
.spinner {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid #555;
  border-top-color: var(--red);
  display: inline-block;
  animation: spin 1s linear infinite;
}
.form-error {
  font-size: 12px;
  color: #ff9297;
  margin: 12px 0;
}
.form-error:empty {
  display: none;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 13px 22px;
  border: 1px solid #595963;
  background: #242429;
  border-radius: 10px;
  box-shadow: 0 5px 30px #0006;
  max-width: calc(100vw - 32px);
  font-size: 13px;
}
.toast[data-error] {
  border-color: var(--red);
}
dialog {
  background: var(--surface);
  color: var(--text);
  border: 1px solid #45454e;
  border-radius: 18px;
  padding: 30px;
  max-width: 500px;
  width: calc(100vw - 32px);
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(5px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
dialog h2 {
  font-size: 28px;
}
dialog p {
  font-size: 13px;
  margin: 18px 0;
}
.secret-value {
  display: block;
  word-break: break-all;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 9px;
  margin: 22px 0;
  user-select: all;
}
.verification {
  font-family: var(--mono);
  font-size: 10px !important;
  opacity: 0.7;
}
.error-page {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.error-page h1 {
  font-size: 35px;
  margin-top: 25px;
}
/* Cabinet: a floating rail and a quiet, full-width working surface. */
.cabinet-body {
  background: #0c0c0e;
}
.cabinet-shell {
  padding: 20px;
  max-width: 1800px;
  margin: auto;
}
.sidebar {
  position: fixed;
  top: 20px;
  bottom: 20px;
  width: 238px;
  padding: 28px 15px 12px;
  background: #151517;
  border: 1px solid #303034;
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow-y: auto;
}
.sidebar > .brand {
  padding-left: 14px;
  margin-bottom: 35px;
}
.sidebar > .brand .brand-name {
  font-size: 17px;
}
.sidebar > .brand .brand-api {
  font-size: 12px;
}
.sidebar-caption {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: #888891;
  padding: 0 12px;
  margin-bottom: 17px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9b9ba5;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 45px;
  font-size: 11px;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-item:hover {
  background: #202024;
  color: var(--text);
}
.nav-item.active {
  background: linear-gradient(100deg, #32181c, #201619);
  border-color: #4a262a;
  color: #f9c6c8;
}
.nav-item.active > svg {
  color: #ff727b;
}
.nav-item i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  margin-left: auto;
}
.sidebar-divider {
  border-top: 1px solid var(--line);
  margin: 18px 0;
}
.sidebar nav > .sidebar-divider {
  margin: 16px 8px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-note {
  font-family: var(--mono);
  font-size: 9px;
  color: #92929d;
  margin: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 18px 8px 6px;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #2a2024;
  border: 1px solid #4d3037;
  font-size: 14px;
  color: #efb4b8;
  flex-shrink: 0;
}
.profile-link strong {
  display: block;
  font-size: 11px;
}
.profile-link small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.profile-link > svg {
  margin-left: auto;
  color: #7e7e89;
}
.panel-main {
  margin-left: 270px;
  min-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}
.panel-header {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 65px;
  border-bottom: 1px solid var(--line);
  margin: 0 16px;
  padding: 0 3px 15px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #92929c;
  min-width: 0;
}
.breadcrumb strong {
  font-weight: 400;
  color: #d2d2d7;
}
.breadcrumb span {
  color: #494950;
}
.panel-telegram {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.panel-menu {
  display: none;
}
.panel-content {
  padding: 34px 18px;
  max-width: 1450px;
  width: 100%;
  margin: 0 auto;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.panel-title .eyebrow {
  font-size: 9px;
}
.panel-title h1 {
  font-size: 30px;
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: -0.04em;
}
.panel-title > .button {
  font-size: 11px;
  min-height: 41px;
  padding: 10px 15px;
}
.panel-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 18px;
  color: #777782;
  font-size: 9px;
  margin-top: auto;
}
.panel-footer-status {
  margin-left: auto;
  display: flex;
  gap: 9px;
  align-items: center;
  font-family: var(--mono);
  font-size: 8px;
}
.balance-strip {
  display: flex;
  gap: 50px;
  border: 1px solid #343036;
  border-radius: var(--radius);
  padding: 29px 32px;
  background:
    radial-gradient(ellipse at 100% 100%, #391b23 0, transparent 65%), #171517;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  min-height: 150px;
}
.balance-strip > div:not(.balance-strip-art) {
  min-width: 200px;
  position: relative;
  z-index: 1;
}
.balance-strip > div + div:not(.balance-strip-art) {
  border-left: 1px solid #443138;
  padding-left: 40px;
}
.stat-label {
  display: block;
  font-size: 11px;
  color: #a9a4ad;
  margin-bottom: 12px;
}
.balance-strip strong {
  display: block;
  font-size: 31px;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: -0.055em;
  line-height: 1.1;
}
.balance-strip small {
  display: block;
  margin-top: 14px;
  color: #9f99a3;
  font-size: 10px;
}
.balance-strip-art {
  position: absolute;
  right: 27px;
  bottom: 9px;
  color: #a8474e42;
  font-family: serif;
  font-size: 110px;
  line-height: 1;
}
.balance-strip-art > span {
  display: block;
  font-size: 7px;
  font-family: var(--mono);
  letter-spacing: 0.25em;
  color: #aa777e94;
  position: absolute;
  right: 0;
  bottom: 0;
  white-space: nowrap;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 23px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 21px 22px;
  min-width: 0;
  background: #121214;
}
.stat > .stat-label {
  font-size: 10px;
  color: #9696a2;
  margin-bottom: 14px;
}
.stat > strong {
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: -0.06em;
  line-height: 1.25;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.stat > small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 12px;
  line-height: 1.8;
}
.compact-stats .stat {
  padding: 19px 16px;
}
.compact-stats .stat > strong {
  font-size: 19px;
}
.panel-content .surface {
  padding: 24px;
}
.panel-content .surface h2 {
  font-size: 15px;
  letter-spacing: -0.02em;
}
.panel-content .surface > p {
  font-size: 11px;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.card-heading h2 {
  margin: 0;
}
.card-heading p {
  font-size: 10px;
  margin-top: 5px;
}
.card-heading .text-link {
  font-size: 10px;
}
.card-heading > .muted {
  font-size: 10px;
}
.chart {
  position: relative;
  padding: 15px 0 0;
}
.chart > svg {
  width: 100%;
  height: 190px;
  overflow: visible;
}
.chart-grid {
  stroke: #ffffff0b;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  fill: none;
}
.chart-area {
  fill: #e3474710;
}
.chart-line {
  stroke: #f2656d;
  stroke-width: 2;
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8px;
  color: #797986;
  padding-top: 8px;
}
.chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #81818d;
  pointer-events: none;
}
.panel-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.panel-two-columns > .surface {
  margin-bottom: 22px;
}
.endpoint-card {
  background:
    radial-gradient(ellipse at 100% 0, #2e191f88, transparent 70%), #121214;
}
.endpoint-card .copy-field {
  margin: 23px 0;
}
.endpoint-card > .eyebrow {
  font-size: 8px;
}
.endpoint-card > .text-link {
  font-size: 11px;
}
.compact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.compact-row:last-child {
  border-bottom: 0;
}
.key-symbol {
  color: #a29aa5;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  background: #1c1b20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.compact-row strong {
  font-size: 11px;
  display: block;
}
.compact-row code {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 4px;
}
.compact-row > .badge {
  margin-left: auto;
  font-size: 8px;
}
.page-intro {
  font-size: 12px;
  max-width: 720px;
  margin: -5px 0 26px;
}
.table-surface {
  padding: 0 !important;
  overflow: hidden;
}
.inset {
  padding: 24px 24px 8px;
}
.table-surface th {
  background: #171719;
}
.panel-content th,
.panel-content td {
  font-size: 10px;
  padding-top: 19px;
  padding-bottom: 19px;
}
.panel-content table code {
  font-size: 10px;
}
.panel-content label {
  font-size: 11px;
}
.panel-content input,
.panel-content select,
.panel-content textarea {
  font-size: 12px;
}
.form-surface {
  max-width: 700px;
}
.form-surface form {
  max-width: 500px;
}
.amount-presets {
  display: flex;
  gap: 8px;
  margin: 24px 0;
}
.amount-presets .button {
  flex: 1;
  min-width: 0;
  padding-inline: 10px;
  font-size: 10px;
}
.period-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}
.period-row p,
.period-row > .muted {
  font-size: 11px;
}
.segmented {
  display: inline-flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121214;
  padding: 4px;
  max-width: 100%;
  overflow: auto;
}
.segmented > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 32px;
  padding: 7px 13px;
  font-size: 10px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 5px;
}
.segmented > a.selected {
  background: #2b2428;
  border-color: #4a3036;
  color: #f1c1c4;
}
.segmented > a:hover {
  color: var(--text);
  background: #252528;
}
.ticket-list {
  padding: 0 !important;
}
.ticket-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
}
.ticket-row:hover {
  background: #19191e;
}
.ticket-row:last-child {
  border-bottom: 0;
}
.ticket-number {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.ticket-row > div {
  flex: 1;
  min-width: 0;
}
.ticket-row strong {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.ticket-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.ticket-row > .badge {
  font-size: 9px;
}
.conversation {
  max-width: 900px;
}
.messages {
  margin: 28px 0;
}
.message {
  border: 1px solid var(--line);
  background: #19191d;
  padding: 20px;
  border-radius: 11px;
  margin: 15px 30px 15px 0;
}
.message.message-support {
  background: #25191e;
  border-color: #482b33;
  margin: 15px 0 15px 30px;
}
.message-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
}
.message-meta time {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
}
.message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 15px;
  color: #d2cdd4;
}
.thread-actions {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 14px;
}
.month-navigation {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.panel-content .notice {
  font-size: 11px;
}
.panel-content .small-note {
  font-size: 10px;
}
.panel-content details {
  font-size: 11px;
}
.panel-content summary {
  font-size: 11px;
}
.panel-content .definition-list {
  font-size: 11px;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1800px) {
  .sidebar {
    left: calc((100vw - 1760px) / 2);
  }
}
@media (max-width: 1150px) {
  .hero h1 {
    font-size: 73px;
  }
  .hero-art {
    min-height: 440px;
  }
  .hero {
    min-height: 550px;
  }
  .hero-actions {
    gap: 17px;
  }
  .providers {
    gap: 35px;
  }
  .sidebar {
    width: 213px;
    padding-inline: 10px;
  }
  .panel-main {
    margin-left: 235px;
  }
  .cabinet-shell {
    padding: 16px;
  }
  .sidebar {
    top: 16px;
    bottom: 16px;
  }
  .panel-content {
    padding-inline: 6px;
  }
  .panel-header {
    margin-inline: 6px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat {
    padding: 19px 16px;
  }
  .stat > strong {
    font-size: 20px;
  }
  .balance-strip {
    gap: 30px;
    padding: 27px;
  }
  .balance-strip > div:not(.balance-strip-art) {
    min-width: 160px;
  }
  .balance-strip > div + div:not(.balance-strip-art) {
    padding-left: 27px;
  }
  .balance-strip strong {
    font-size: 26px;
  }
  .balance-strip-art {
    font-size: 88px;
  }
  .panel-two-columns {
    gap: 16px;
  }
  .surface,
  .panel-content .surface {
    padding: 22px;
  }
  .panel-content .definition-list > div {
    gap: 15px;
  }
  .panel-content .copy-field code {
    font-size: 10px;
  }
  .table-actions {
    gap: 8px;
  }
  .compact-stats .stat > strong {
    font-size: 17px;
  }
}
@media (max-width: 900px) {
  .wrap {
    padding-inline: 24px;
  }
  .desktop-nav {
    gap: 19px;
    margin-right: 0;
  }
  .hero h1 {
    font-size: 61px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-actions {
    gap: 17px;
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-actions .button {
    min-height: 46px;
  }
  .hero-footnote {
    font-size: 8px;
    gap: 6px;
    margin-top: 22px;
    flex-wrap: wrap;
  }
  .hero-art {
    min-height: 420px;
  }
  .hero {
    padding-top: 20px;
    padding-bottom: 45px;
    min-height: 530px;
  }
  .art-coordinate {
    right: -5px;
    top: 70px;
    font-size: 29px;
  }
  .art-caption {
    font-size: 7px;
  }
  .providers {
    gap: 25px;
    flex-wrap: wrap;
    padding-top: 23px;
    padding-bottom: 28px;
  }
  .providers > .eyebrow {
    width: 100%;
  }
  .wordmark {
    font-size: 20px;
  }
  .wordmark.anthropic {
    font-size: 16px;
  }
  .wordmark.google {
    font-size: 23px;
  }
  .wordmark.deepseek {
    font-size: 23px;
  }
  .section {
    padding-top: 70px;
  }
  .section-title h2 {
    font-size: 31px;
  }
  .section-title > p {
    font-size: 12px;
  }
  .integration-grid {
    gap: 26px;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .code-card code {
    font-size: 10px;
  }
  .code-card pre {
    padding: 20px;
  }
  .integration-steps article {
    gap: 16px;
  }
  .integration-steps h3 {
    font-size: 15px;
  }
  .integration-steps p {
    font-size: 11px;
  }
  .principles {
    gap: 26px;
    padding-bottom: 65px;
  }
  .principles h3 {
    font-size: 19px;
  }
  .principles p {
    font-size: 12px;
  }
  .footer-links {
    max-width: 400px;
  }
  .login-layout {
    gap: 40px;
  }
  .login-card {
    padding: 28px;
  }
  .login-brand h1 {
    font-size: 49px;
  }
  .docs-layout {
    grid-template-columns: 180px 1fr;
    gap: 25px;
  }
  .docs-article {
    padding: 25px;
  }
  .catalog-filters label {
    min-width: 150px;
  }
  .model-detail-heading h1 {
    font-size: 29px;
  }
  .model-detail-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 18px;
  }
  .sidebar {
    width: 195px;
  }
  .panel-main {
    margin-left: 214px;
  }
  .sidebar > .brand {
    padding-left: 9px;
  }
  .sidebar > .brand .brand-mark {
    width: 25px;
    height: 25px;
  }
  .sidebar > .brand .brand-name {
    font-size: 15px;
  }
  .sidebar-caption {
    font-size: 7px;
  }
  .nav-item {
    font-size: 10px;
    gap: 10px;
    padding: 11px 9px;
  }
  .nav-item > svg {
    width: 17px;
    height: 17px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .panel-two-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .balance-strip {
    gap: 25px;
  }
  .balance-strip > div:not(.balance-strip-art) {
    min-width: 0;
    flex: 1;
  }
  .balance-strip-art {
    display: none;
  }
  .panel-header {
    gap: 10px;
  }
  .panel-telegram {
    font-size: 9px;
  }
  .panel-title h1 {
    font-size: 27px;
  }
  .panel-content .surface h2 {
    font-size: 16px;
  }
  .panel-footer-status {
    font-size: 7px;
  }
  .panel-content .card-heading {
    flex-wrap: wrap;
  }
  .card-heading p {
    font-size: 11px;
  }
  .stat > .stat-label {
    font-size: 11px;
  }
  .stat > strong {
    font-size: 23px;
  }
}
@media (max-width: 680px) {
  body {
    font-size: 14px;
  }
  .wrap {
    padding-inline: 22px;
  }
  .site-header {
    height: 80px;
    gap: 16px;
  }
  .brand-name {
    font-size: 17px;
  }
  .brand-mark {
    width: 27px;
    height: 27px;
  }
  .brand-api {
    font-size: 12px;
  }
  .desktop-nav {
    display: none;
  }
  .site-header > .button {
    margin-left: auto;
    font-size: 11px;
    padding: 8px 12px;
    min-height: 38px;
  }
  .mobile-menu {
    display: flex;
    width: 34px;
  }
  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px 22px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }
  .mobile-nav a {
    padding: 10px;
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
    padding-bottom: 20px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 64px;
    margin: 23px 0;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 22px;
    margin-top: 25px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 12px 17px;
  }
  .hero-footnote {
    font-size: 8px;
    margin-top: 25px;
    gap: 8px;
  }
  .hero-art {
    height: 370px;
    min-height: 0;
    margin-top: 8px;
    overflow: hidden;
  }
  .hero-art img {
    height: 112%;
    width: 112%;
  }
  .art-coordinate {
    top: 55px;
    right: 10px;
    font-size: 32px;
  }
  .art-corner.top-left {
    top: 40px;
    left: 10px;
  }
  .art-corner.bottom-right {
    right: 8px;
    bottom: 22px;
  }
  .art-caption {
    left: 10px;
    right: 10px;
    bottom: 0;
    font-size: 8px;
  }
  .providers {
    margin-top: 17px;
    gap: 25px;
    padding-top: 25px;
    padding-bottom: 29px;
  }
  .providers > .eyebrow {
    font-size: 9px;
  }
  .provider-wordmarks {
    flex-wrap: wrap;
    gap: 25px 26px;
    justify-content: flex-start;
  }
  .wordmark.anthropic {
    font-size: 16px;
  }
  .wordmark.openai {
    font-size: 21px;
  }
  .wordmark.google {
    font-size: 23px;
  }
  .wordmark.xai {
    font-size: 25px;
  }
  .wordmark.deepseek {
    font-size: 21px;
  }
  .section {
    padding-top: 61px;
  }
  .section-title {
    display: block;
    margin-bottom: 25px;
  }
  .section-title h2 {
    font-size: 31px;
    margin-top: 13px;
  }
  .section-title > p {
    margin-top: 22px;
    line-height: 1.9;
  }
  .section-title > .button {
    margin-top: 23px;
    font-size: 12px;
  }
  .integration-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .integration-steps article {
    padding: 20px 0;
  }
  .integration-steps h3 {
    font-size: 16px;
  }
  .integration-steps p {
    font-size: 12px;
  }
  .integration-steps > .text-link {
    margin-bottom: 8px;
  }
  .code-card code {
    font-size: 10px;
  }
  .code-card pre {
    padding: 20px 16px;
  }
  .code-bar {
    font-size: 9px;
    padding-left: 15px;
  }
  .model-row {
    gap: 13px;
    padding: 20px 0;
    flex-wrap: wrap;
  }
  .provider-tile {
    width: 38px;
    height: 38px;
    font-size: 21px;
    border-radius: 8px;
  }
  .model-name strong {
    font-size: 12px;
  }
  .model-name small {
    font-size: 10px;
  }
  .model-rate {
    font-size: 11px;
    width: 110px;
  }
  .model-rate small {
    font-size: 8px;
  }
  .row-arrow {
    display: none;
  }
  .model-name {
    flex-basis: calc(100% - 175px);
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 50px;
  }
  .principles h3 {
    font-size: 22px;
    margin-top: 14px;
  }
  .principles p {
    max-width: 100%;
    font-size: 13px;
  }
  .final-cta {
    padding-top: 28px;
    padding-bottom: 35px;
  }
  .final-cta > div {
    display: block;
  }
  .final-cta h2 {
    font-size: 30px;
  }
  .final-cta .button {
    margin-top: 27px;
  }
  .site-footer {
    flex-direction: column;
    gap: 25px;
    padding-top: 35px;
    padding-bottom: 32px;
  }
  .footer-links {
    justify-content: flex-start;
    max-width: 100%;
    gap: 14px 20px;
    font-size: 10px;
  }
  .footer-links > span {
    width: 100%;
    margin-top: 8px;
  }
  .page-heading {
    padding-top: 40px;
    padding-bottom: 30px;
  }
  .page-heading h1 {
    font-size: 39px;
    margin: 17px 0;
  }
  .page-heading p {
    font-size: 13px;
  }
  .catalog-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .catalog-filters .search-field {
    grid-column: 1/-1;
  }
  .catalog-filters label {
    min-width: 0;
  }
  .catalog-filters > .button {
    grid-column: 1/-1;
  }
  .catalog-meta {
    padding-inline: 0;
  }
  .catalog-section .notice {
    font-size: 11px;
    padding: 16px;
  }
  .model-detail {
    padding-top: 22px;
  }
  .model-detail-heading {
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 26px;
  }
  .model-detail-heading > div:nth-child(2) {
    flex: 1;
    min-width: 0;
  }
  .model-detail-heading h1 {
    font-size: 27px;
  }
  .model-detail-heading .eyebrow {
    font-size: 9px;
  }
  .model-detail-heading > .badge {
    margin: 0;
  }
  .model-detail-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .model-connect {
    position: static;
  }
  .surface {
    padding: 22px;
  }
  .price-pair {
    gap: 28px;
    flex-wrap: wrap;
  }
  .price-pair strong {
    font-size: 22px;
  }
  .price-pair span {
    font-size: 11px;
  }
  .definition-list > div {
    font-size: 12px;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .docs-navigation {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .docs-navigation > .eyebrow {
    grid-column: 1/-1;
    margin: 0;
  }
  .docs-navigation > a:not(.button) {
    font-size: 11px;
    padding: 11px 10px;
  }
  .docs-navigation > .button {
    grid-column: 1/-1;
    margin-top: 10px;
  }
  .docs-article {
    padding: 22px;
  }
  .docs-article h2 {
    font-size: 26px;
  }
  .docs-article p {
    font-size: 12px;
  }
  .docs-article table th,
  .docs-article table td {
    white-space: normal;
    font-size: 11px;
    padding: 12px;
  }
  .docs-article table code {
    font-size: 10px;
  }
  .login-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
    padding-top: 33px;
    padding-bottom: 40px;
  }
  .login-brand h1 {
    font-size: 42px;
    margin: 16px 0;
  }
  .login-brand > p {
    font-size: 12px;
  }
  .login-art {
    display: none;
  }
  .login-card {
    padding: 27px;
  }
  .login-card h2 {
    font-size: 24px;
  }
  .login-symbol {
    padding: 12px;
    margin-bottom: 25px;
  }
  .login-legal {
    font-size: 10px !important;
  }
  .legal-content {
    padding-top: 35px;
  }
  .legal-content h1 {
    font-size: 29px;
  }
  .legal-content p,
  .legal-content li {
    font-size: 12px;
  }
  .legal-content h2 {
    font-size: 21px;
  }
  .cabinet-shell {
    padding: 0;
  }
  .sidebar {
    left: 12px;
    top: 12px;
    bottom: 12px;
    width: 240px;
    transform: translateX(-270px);
    transition: transform 0.2s;
    box-shadow: 0 0 0 100vw #0008;
  }
  .sidebar:not(.open) {
    box-shadow: none;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-caption {
    font-size: 8px;
  }
  .sidebar > .brand {
    margin-bottom: 30px;
  }
  .sidebar > .brand .brand-name {
    font-size: 18px;
  }
  .nav-item {
    font-size: 12px;
    padding: 12px;
  }
  .nav-item > svg {
    width: 20px;
    height: 20px;
  }
  .profile-link strong {
    font-size: 12px;
  }
  .profile-link small {
    font-size: 10px;
  }
  .panel-main {
    margin-left: 0;
    min-height: 100dvh;
  }
  .panel-menu {
    display: flex;
    flex-shrink: 0;
  }
  .panel-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #0c0c0ef5;
    backdrop-filter: blur(15px);
    padding: 13px 4px;
    margin: 0 15px;
    min-height: 65px;
    gap: 9px;
  }
  .panel-telegram {
    display: none;
  }
  .breadcrumb {
    font-size: 10px;
    flex: 1;
    gap: 9px;
  }
  .panel-header > .icon-button {
    width: 34px;
    height: 34px;
  }
  .panel-content {
    padding: 25px 18px;
  }
  .panel-title {
    margin-bottom: 25px;
    gap: 14px;
    align-items: flex-end;
  }
  .panel-title h1 {
    font-size: 28px;
    margin-top: 7px;
  }
  .panel-title .eyebrow {
    font-size: 8px;
  }
  .panel-title > .button {
    font-size: 10px;
    min-height: 39px;
    padding: 10px 12px;
    gap: 6px;
  }
  .panel-title > .button svg {
    width: 14px;
  }
  .balance-strip {
    padding: 22px 20px;
    gap: 20px;
    min-height: 135px;
    border-radius: 12px;
  }
  .balance-strip .stat-label {
    font-size: 10px;
  }
  .balance-strip strong {
    font-size: 24px;
  }
  .balance-strip small {
    font-size: 9px;
    margin-top: 13px;
  }
  .balance-strip > div + div:not(.balance-strip-art) {
    padding-left: 18px;
  }
  .stats-grid {
    gap: 11px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 20px 18px;
    min-height: 103px;
  }
  .stat > .stat-label {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .stat > strong {
    font-size: 22px;
  }
  .stat > small {
    font-size: 9px;
  }
  .panel-content .surface {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  .panel-content .surface h2 {
    font-size: 16px;
  }
  .card-heading {
    gap: 12px;
    margin-bottom: 15px;
  }
  .card-heading .text-link {
    font-size: 10px;
  }
  .card-heading > .muted {
    font-size: 9px;
  }
  .chart > svg {
    height: 150px;
  }
  .chart-empty {
    font-size: 10px;
  }
  .chart-labels {
    font-size: 8px;
  }
  .endpoint-card p {
    font-size: 12px !important;
  }
  .endpoint-card .copy-field code {
    font-size: 11px;
  }
  .panel-footer {
    padding: 12px 18px 22px;
    flex-wrap: wrap;
    font-size: 9px;
    gap: 16px;
  }
  .panel-footer-status {
    margin: 0;
    width: 100%;
    font-size: 8px;
  }
  .period-row {
    gap: 14px;
    margin-bottom: 20px;
  }
  .segmented {
    width: max-content;
  }
  .segmented > a {
    font-size: 10px;
    padding: 8px 13px;
    min-height: 35px;
  }
  .period-row > .segmented {
    max-width: 100%;
  }
  .panel-content label {
    font-size: 12px;
  }
  .panel-content input,
  .panel-content select,
  .panel-content textarea {
    font-size: 14px;
    min-height: 46px;
  }
  .amount-presets .button {
    font-size: 11px;
    min-height: 42px;
  }
  .table-surface th,
  .table-surface td {
    font-size: 11px;
  }
  .panel-content .table-actions {
    gap: 12px;
  }
  .ticket-row {
    padding: 20px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .ticket-row > div {
    min-width: 190px;
  }
  .ticket-row > .badge {
    margin-left: 32px;
  }
  .ticket-row > svg {
    margin-left: auto;
  }
  .message,
  .message.message-support {
    margin-left: 0;
    margin-right: 0;
    padding: 17px;
  }
  .message-meta time {
    font-size: 8px;
  }
  .message-meta strong {
    font-size: 10px;
  }
  .message p {
    font-size: 12px;
  }
  .month-navigation {
    width: 100%;
    justify-content: space-between;
    font-size: 12px;
  }
  .compact-stats .stat {
    padding: 17px 14px;
  }
  .compact-stats .stat > strong {
    font-size: 19px;
  }
  .panel-content .notice {
    font-size: 11px;
    padding: 15px 18px;
  }
  .panel-content .small-note {
    font-size: 11px;
  }
  .panel-content .definition-list {
    font-size: 12px;
  }
  .copy-field .icon-button {
    flex-shrink: 0;
  }
  .page-intro {
    font-size: 12px;
  }
  .panel-content .form-error {
    font-size: 12px;
  }
  .panel-content .surface form > .button {
    font-size: 12px;
  }
  dialog {
    padding: 25px;
  }
  .dialog-header {
    margin-bottom: 15px;
  }
  .table-actions button {
    min-height: 44px;
  }
  .nav-item {
    min-height: 46px;
  }
  .docs-navigation > a {
    min-height: 44px;
  }
  .text-link {
    min-height: 36px;
  }
}
@media (max-width: 370px) {
  .wrap {
    padding-inline: 18px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .button {
    padding-inline: 14px;
  }
  .hero-actions .text-link {
    font-size: 10px;
  }
  .balance-strip strong {
    font-size: 21px;
  }
  .balance-strip small {
    font-size: 8px;
  }
  .panel-content {
    padding-inline: 15px;
  }
  .panel-title h1 {
    font-size: 25px;
  }
  .panel-title > .button {
    padding: 9px;
    font-size: 9px;
  }
  .model-rate {
    width: 100px;
  }
  .model-name {
    flex-basis: calc(100% - 155px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* Readable working text; compact type is reserved for decorative coordinates. */
.nav-item {
  font-size: 12px;
}
.sidebar-caption {
  font-size: 9px;
}
.breadcrumb,
.panel-telegram {
  font-size: 12px;
}
.stat > .stat-label {
  font-size: 12px;
}
.stat > small {
  font-size: 11px;
}
.card-heading p,
.card-heading .text-link,
.card-heading > .muted {
  font-size: 12px;
}
.panel-content .surface h2 {
  font-size: 18px;
}
.panel-content .surface > p,
.panel-content label,
.panel-content .notice,
.panel-content details,
.panel-content summary {
  font-size: 12px;
}
.panel-content input,
.panel-content select,
.panel-content textarea {
  font-size: 14px;
}
.panel-content th,
.panel-content td {
  font-size: 12px;
}
.panel-content table code,
.panel-content .small-note {
  font-size: 11px;
}
.compact-row strong {
  font-size: 13px;
}
.compact-row code,
.compact-row > .badge {
  font-size: 11px;
}
.panel-footer {
  font-size: 11px;
}
.panel-content .definition-list {
  font-size: 12px;
}
.table-actions .text-link {
  font-size: 12px;
}
.panel-content .copy-field code {
  font-size: 12px;
}
.panel-title > .button {
  font-size: 12px;
}
.profile-link strong {
  font-size: 12px;
}
.profile-link small {
  font-size: 10px;
}
.segmented > a {
  font-size: 12px;
}
.period-row p,
.period-row > .muted {
  font-size: 12px;
}
.ticket-row strong {
  font-size: 13px;
}
.ticket-row small,
.ticket-row > .badge {
  font-size: 11px;
}
@media (min-width: 681px) and (max-width: 1150px) {
  .nav-item {
    font-size: 11px;
  }
  .sidebar-caption {
    font-size: 8px;
  }
  .panel-telegram,
  .breadcrumb {
    font-size: 10px;
  }
  .panel-title > .button {
    font-size: 11px;
  }
  .segmented > a {
    font-size: 11px;
  }
}
@media (max-width: 680px) {
  .sidebar-caption {
    font-size: 9px;
  }
  .nav-item {
    font-size: 13px;
  }
  .panel-title > .button {
    font-size: 11px;
  }
  .segmented > a {
    font-size: 11px;
  }
  .panel-content th,
  .panel-content td {
    font-size: 12px;
  }
}

@media (max-width: 680px) {
  .panel-header {
    padding-top: max(13px, env(safe-area-inset-top));
  }
  .panel-footer {
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }
  .icon-button,
  .button.small,
  .segmented > a,
  .docs-navigation > a {
    min-height: 44px;
    min-width: 44px;
  }
  .panel-header > .icon-button {
    width: 44px;
    height: 44px;
  }
  .site-header > .button {
    min-height: 44px;
  }
  .mobile-menu {
    width: 44px;
  }
}

@media (max-width: 680px) {
  .responsive-table,
  .responsive-table tbody {
    display: block;
    width: 100%;
  }
  .responsive-table thead {
    display: none;
  }
  .responsive-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px 16px;
    padding: 19px 21px;
    border-bottom: 1px solid var(--line);
  }
  .responsive-table tbody tr:last-child {
    border-bottom: 0;
  }
  .responsive-table tbody td {
    display: block;
    border: 0 !important;
    padding: 6px 0 !important;
    white-space: normal;
    min-width: 0;
    font-size: 13px;
  }
  .responsive-table tbody td:first-child {
    grid-column: 1/-1;
    font-size: 14px;
  }
  .responsive-table tbody td:first-child strong {
    font-size: 14px;
  }
  .responsive-table tbody td:last-child {
    grid-column: 1/-1;
  }
  .responsive-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .responsive-table .table-actions {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
    margin-top: 5px;
  }
  .responsive-table .table-actions .text-link {
    font-size: 12px;
    min-height: 44px;
  }
  .responsive-table .table-sub {
    font-size: 12px;
    letter-spacing: 0.04em;
    margin-top: 7px;
  }
  .key-table tbody td:nth-child(4) {
    grid-column: 1/-1;
  }
  .key-table tbody td:nth-child(4)::before {
    display: none;
  }
}
@media (max-width: 370px) {
  .site-header {
    gap: 10px;
  }
  .site-header > .button {
    gap: 7px;
    padding-inline: 10px;
  }
  .site-header .brand {
    gap: 9px;
  }
}
.availability-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  width: max-content;
  max-width: 100%;
  margin: 14px 0 20px;
}
.availability-filter input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  accent-color: var(--red);
}
.model-availability {
  font-size: 10px;
  color: var(--muted);
}

.badge.unavailable .status-dot {
  background: var(--muted);
  box-shadow: none;
}
