:root {
  --bg: #f5f7f9;
  --surface: #fff;
  --ink: #172c3b;
  --muted: #607380;
  --line: #dfe6eb;
  --accent: #006c64;
  --button-ink: #fff;
  --danger: #ba3030;
  --tint: #e2f3ef;
  --radius: 18px;
  color-scheme: light;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}
body[data-theme="technology"] {
  --bg: #101624;
  --surface: #182134;
  --ink: #edf3ff;
  --muted: #a1afc7;
  --line: #2e3a50;
  --accent: #adc8ff;
  --button-ink: #101624;
  --danger: #ffb4ab;
  --tint: #24364f;
  color-scheme: dark;
}
body[data-theme="business"] {
  --bg: #f5f3ed;
  --surface: #fffefa;
  --ink: #30342c;
  --muted: #6c7164;
  --line: #dddcd1;
  --accent: #625c33;
  --tint: #edead8;
  --radius: 8px;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 10px 17px;
  background: var(--accent);
  color: var(--button-ink);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
}
.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.danger {
  color: var(--danger);
  background: transparent;
  border-color: var(--line);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:hover,
.button:hover {
  filter: brightness(0.96);
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
header {
  height: 82px;
  padding: 0 max(24px, calc((100vw - 1260px) / 2));
  display: flex;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
#identity {
  color: var(--ink);
  font-weight: 750;
  font-size: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}
#mark {
  font-size: 33px;
  line-height: 1;
  color: var(--accent);
}
#logo {
  height: 34px;
  width: 34px;
  object-fit: contain;
}
nav {
  display: flex;
  gap: 25px;
  flex: 1;
  overflow: auto;
  white-space: nowrap;
}
nav a {
  color: var(--muted);
  padding: 28px 0;
}
nav a.active {
  color: var(--ink);
  border-bottom: 3px solid var(--accent);
}
#account {
  display: flex;
  gap: 12px;
  align-items: center;
}
main {
  max-width: 1260px;
  min-height: calc(100vh - 180px);
  margin: auto;
  padding: 42px 24px 70px;
}
h1 {
  font-size: 31px;
  line-height: 1.3;
  letter-spacing: -0.6px;
  margin: 0 0 10px;
  font-weight: 700;
}
h2 {
  font-size: 19px;
  line-height: 1.4;
  margin: 0 0 18px;
}
h3 {
  font-size: 15px;
  margin: 0 0 6px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 15px;
}
.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 660px;
  margin: 0 0 28px;
}
.pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.pagehead p {
  margin: 8px 0 0;
  color: var(--muted);
}
.hero {
  padding: 65px 0 60px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  align-items: center;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.22;
  max-width: 600px;
  letter-spacing: -1.8px;
  margin-bottom: 24px;
}
.code {
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  font:
    13px/1.85 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code-label {
  letter-spacing: 1px;
  color: var(--muted);
  font-size: 12px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.stat,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
}
.stat p {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: 13px;
}
.stat strong {
  font-size: 26px;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.card {
  margin-bottom: 24px;
}
.grid > .card {
  margin: 0;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.form {
  display: grid;
  gap: 18px;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--ink);
  font-weight: 500;
}
input,
select {
  min-width: 0;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}
input[type="file"] {
  padding: 9px;
  font-size: 12px;
}
.check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-weight: 400;
}
.check input {
  flex-shrink: 0;
}
.help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.badge {
  display: inline-block;
  font-size: 12px;
  background: var(--tint);
  color: var(--accent);
  border-radius: 6px;
  padding: 4px 10px;
}
.empty {
  padding: 45px;
  text-align: center;
  color: var(--muted);
}
.table-wrap {
  width: 100%;
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 12px;
  white-space: nowrap;
}
td {
  border-bottom: 1px solid var(--line);
  padding: 16px 12px;
  vertical-align: middle;
}
tbody tr:last-child td {
  border: 0;
}
td input {
  max-width: 125px;
}
td button {
  padding: 7px 12px;
  font-size: 12px;
}
td .row {
  flex-wrap: nowrap;
}
.model {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.auth {
  max-width: 430px;
  margin: 45px auto;
}
.auth h1 {
  font-size: 25px;
}
.auth .card {
  padding: 32px;
}
.wide {
  width: 100%;
}
.info {
  padding: 16px 18px;
  background: var(--tint);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink);
  margin: 18px 0;
}
.error {
  color: var(--danger);
}
.theme-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.theme-pick {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: block;
  cursor: pointer;
}
.theme-pick:has(input:checked) {
  border-color: var(--accent);
}
.theme-pick input {
  width: 15px;
  margin: 0 7px 0 0;
}
.swatch {
  height: 58px;
  border-radius: 6px;
  margin: 0 0 10px;
  background: #e2f3ef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #006c64;
  font-size: 12px;
  letter-spacing: 2px;
}
.swatch.technology {
  background: #182134;
  color: #adc8ff;
}
.swatch.business {
  background: #edead8;
  color: #625c33;
}
.secret {
  font-family: ui-monospace, monospace;
  word-break: break-all;
  user-select: all;
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 9px;
}
.legal {
  white-space: pre-wrap;
  max-width: 820px;
  line-height: 1.9;
}
.tabs {
  display: flex;
  gap: 8px;
  margin: 26px 0;
  flex-wrap: wrap;
}
.tabs button {
  padding: 8px 18px;
}
.tabs button[aria-selected="false"] {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
footer {
  max-width: 1260px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  padding: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}
footer span:first-child {
  margin-right: auto;
  font-weight: 600;
}
#notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 480px;
  padding: 16px 23px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 5px 30px #0002;
  z-index: 30;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--surface);
  padding: 10px;
  z-index: 99;
}
.skip:focus {
  top: 12px;
}
details {
  margin-top: 18px;
}
summary {
  cursor: pointer;
  color: var(--accent);
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  header {
    gap: 20px;
    padding: 0 20px;
  }
  nav {
    gap: 18px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  header {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    padding: 16px 20px 0;
    gap: 14px;
  }
  #identity {
    font-size: 17px;
  }
  #account {
    margin-left: auto;
  }
  nav {
    order: 3;
    flex-basis: 100%;
    gap: 24px;
  }
  nav a {
    padding: 8px 0 14px;
  }
  main {
    padding: 28px 18px 45px;
  }
  h1 {
    font-size: 25px;
  }
  .pagehead {
    align-items: flex-start;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 26px 0;
    gap: 22px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .code {
    padding: 20px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .stat,
  .card {
    padding: 20px;
  }
  .stat strong {
    font-size: 22px;
  }
  .theme-picks {
    gap: 7px;
  }
  .theme-pick {
    padding: 8px;
    font-size: 12px;
  }
  .stats {
    gap: 10px;
  }
  .auth {
    margin: 20px auto;
  }
  .auth .card {
    padding: 24px;
  }
  .pagehead > .row {
    flex-direction: column;
  }
  .table-wrap {
    margin-top: 10px;
  }
  footer {
    gap: 13px;
    padding: 24px 18px;
  }
  .lead {
    font-size: 14px;
  }
  #notice {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
  .empty {
    padding: 30px 10px;
  }
}
/* Shared OEM storefront; palettes remain controlled by the brand owner. */
:root {
  --bg: #f7f9fb;
  --ink: #162a3b;
  --muted: #617381;
  --line: #e3e9ed;
  --accent: #17675c;
  --tint: #eaf4ef;
  --radius: 16px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  -webkit-font-smoothing: antialiased;
}
header {
  height: 76px;
  gap: 44px;
}
#identity {
  font-size: 19px;
  letter-spacing: -0.4px;
}
#mark {
  font-size: 29px;
}
nav a {
  padding: 24px 0;
  font-size: 13px;
  font-weight: 550;
}
#account .button {
  padding: 8px 18px;
}
main {
  max-width: 1280px;
  padding: 44px 32px 76px;
}
button,
.button {
  border-radius: 8px;
  transition:
    background 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
.button:hover {
  transform: translateY(-1px);
}
button:disabled {
  cursor: not-allowed;
}
p {
  margin-top: 0;
}
.pagehead {
  margin-bottom: 34px;
}
.pagehead h1 {
  font-size: clamp(27px, 3vw, 36px);
  letter-spacing: -0.9px;
}
.pagehead p {
  max-width: 680px;
}
.hero {
  grid-template-columns: 1.02fr 1fr;
  gap: 72px;
  padding: 35px 0 64px;
}
.hero-copy {
  min-width: 0;
}
.hero h1 {
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.22;
  letter-spacing: -2px;
  margin: 24px 0;
}
.accent-text {
  color: var(--accent);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  background: var(--tint);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 9%, transparent);
}
.hero .lead {
  font-size: 16px;
  line-height: 1.9;
  max-width: 450px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions .button {
  padding: 12px 21px;
}
.hero-footnote {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}
.hero-console {
  min-width: 0;
  padding: 20px;
  background: var(--tint);
  border: 1px solid color-mix(in srgb, var(--accent) 12%, var(--line));
  border-radius: 20px;
}
.console-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--accent);
  margin: 0 0 14px;
  font-weight: 650;
}
.console-caption .badge {
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  letter-spacing: 0;
  padding: 2px 8px;
}
.code-panel {
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #152734;
  color: #e7edf3;
  box-shadow: 0 12px 28px #10203012;
}
.code-toolbar {
  padding: 13px 17px;
  border-bottom: 1px solid #ffffff13;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 11px;
  color: #a4b6c2;
}
.terminal-dots {
  letter-spacing: 2px;
  color: #64818a;
  font-size: 9px;
}
.code-copy {
  margin-left: auto;
  color: #b9dacf;
  padding: 4px 8px;
  background: #ffffff09;
  border: 1px solid #ffffff19;
  font-size: 11px;
  font-weight: 500;
}
.code-panel .code {
  margin: 0;
  padding: 23px;
  background: transparent;
  color: #e7edf3;
  white-space: pre;
  overflow-wrap: normal;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.9;
  border-radius: 0;
}
.console-endpoint {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 10px;
  padding: 15px 2px 0;
}
.console-endpoint > span {
  grid-column: 1/-1;
  font-size: 10px;
}
.console-endpoint code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.text-button {
  padding: 2px 6px;
  color: var(--accent);
  background: transparent;
  font-size: 11px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 25px;
}
.section-heading .eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  margin-bottom: 8px;
}
.section-heading h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.6px;
}
.section-heading > a {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
}
.catalog-section {
  scroll-margin-top: 24px;
}
.catalog-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 0 15px;
  min-width: 0;
}
.search-box > span {
  color: var(--muted);
  font-size: 25px;
  line-height: 1;
}
.search-box input {
  padding: 13px 12px;
  border: 0;
  background: transparent;
  font-size: 13px;
}
.search-box:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.search-box input:focus-visible {
  outline: none;
}
.catalog-tools > select {
  max-width: 210px;
  background: var(--surface);
  font-size: 13px;
  padding: 13px;
}
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 550;
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
  border-radius: 7px;
}
.filter-pill[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--button-ink);
}
.catalog-meta {
  margin: 24px 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.catalog-count {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.model-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 21px 16px;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.model-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 6px 25px #10203008;
}
.model-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.vendor-sign {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--tint);
  font-size: 17px;
  font-weight: 650;
  flex: 0 0 auto;
}
.vendor-sign[data-kind="image"] {
  color: #8d5534;
  background: #fcf0e8;
}
.vendor-sign[data-kind="video"] {
  color: #6654a0;
  background: #f0ebfb;
}
.vendor-name {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.availability {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 5px;
}
.is-ready {
  color: var(--accent);
  background: var(--tint);
}
.is-pending {
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
}
.model-title {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.25px;
  overflow-wrap: anywhere;
  margin: 0 0 10px;
}
.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.capability-tags span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 500;
}
.capability-tags span + span::before {
  content: "·";
  margin-right: 6px;
  color: var(--muted);
}
.model-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 12px 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 43px;
}
.model-offers {
  margin-top: auto;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.model-offer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  padding: 5px 0;
  font-size: 12px;
}
.offer-group {
  color: var(--muted);
}
.offer-price {
  margin-left: auto;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.offer-price .small {
  font-size: 11px;
}
.model-card-footer {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.compact {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 500;
}
.catalog-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.catalog-empty,
.catalog-loading {
  padding: 55px 24px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
  background: var(--surface);
  grid-column: 1/-1;
}
.empty-symbol {
  display: block;
  font-size: 40px;
  color: var(--muted);
}
.catalog-empty h3 {
  font-size: 17px;
  margin: 10px 0;
}
.catalog-empty p {
  font-size: 13px;
}
.getting-started {
  margin-top: 72px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 45px;
}
.getting-started h2 {
  font-size: 23px;
  margin-bottom: 12px;
}
.getting-started .muted {
  font-size: 13px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}
.steps li {
  flex: 1;
}
.step-number {
  display: inline-block;
  color: var(--accent);
  font:
    12px ui-monospace,
    monospace;
  padding: 6px 8px;
  background: var(--tint);
  border-radius: 5px;
  margin-bottom: 14px;
}
.steps a {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 8px;
}
.steps p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.api-address {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 23px 26px;
  border-radius: 12px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.api-address .eyebrow {
  margin-bottom: 8px;
  font-size: 10px;
}
.api-address code {
  font-size: 17px;
  overflow-wrap: anywhere;
}
.docs-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 38px 0;
}
.docs-steps h2 {
  font-size: 16px;
  margin: 0 0 8px;
}
.docs-steps p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.docs-example {
  margin: 45px 0;
}
.docs-example .section-heading {
  align-items: flex-start;
}
.docs-example .section-heading p {
  margin: 12px 0 0;
  font-size: 13px;
}
.docs-example select {
  width: 250px;
  font-size: 12px;
  background: var(--surface);
}
.docs-reference {
  max-width: 900px;
  margin: 45px 0;
}
.docs-reference h2 {
  font-size: 23px;
  margin-bottom: 24px;
}
.docs-reference details {
  padding: 18px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.docs-reference summary {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.docs-reference details p {
  padding: 14px 0 0;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.docs-bottom {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.auth-layout {
  max-width: 1040px;
  margin: 26px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
}
.auth-intro {
  background: var(--tint);
  padding: 50px 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-symbol {
  font-size: 58px;
  color: var(--accent);
  line-height: 1;
  margin: 6px 0 45px;
}
.auth-intro h2 {
  font-size: 35px;
  letter-spacing: -1px;
  line-height: 1.5;
}
.auth-intro > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}
.auth-points {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 12px;
  color: var(--accent);
  margin: 24px 0 40px;
}
.auth-intro > a {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
}
.auth-panel {
  padding: 54px 42px;
}
.auth-panel h1 {
  font-size: 27px;
  margin-bottom: 12px;
}
.auth-panel > p.muted {
  font-size: 13px;
  margin-bottom: 28px;
}
.auth-panel .form {
  gap: 20px;
}
.auth-panel .form input {
  background: var(--surface);
}
.auth-panel .form button[type="submit"] {
  width: 100%;
  padding: 12px;
}
.auth-panel .eyebrow {
  font-size: 10px;
  margin-bottom: 14px;
}
.auth-switch {
  padding-top: 23px;
  border-top: 1px solid var(--line);
  margin: 28px 0 15px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.auth-switch a {
  margin-left: 7px;
  font-weight: 600;
}
.auth-panel > .help {
  text-align: center;
  font-size: 11px;
}
.password-field > label {
  margin-bottom: 7px;
}
.password-input {
  position: relative;
}
.password-input input {
  padding-right: 58px;
}
.password-toggle {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: 5px 7px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 400;
}
.consent {
  font-size: 12px;
  align-items: flex-start;
}
.consent input {
  margin-top: 2px;
}
footer {
  max-width: 1280px;
  padding: 24px 32px;
  gap: 15px 24px;
}
footer .small {
  font-size: 10px;
}
body[data-theme="technology"] .hero-console {
  box-shadow: none;
}
body[data-theme="technology"] .code-panel {
  background: #0b1320;
}
body[data-theme="technology"] .vendor-sign[data-kind="image"] {
  color: #edb994;
  background: #3c302b;
}
body[data-theme="technology"] .vendor-sign[data-kind="video"] {
  color: #c9b9f6;
  background: #302942;
}
@media (max-width: 1100px) {
  .hero {
    gap: 32px;
  }
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .getting-started {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .auth-intro,
  .auth-panel {
    padding: 38px 30px;
  }
}
@media (max-width: 760px) {
  main {
    padding: 30px 22px 55px;
  }
  header {
    gap: 22px;
    padding: 0 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 15px 0 45px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero .lead {
    max-width: 540px;
  }
  .hero-console {
    max-width: 100%;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 10px auto;
  }
  .auth-intro {
    display: none;
  }
  .auth-panel {
    padding: 36px;
  }
  .docs-steps {
    gap: 16px;
  }
}
@media (max-width: 620px) {
  header {
    height: auto;
    min-height: 72px;
    padding: 14px 18px 0;
    gap: 12px;
  }
  nav {
    gap: 24px;
  }
  nav a {
    padding: 8px 0 13px;
    font-size: 12px;
  }
  #identity {
    font-size: 17px;
  }
  #account {
    gap: 12px;
    font-size: 12px;
  }
  #account .button {
    padding: 6px 13px;
  }
  main {
    padding: 28px 18px 48px;
  }
  .hero h1 {
    font-size: 39px;
    letter-spacing: -1.5px;
  }
  .hero .lead {
    font-size: 14px;
  }
  .hero-console {
    padding: 15px;
    border-radius: 14px;
  }
  .hero-actions .button {
    padding: 11px 16px;
    font-size: 13px;
  }
  .hero-footnote {
    margin-top: 18px;
  }
  .code-panel .code {
    padding: 18px;
    font-size: 11px;
  }
  .code-toolbar {
    padding: 11px 12px;
    gap: 10px;
    font-size: 10px;
  }
  .terminal-dots {
    display: none;
  }
  .section-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .section-heading > a {
    font-size: 11px;
    padding-top: 4px;
  }
  .model-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .model-card {
    padding: 20px;
  }
  .catalog-tools {
    gap: 9px;
  }
  .catalog-tools > select {
    width: 116px;
    padding: 12px 8px;
    font-size: 12px;
  }
  .search-box {
    padding-left: 10px;
  }
  .search-box input {
    font-size: 12px;
    padding: 12px 8px;
  }
  .filter-pill {
    font-size: 11px;
    padding: 6px 11px;
  }
  .catalog-meta > .small {
    font-size: 10px;
  }
  .catalog-meta {
    gap: 8px;
    margin-top: 20px;
  }
  .catalog-note {
    font-size: 11px;
  }
  .getting-started {
    margin-top: 44px;
    padding-top: 30px;
  }
  .steps {
    flex-direction: column;
    gap: 18px;
  }
  .steps li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .steps p {
    margin-bottom: 0;
  }
  .docs-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .docs-steps section {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .docs-steps .step-number {
    margin-bottom: 8px;
  }
  .docs-steps p {
    margin-bottom: 0;
  }
  .api-address {
    padding: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .api-address code {
    font-size: 14px;
  }
  .docs-example .section-heading {
    flex-direction: column;
  }
  .docs-example select {
    width: 100%;
  }
  .auth-panel {
    padding: 30px 23px;
  }
  .auth-panel h1 {
    font-size: 25px;
  }
  footer {
    padding: 23px 18px;
    gap: 12px 18px;
  }
  footer span:first-child {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
@media (min-width: 761px) {
  .hero {
    padding: 12px 0 42px;
    gap: 54px;
  }
  .hero h1 {
    font-size: clamp(38px, 4vw, 52px);
    margin: 18px 0;
  }
  .hero .lead {
    margin-bottom: 22px;
  }
  .hero-console .code {
    padding: 18px 20px;
    font-size: 11px;
    line-height: 1.7;
  }
}

/* Model marketplace: shared domestic icon assets and the main site's catalog layout. */
:root {
  --bg: #fafbfe;
  --ink: #202331;
  --muted: #7b8190;
  --line: #e9eaf1;
  --accent: #6654d9;
  --tint: #f0edfc;
}
body[data-theme="technology"] {
  --bg: #0d1320;
  --surface: #151e30;
  --ink: #eef2ff;
  --muted: #97a5bc;
  --line: #28344a;
  --accent: #a8b5ff;
  --tint: #222d47;
}
body[data-theme="business"] {
  --bg: #f7f8fa;
  --surface: #fff;
  --ink: #202c40;
  --muted: #748095;
  --line: #e3e7ed;
  --accent: #375983;
  --tint: #eaf0f7;
}
.ui-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  vertical-align: middle;
}
body[data-page="pricing"] main {
  padding-top: 38px;
}
.market-heading {
  text-align: center;
  padding: 8px 16px 28px;
  position: relative;
}
.market-heading::before {
  content: "";
  position: absolute;
  inset: -70px -30px -100px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 0%,
    color-mix(in srgb, var(--accent) 9%, transparent),
    transparent 65%
  );
}
.market-heading .eyebrow {
  font-size: 10px;
  letter-spacing: 2.8px;
  color: var(--accent);
  margin: 0 0 12px;
}
.market-heading h1 {
  font-size: 42px;
  line-height: 1.25;
  letter-spacing: -1.5px;
  margin: 0 0 14px;
  font-weight: 750;
}
.market-heading > p:last-child {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.market-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 620px;
  height: 48px;
  margin: 0 auto 25px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 3px 12px #20233403;
  color: var(--muted);
}
.market-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--tint);
}
.market-search input {
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  padding: 0;
  background: transparent;
  height: 100%;
  width: 100%;
  min-width: 0;
  font-size: 13px;
}
.market-search input:focus {
  box-shadow: none;
  outline: none;
}
.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 0 0 32px;
}
.filter-pill {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 550;
}
.filter-pill .ui-icon {
  width: 16px;
  height: 16px;
}
.filter-pill[aria-pressed="true"] {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: var(--tint);
  box-shadow: none;
}
.filter-number {
  font-size: 11px;
  opacity: 0.7;
  padding-left: 7px;
  border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.market-layout {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.market-sidebar {
  position: sticky;
  top: 100px;
  min-width: 0;
}
.sidebar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px 15px;
}
.sidebar-heading h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
}
.sidebar-heading > span {
  color: var(--muted);
  font-size: 11px;
}
.provider-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.provider-button {
  display: flex;
  align-items: center;
  gap: 11px;
  background: transparent;
  color: var(--ink);
  border: 1px solid transparent;
  width: 100%;
  padding: 10px;
  min-height: 48px;
  text-align: left;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
}
.provider-button:hover {
  background: var(--surface);
  border-color: var(--line);
}
.provider-button[aria-pressed="true"] {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 2px 8px #17203404;
  color: var(--accent);
}
.provider-label {
  flex: 1;
  white-space: nowrap;
}
.provider-count {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.vendor-logo {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 7px;
  border: 1px solid #ededf3;
}
.vendor-logo img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
.vendor-logo.large {
  width: 43px;
  height: 43px;
  border-radius: 12px;
}
.vendor-logo.large img {
  width: 30px;
  height: 30px;
}
.all-logo {
  background: var(--tint);
  border-color: transparent;
  color: var(--accent);
}
.all-logo .ui-icon {
  width: 15px;
  height: 15px;
}
.sidebar-note {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding: 24px 10px;
  color: var(--muted);
}
.sidebar-note > .ui-icon {
  width: 23px;
  height: 23px;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.sidebar-note strong {
  display: block;
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
}
.sidebar-note p {
  font-size: 11px;
  line-height: 1.8;
  margin: 8px 0 13px;
}
.sidebar-note a {
  font-size: 11px;
}
.market-results {
  min-width: 0;
}
.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 17px;
  min-height: 47px;
  gap: 12px;
}
.results-title {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin: 0 0 4px;
}
.catalog-count {
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
  color: var(--muted);
}
.market-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}
.currency-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.4px;
}
.model-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.model-card {
  position: relative;
  overflow: hidden;
  padding: 20px 18px 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 2px 5px #16203402;
  background: var(--surface);
  min-height: 0;
}
.model-card:hover {
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
  box-shadow: 0 8px 22px #2525450a;
}
.model-card::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 110px;
  top: -70px;
  right: -30px;
  border-radius: 50%;
  background: var(--model-color, var(--accent));
  opacity: 0.1;
  filter: blur(20px);
  pointer-events: none;
}
.model-card[data-vendor="deepseek"] {
  --model-color: #4d6bfe;
}
.model-card[data-vendor="doubao"] {
  --model-color: #43a8ff;
}
.model-card[data-vendor="qwen"] {
  --model-color: #7453d5;
}
.model-card[data-vendor="hunyuan"] {
  --model-color: #1e8aff;
}
.model-card[data-vendor="zhipu"] {
  --model-color: #5065e8;
}
.model-card[data-vendor="moonshot"] {
  --model-color: #5e7091;
}
.model-card[data-vendor="minimax"] {
  --model-color: #e04f6b;
}
.model-card-top {
  gap: 10px;
  margin: 0 0 15px;
  min-height: 43px;
}
.model-provider {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.vendor-name {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.model-family {
  font-size: 10px;
  color: var(--muted);
}
.model-copy {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 30px;
  padding: 5px;
  flex: 0 0 auto;
  border: 0;
  color: var(--muted);
  background: transparent;
}
.model-copy .ui-icon {
  width: 14px;
  height: 14px;
}
.model-copy:hover {
  background: var(--tint);
  color: var(--accent);
}
.model-title {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: -0.45px;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  min-height: 44px;
}
.model-description {
  font-size: 11px;
  line-height: 1.8;
  min-height: 40px;
  margin: 0 0 14px;
  -webkit-line-clamp: 2;
}
.capability-tags {
  margin: 0 0 18px;
  gap: 5px;
}
.capability-tags > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: var(--accent);
  background: var(--tint);
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid transparent;
  line-height: 1.5;
}
.capability-tags .ui-icon {
  width: 11px;
  height: 11px;
}
.capability-tags span + span::before {
  content: none;
}
.capability-tags > span.protocol-tag {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}
.model-offers {
  margin-top: auto;
  padding: 9px 0;
}
.model-offer {
  font-size: 10px;
  gap: 4px 8px;
  padding: 4px 0;
}
.offer-group {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 9px;
}
.offer-price {
  font-size: 10px;
}
.model-card-footer {
  margin: 0 -18px;
  padding: 11px 18px;
  gap: 8px;
  background: color-mix(in srgb, var(--bg) 60%, var(--surface));
}
.availability {
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}
.availability-dot {
  width: 5px;
  height: 5px;
  background: var(--muted);
  border-radius: 50%;
  opacity: 0.6;
}
.is-ready .availability-dot {
  background: #22a677;
  opacity: 1;
}
.model-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.model-doc-link .ui-icon {
  width: 12px;
  height: 12px;
}
.catalog-note {
  font-size: 11px;
  line-height: 1.9;
  margin-top: 22px;
}
.home-catalog .market-search {
  max-width: none;
  margin: 0 0 18px;
}
.home-catalog .catalog-filters {
  justify-content: flex-start;
}
.hero-console {
  background: linear-gradient(140deg, var(--tint), var(--surface));
}
.hero-kicker {
  background: var(--tint);
}
body[data-theme="technology"] .model-card::before {
  opacity: 0.2;
}
@media (max-width: 1100px) {
  .market-layout {
    grid-template-columns: 174px minmax(0, 1fr);
    gap: 20px;
  }
  .market-results .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  body[data-page="pricing"] main {
    padding-top: 28px;
  }
  .market-heading {
    padding: 0 0 23px;
  }
  .market-heading h1 {
    font-size: 32px;
    margin-bottom: 11px;
  }
  .market-heading > p:last-child {
    font-size: 12px;
  }
  .market-heading .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
  }
  .market-search {
    height: 44px;
    margin-bottom: 18px;
  }
  .market-search input {
    font-size: 12px;
  }
  .catalog-filters {
    gap: 7px;
    margin-bottom: 24px;
  }
  .filter-pill {
    padding: 8px 10px;
    gap: 6px;
    font-size: 11px;
  }
  .filter-number {
    padding-left: 5px;
    font-size: 10px;
  }
  .filter-pill .ui-icon {
    width: 14px;
    height: 14px;
  }
  .market-layout {
    display: block;
  }
  .market-sidebar {
    position: static;
    margin-bottom: 23px;
  }
  .sidebar-heading {
    padding: 0 0 10px;
  }
  .sidebar-heading h2 {
    font-size: 12px;
  }
  .provider-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .provider-button {
    width: auto;
    min-height: 36px;
    padding: 6px 9px;
    font-size: 10px;
    gap: 6px;
    border: 1px solid var(--line);
    background: var(--surface);
  }
  .provider-button[aria-pressed="true"] {
    border-color: var(--accent);
    background: var(--tint);
  }
  .provider-button .vendor-logo {
    width: 20px;
    height: 20px;
    border-radius: 5px;
  }
  .provider-button .vendor-logo img {
    width: 16px;
    height: 16px;
  }
  .provider-count {
    font-size: 9px;
  }
  .sidebar-note {
    display: none;
  }
  .market-results .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .model-card {
    padding: 16px 14px 0;
  }
  .model-card-footer {
    margin: 0 -14px;
    padding: 10px 14px;
  }
  .model-title {
    font-size: 13px;
  }
  .catalog-meta {
    margin-bottom: 14px;
  }
}
@media (max-width: 480px) {
  .market-results .model-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .model-title {
    font-size: 15px;
    min-height: 0;
  }
  .model-description {
    min-height: 0;
    margin-bottom: 12px;
    font-size: 12px;
  }
  .model-card-top {
    margin-bottom: 13px;
  }
  .model-card {
    padding: 18px 18px 0;
  }
  .model-card-footer {
    margin: 0 -18px;
    padding: 11px 18px;
  }
  .capability-tags {
    margin-bottom: 14px;
  }
  .capability-tags > span {
    font-size: 10px;
  }
}
/* Keep descriptions and secondary text legible at ordinary desktop zoom. */
:root {
  --muted: #6d7382;
}
.model-description {
  font-size: 12px;
}
.model-title {
  font-size: 14px;
}
.provider-button {
  font-size: 12px;
}
@media (max-width: 480px) {
  .model-title {
    font-size: 15px;
  }
  .provider-button {
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  .market-heading::before {
    inset: -28px -12px -80px;
  }
}

.brand-logo-preview {
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
}
.seo-preview {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: var(--surface);
  overflow-wrap: anywhere;
}
.seo-preview strong {
  display: block;
  color: var(--accent);
  font-size: 18px;
  margin: 8px 0;
}
.seo-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  width: 100%;
  resize: vertical;
}
