
:root {
  --ink: #f3fafb;
  --muted: #91a8b2;
  --muted-2: #617d88;
  --night: #071a26;
  --night-2: #06141e;
  --panel: rgba(10, 34, 48, 0.8);
  --panel-solid: #0a2230;
  --line: rgba(96, 184, 196, 0.15);
  --line-strong: rgba(35, 199, 217, 0.3);
  --blue: #23c7d9;
  --blue-2: #19aebe;
  --cyan: #23c7d9;
  --violet: #66dce7;
  --green: #51d5a2;
  --danger: #ff7777;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% -10%, rgba(35, 199, 217, 0.12), transparent 34%),
    var(--night);
  color: var(--ink);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(35, 199, 217, 0.36);
  color: #fff;
}

.login-success-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 15, 23, .72);
  backdrop-filter: blur(12px);
}

.login-success-card {
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  padding: 25px 26px 30px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(35, 199, 217, .4);
  border-radius: 18px;
  background: linear-gradient(145deg, #0b3442, #061c28);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .52), 0 0 60px rgba(35, 199, 217, .08);
}

.login-success-check {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #031821;
  background: #23c7d9;
  box-shadow: 0 0 30px rgba(35, 199, 217, .35);
  font-size: 27px;
  font-weight: 800;
}

.login-success-card strong { display: block; color: #e9fdff; font-size: 22px; }
.login-success-card p { margin: 6px 0 0; color: #8fb4bc; font-size: 14px; }
.login-success-card i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #23c7d9; transform-origin: left; animation: mv-login-countdown 3s linear forwards; }
@keyframes mv-login-countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(7, 26, 38, 0.82);
  border-bottom: 1px solid rgba(86, 174, 187, 0.12);
  backdrop-filter: blur(20px);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.brand-wordmark {
  display: block;
  width: 218px;
  height: auto;
}

.footer-wordmark {
  width: 246px;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(123, 144, 255, 0.82);
  transform: rotate(45deg);
  border-radius: 7px;
  z-index: -1;
}

.brand-mark:has(img)::before,
.brand-mark:has(img)::after {
  display: none;
}

.brand-mark::after {
  inset: 0;
  border-color: rgba(84, 215, 255, 0.18);
}

.brand-mark i {
  inset: 8px;
  background: linear-gradient(135deg, rgba(113, 130, 255, 0.62), rgba(84, 215, 255, 0.14));
  border-color: transparent;
}

.brand-mark b {
  font-size: 9px;
  letter-spacing: 0;
  color: #fff;
}

.compact-mark {
  width: 43px;
  height: 43px;
}

.compact-mark b {
  font-size: 10px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 64px;
}

.desktop-nav a,
.login-link {
  position: relative;
  color: #a5adc0;
  font-size: 14px;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.login-link:hover {
  color: #fff;
}

.desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 15px rgba(35, 199, 217, 0.6);
}

.nav-status {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(96, 230, 170, 0.8);
  margin-right: 7px;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 25px;
}

.user-menu { position: relative; }
.user-menu summary { min-height: 38px; padding: 0 11px; display: flex; align-items: center; gap: 8px; color: #c4d8dc; font-size: 14px; list-style: none; cursor: pointer; border-radius: 8px; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary:hover, .user-menu[open] summary { color: #fff; background: rgba(35,199,217,.08); }
.user-menu summary span, .user-menu summary i { color: #58d8e5; font-style: normal; }
.user-menu > div { position: absolute; z-index: 40; top: calc(100% + 10px); right: 0; width: 150px; padding: 7px; border: 1px solid rgba(35,199,217,.28); border-radius: 11px; background: #051c27; box-shadow: 0 20px 55px rgba(0,0,0,.48); }
.user-menu > div a { min-height: 40px; padding: 9px 11px; display: flex; align-items: center; border-radius: 7px; color: #aac5ca; font-size: 13px; }
.user-menu > div a:hover { color: #e8fdff; background: rgba(35,199,217,.1); }
.mobile-user-menu { display: grid; gap: 4px; padding: 8px; border: 1px solid rgba(35,199,217,.2); border-radius: 9px; background: rgba(35,199,217,.045); }
.mobile-user-menu strong { padding: 6px 10px; color: #e3fbfd; font-size: 13px; }
.user-menu[hidden], .mobile-user-menu[hidden], [data-halo-user-link][hidden], [data-halo-guest-only][hidden] { display: none !important; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 15px;
  border: 1px solid rgba(35, 199, 217, 0.35);
  border-radius: 9px;
  background: rgba(35, 199, 217, 0.08);
  color: #dffbfe;
  font-size: 13px;
  transition: 180ms ease;
}

.nav-cta:hover {
  background: rgba(35, 199, 217, 0.16);
  border-color: rgba(35, 199, 217, 0.58);
}

.mobile-menu {
  display: none;
  margin-left: auto;
}

@media (min-width: 1081px) {
  .desktop-nav { gap: 20px; margin-left: 38px; }
  .nav-actions { gap: 16px; }
}

@media (max-width: 1080px) {
  .desktop-nav,
  .nav-actions { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { width: 38px; height: 38px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 9px; list-style: none; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 15px; height: 1px; background: #b8cbd0; }
  .mobile-menu > div { position: fixed; z-index: 30; left: 16px; right: 16px; top: 76px; max-height: calc(100vh - 94px); overflow-y: auto; padding: 14px; display: grid; gap: 5px; border: 1px solid rgba(35,199,217,.3); border-radius: 14px; background: rgba(3,20,29,.985); box-shadow: 0 26px 70px rgba(0,0,0,.55); }
  .mobile-menu > div a { min-height: 44px; padding: 11px 12px; display: flex; align-items: center; border-radius: 8px; color: #b5cbd0; font-size: 14px; }
  .mobile-menu > div a:hover { color: #e6fbfd; background: rgba(35,199,217,.09); }
  .mobile-menu .nav-cta { justify-content: center; color: #e9feff; }
}

.hero {
  position: relative;
  min-height: 750px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(83, 177, 190, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 177, 190, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 10%, transparent 88%);
  pointer-events: none;
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--night), transparent 22%, transparent 78%, var(--night));
}

.orb {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
}

.orb-one {
  background: var(--blue-2);
  top: -250px;
  left: 44%;
}

.orb-two {
  width: 330px;
  height: 330px;
  background: var(--cyan);
  right: -180px;
  top: 230px;
  opacity: 0.08;
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: 750px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 70px;
  padding-top: 62px;
  padding-bottom: 62px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #56d7e4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(96, 230, 170, 0.85);
}

.hero h1,
.models-hero h1 {
  margin: 24px 0 25px;
  max-width: 690px;
  font-size: clamp(50px, 5.5vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.065em;
  font-weight: 720;
}

.hero h1 span,
.models-hero h1 span {
  color: transparent;
  background: linear-gradient(105deg, #ffffff 0%, #b6f5f8 48%, #23c7d9 98%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 600px;
  color: #9aa3b9;
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: -0.015em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #38d4e3, #23c7d9);
  box-shadow: 0 14px 40px rgba(35, 199, 217, 0.2), inset 0 1px 0 rgba(255,255,255,0.3);
  color: #071a26;
}

.button-primary:hover {
  box-shadow: 0 18px 45px rgba(35, 199, 217, 0.34);
}

.button-secondary {
  background: rgba(8, 32, 45, 0.74);
  border-color: var(--line-strong);
  color: #cfd5e8;
}

.button-secondary:hover {
  background: rgba(13, 48, 63, 0.86);
  border-color: rgba(35, 199, 217, 0.48);
}

.hero-proof {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #717990;
  font-size: 11px;
}

.hero-proof span {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hero-proof b {
  color: #dbe0ee;
  font-size: 13px;
}

.hero-proof i {
  width: 1px;
  height: 13px;
  background: var(--line);
}

.vault-visual {
  position: relative;
  min-height: 555px;
  border: 1px solid rgba(123, 143, 255, 0.22);
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(25, 31, 54, 0.58), rgba(8, 11, 19, 0.88)),
    rgba(9, 12, 22, 0.8);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255,255,255,0.04);
}

.vault-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(124, 143, 199, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 143, 199, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
}

.vault-topline {
  position: relative;
  z-index: 2;
  height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: #68718b;
  font-size: 9px;
  letter-spacing: 0.17em;
}

.live-badge {
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(82, 217, 160, 0.18);
  border-radius: 6px;
  background: rgba(82, 217, 160, 0.05);
  color: #65dca8;
}

.live-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.vault-core {
  position: relative;
  z-index: 1;
  height: 355px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.vault-core::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 111, 255, 0.18), transparent 68%);
  filter: blur(2px);
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(112, 132, 222, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.orbit::before { left: 16%; top: 6%; }
.orbit::after { right: 4%; bottom: 28%; }
.orbit-one { width: 360px; height: 190px; }
.orbit-two { width: 280px; height: 280px; transform: translate(-50%, -50%) rotate(42deg); }

.vault-lock {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(120, 143, 255, 0.4);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(35, 45, 82, 0.92), rgba(11, 15, 28, 0.96));
  box-shadow: 0 0 60px rgba(83, 100, 238, 0.23), inset 0 1px 0 rgba(255,255,255,0.1);
  color: #8d99bd;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.vault-node {
  position: absolute;
  padding: 7px 10px;
  border: 1px solid rgba(125, 143, 197, 0.2);
  border-radius: 7px;
  background: rgba(11, 15, 26, 0.82);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  color: #929bb5;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.node-a { left: 11%; top: 24%; }
.node-b { right: 8%; top: 19%; }
.node-c { left: 14%; bottom: 20%; }
.node-d { right: 8%; bottom: 23%; }

.route-log {
  position: relative;
  z-index: 2;
  padding: 18px;
  display: grid;
  gap: 11px;
  background: rgba(6, 8, 14, 0.56);
}

.route-log div {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #707890;
  font-size: 9px;
}

.route-log b {
  color: #a7afc4;
  font-weight: 500;
}

.log-time { color: #4c5365; }
.route-log .accent-text { color: #8fa0ff; }
.route-log .success-text { color: #60dca6; }

.provider-strip {
  padding: 30px 0 35px;
  border-bottom: 1px solid var(--line);
  background: #080a12;
}

.provider-strip p {
  margin: 0 0 23px;
  color: #515a70;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.provider-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: center;
  gap: 20px;
}

.provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #7f8799;
  font-size: 12px;
  font-weight: 620;
  white-space: nowrap;
}

.provider span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  color: #c7ccda;
  font-size: 10px;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading h2,
.api-copy h2,
.trust-copy h2,
.final-cta h2,
.catalog-cta h2 {
  margin: 18px 0 0;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.13;
  letter-spacing: -0.052em;
  font-weight: 690;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 80px;
}

.split-heading p,
.api-copy > p,
.trust-copy > p {
  margin: 0 0 7px;
  color: #858da2;
  font-size: 15px;
  line-height: 1.8;
}

.capabilities {
  background:
    radial-gradient(circle at 85% 20%, rgba(68, 80, 179, 0.08), transparent 28%),
    var(--night);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-card {
  position: relative;
  min-height: 380px;
  padding: 34px 34px 28px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 20, 33, 0.35), rgba(7,9,16,0));
  transition: background 200ms ease;
}

.capability-card:last-child { border-right: 0; }
.capability-card:hover { background: linear-gradient(180deg, rgba(25, 31, 55, 0.52), rgba(8,10,18,0.2)); }

.capability-index {
  color: #495167;
  font-family: ui-monospace, monospace;
  font-size: 10px;
}

.capability-icon {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 42px 0 46px;
  display: grid;
  place-items: center;
}

.capability-icon::before,
.capability-icon::after,
.capability-icon span {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(111, 132, 255, 0.45);
  border-radius: 13px;
  transform: rotate(45deg);
}

.capability-icon::after { inset: 19px; border-color: rgba(84, 215, 255, 0.52); }
.capability-icon span { inset: 28px; background: var(--blue); border: 0; box-shadow: 0 0 28px rgba(113,130,255,0.5); }

.capability-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.capability-card > p {
  margin: 0;
  min-height: 74px;
  color: #7e879d;
  font-size: 13px;
  line-height: 1.85;
}

.capability-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #5f6982;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.api-section {
  overflow: hidden;
  border-top: 1px solid rgba(128, 145, 193, 0.08);
  border-bottom: 1px solid rgba(128, 145, 193, 0.08);
  background:
    radial-gradient(circle at 74% 50%, rgba(87, 103, 220, 0.12), transparent 36%),
    #090b14;
}

.api-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 90px;
}

.api-copy > p {
  margin: 24px 0;
  max-width: 430px;
}

.check-list {
  margin: 28px 0 30px;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
  color: #a6aec1;
  font-size: 13px;
}

.check-list span {
  width: 19px;
  height: 19px;
  margin-right: 10px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(96, 230, 170, 0.25);
  border-radius: 50%;
  background: rgba(96, 230, 170, 0.06);
  color: var(--green);
  font-size: 10px;
}

.text-link {
  display: inline-flex;
  gap: 13px;
  color: #8798ff;
  font-size: 13px;
  font-weight: 650;
}

.code-window {
  overflow: hidden;
  border: 1px solid rgba(118, 138, 216, 0.24);
  border-radius: 17px;
  background: #090c15;
  box-shadow: 0 28px 80px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.035);
}

.code-titlebar {
  height: 52px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #727b91;
  font-size: 10px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #303849;
}

.code-titlebar b {
  justify-self: end;
  color: #566177;
  font-weight: 500;
}

.code-window pre {
  margin: 0;
  padding: 32px 34px 36px;
  overflow-x: auto;
  color: #c7cee0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 2;
}

.code-purple { color: #a793ff; }
.code-green { color: #79dcb3; }

.code-response {
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: rgba(14, 18, 30, 0.7);
  color: #64d6a4;
  font-family: ui-monospace, monospace;
  font-size: 9px;
}

.code-response b {
  margin-left: auto;
  color: #626c83;
  font-weight: 500;
}

.code-response b + b { margin-left: 8px; }

.model-preview {
  background: var(--night);
}

.model-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.compact-button {
  min-width: 160px;
}

.home-model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.home-model-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(18, 22, 37, 0.76), rgba(10, 12, 21, 0.82));
  transition: transform 180ms ease, border-color 180ms ease;
}

.home-model-card:hover {
  transform: translateY(-3px);
  border-color: rgba(112, 133, 226, 0.3);
}

.model-card-head {
  display: flex;
  align-items: center;
}

.model-logo {
  width: 42px;
  height: 42px;
  margin-right: 13px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
  color: white;
  font-size: 13px;
  font-weight: 750;
}

.model-logo.large {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 15px;
}

.blue { background: linear-gradient(135deg, #394bff, #7185ff); }
.sand { background: linear-gradient(135deg, #665847, #c3a77a); }
.cyan { background: linear-gradient(135deg, #0e7a9a, #4cd1e4); }
.violet { background: linear-gradient(135deg, #5844a3, #967cff); }
.moon { background: linear-gradient(135deg, #1c2335, #56617d); }
.mint { background: linear-gradient(135deg, #0b7b67, #59d7af); }
.purple { background: linear-gradient(135deg, #5a26a3, #ad6cf1); }
.pink { background: linear-gradient(135deg, #a63f78, #ef83b6); }
.red { background: linear-gradient(135deg, #c44354, #ff7d6f); }

.model-card-head h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.model-card-head p {
  margin: 0;
  color: #697187;
  font-size: 10px;
}

.availability {
  margin-left: auto;
  color: #66dba9;
  font-size: 9px;
}

.availability i {
  width: 5px;
  height: 5px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

.tag-row > span {
  padding: 5px 8px;
  border: 1px solid rgba(126, 141, 185, 0.14);
  border-radius: 6px;
  background: rgba(125, 140, 184, 0.06);
  color: #7e879c;
  font-size: 9px;
}

.model-card-foot {
  margin-top: 22px;
  padding-top: 16px;
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: #596277;
  font-size: 9px;
}

.model-card-foot b {
  margin-left: 5px;
  color: #aeb6c8;
  font-weight: 550;
}

.trust-section {
  padding-top: 30px;
}

.trust-panel {
  position: relative;
  padding: 65px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 75px;
  overflow: hidden;
  border: 1px solid rgba(118, 138, 216, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(94, 111, 255, 0.13), transparent 40%),
    linear-gradient(135deg, rgba(18, 23, 40, 0.9), rgba(9, 12, 21, 0.9));
}

.trust-copy h2 {
  font-size: 38px;
}

.trust-copy > p {
  margin-top: 22px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.metrics-grid div {
  min-height: 118px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(10, 13, 23, 0.82);
}

.metrics-grid strong {
  color: #dce2ff;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.metrics-grid span {
  margin-top: 7px;
  color: #656e84;
  font-size: 10px;
}

.final-cta {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  text-align: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 240px;
  left: 50%;
  bottom: -150px;
  transform: translateX(-50%);
  border: 1px solid rgba(105, 126, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(84, 103, 243, 0.11);
}

.orb-three {
  width: 500px;
  height: 280px;
  left: 50%;
  bottom: -140px;
  transform: translateX(-50%);
  background: var(--blue);
  opacity: 0.16;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
}

.final-cta .eyebrow {
  justify-content: center;
}

.final-cta p {
  color: #788197;
  font-size: 14px;
}

.centered {
  justify-content: center;
}

.site-footer {
  padding: 65px 0 24px;
  border-top: 1px solid var(--line);
  background: #06080d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 55px;
}

.footer-brand p {
  margin: 18px 0;
  color: #60697e;
  font-size: 12px;
}

.footer-status {
  color: #5f6b7d;
  font-size: 9px;
}

.footer-status i {
  width: 5px;
  height: 5px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(96,230,170,0.5);
}

.footer-grid h3 {
  margin: 0 0 18px;
  color: #9da5b7;
  font-size: 11px;
}

.footer-grid > div:not(.footer-brand) a {
  margin: 11px 0;
  display: block;
  color: #5d6679;
  font-size: 11px;
  transition: color 150ms ease;
}

.footer-grid > div:not(.footer-brand) a:hover { color: #c5ccdb; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(130, 145, 190, 0.08);
  color: #424959;
  font-size: 9px;
}

/* Models page */
.models-page {
  min-height: 100vh;
  background: #070910;
}

.models-hero {
  position: relative;
  padding: 105px 0 78px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #080a12;
}

.models-hero .hero-grid {
  mask-image: linear-gradient(to bottom, black, transparent 100%);
}

.model-orb {
  width: 560px;
  height: 320px;
  left: 30%;
  top: -100px;
  background: var(--blue);
  opacity: 0.12;
}

.models-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.models-hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(48px, 5.1vw, 68px);
}

.models-hero p {
  max-width: 580px;
  margin: 0;
  color: #8d96ab;
  font-size: 15px;
  line-height: 1.8;
}

.models-hero-actions {
  display: flex;
  gap: 10px;
  padding-bottom: 8px;
}

.catalog-section {
  padding: 44px 0 110px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 36px;
}

.catalog-filters {
  position: sticky;
  top: 102px;
  height: max-content;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 15, 25, 0.82);
}

.filter-kicker {
  margin-bottom: 22px;
  color: #4f5870;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.filter-group {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.filter-group h3 {
  margin: 0 0 13px;
  color: #aab1c3;
  font-size: 11px;
}

.filter-group button {
  width: 100%;
  margin: 2px 0;
  padding: 8px 9px;
  display: flex;
  justify-content: space-between;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #687186;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}

.filter-group button:hover,
.filter-group button.selected {
  background: rgba(105, 124, 244, 0.1);
  color: #c9d0f7;
}

.filter-group button b {
  color: #454e62;
  font-weight: 500;
}

.feature-group {
  display: grid;
  gap: 10px;
}

.feature-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #687186;
  font-size: 10px;
  cursor: pointer;
}

.feature-group input {
  appearance: none;
  width: 13px;
  height: 13px;
  margin: 0;
  border: 1px solid #394156;
  border-radius: 4px;
  background: transparent;
}

.feature-group input:checked {
  background: var(--blue);
  box-shadow: inset 0 0 0 3px #111523;
}

.filter-note {
  margin-top: 14px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #4e576a;
  font-size: 8px;
  line-height: 1.6;
}

.filter-note .status-dot {
  width: 5px;
  height: 5px;
  margin-right: 5px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 12px;
}

.search-box,
.sort-box {
  height: 52px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(12, 15, 25, 0.8);
}

.search-box > span {
  margin-right: 11px;
  color: #67718b;
  font-size: 21px;
  transform: rotate(-14deg);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #dfe4f2;
  font-size: 12px;
}

.search-box input::placeholder { color: #4e5668; }

.search-box kbd {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #50596e;
  font-family: inherit;
  font-size: 8px;
}

.sort-box {
  gap: 10px;
}

.sort-box > span {
  color: #4f586c;
  font-size: 9px;
}

.sort-box select {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #9aa3b8;
  font-size: 10px;
}

.mobile-category-row {
  display: none;
}

.catalog-result-head {
  padding: 24px 4px 14px;
  display: flex;
  justify-content: space-between;
  color: #565f74;
  font-size: 9px;
}

.catalog-result-head b { color: #8fa0ff; }

.catalog-list {
  display: grid;
  gap: 10px;
}

.catalog-card {
  position: relative;
  min-height: 148px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 100px 220px 34px;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 50%, rgba(91, 107, 211, 0.055), transparent 34%),
    linear-gradient(135deg, rgba(14, 18, 30, 0.92), rgba(9, 12, 20, 0.92));
  transition: border-color 180ms ease, transform 180ms ease;
}

.catalog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(113, 133, 224, 0.3);
}

.catalog-model-main {
  min-width: 0;
  display: flex;
  align-items: flex-start;
}

.catalog-model-copy {
  min-width: 0;
}

.catalog-name-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.catalog-name-row h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.new-badge {
  padding: 3px 6px;
  border: 1px solid rgba(91, 226, 168, 0.2);
  border-radius: 5px;
  background: rgba(91, 226, 168, 0.06);
  color: #5dd7a3;
  font-size: 7px;
}

.catalog-model-copy > p {
  margin: 6px 0 0;
  color: #5c6579;
  font-size: 9px;
}

.catalog-model-copy > p i {
  width: 2px;
  height: 2px;
  margin: 0 6px;
  display: inline-block;
  border-radius: 50%;
  background: #465065;
  vertical-align: middle;
}

.catalog-model-copy .tag-row {
  margin-top: 13px;
}

.catalog-context {
  padding-left: 21px;
  border-left: 1px solid var(--line);
}

.catalog-context span,
.catalog-price span {
  display: block;
  color: #515a6e;
  font-size: 8px;
}

.catalog-context strong {
  margin-top: 8px;
  display: block;
  color: #b6bfd2;
  font-size: 15px;
  font-weight: 600;
}

.catalog-price {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.catalog-price strong {
  margin-top: 7px;
  display: block;
  color: #8fa1ff;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 550;
}

.catalog-price small {
  grid-column: 1 / -1;
  margin-top: -5px;
  color: #3f4758;
  font-size: 7px;
}

.details-toggle {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(117, 135, 200, 0.04);
  color: #647089;
  cursor: pointer;
}

.details-toggle:hover {
  border-color: rgba(113, 133, 224, 0.34);
  color: #a9b6ff;
}

.empty-state {
  padding: 80px 20px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  text-align: center;
}

.empty-state > span { color: #64718c; font-size: 32px; }
.empty-state h2 { margin: 15px 0 8px; font-size: 18px; }
.empty-state p { margin: 0; color: #646d80; font-size: 11px; }

.catalog-cta {
  padding: 70px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 50%, rgba(96, 113, 239, 0.12), transparent 35%),
    #090b14;
}

.catalog-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.catalog-cta h2 {
  font-size: 34px;
}

@media (max-width: 980px) {
  .desktop-nav {
    gap: 22px;
    margin-left: 34px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 105px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .vault-visual {
    width: min(100%, 650px);
    margin: 35px auto 55px;
  }

  .provider-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .split-heading,
  .api-layout,
  .trust-panel {
    grid-template-columns: 1fr;
  }

  .api-layout {
    gap: 55px;
  }

  .trust-panel {
    gap: 45px;
  }

  .models-hero-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-layout {
    grid-template-columns: 175px 1fr;
    gap: 20px;
  }

  .catalog-card {
    grid-template-columns: 1fr 75px 155px 30px;
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .site-header {
    height: 64px;
  }

  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
  }

  .mobile-menu summary {
    width: 36px;
    height: 36px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    list-style: none;
    cursor: pointer;
  }

  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 14px; height: 1px; background: #aab2c5; }

  .mobile-menu > div {
    position: absolute;
    width: 200px;
    right: 0;
    top: 46px;
    padding: 12px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(11, 14, 24, 0.98);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  }

  .mobile-menu > div a {
    padding: 10px;
    border-radius: 7px;
    color: #aeb6c8;
    font-size: 12px;
  }

  .mobile-menu .nav-cta {
    justify-content: center;
    color: #fff;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
    padding: 90px 0 70px;
  }

  .hero h1,
  .models-hero h1 {
    font-size: 48px;
    letter-spacing: -0.055em;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-proof {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .vault-visual {
    min-height: 490px;
    margin-bottom: 0;
  }

  .vault-core {
    height: 300px;
  }

  .route-log div {
    grid-template-columns: 55px 1fr;
  }

  .route-log b {
    display: none;
  }

  .provider-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .provider {
    justify-content: flex-start;
  }

  .section {
    padding: 88px 0;
  }

  .split-heading {
    gap: 24px;
  }

  .section-heading h2,
  .api-copy h2,
  .final-cta h2 {
    font-size: 39px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-card:last-child { border-bottom: 0; }

  .code-window pre {
    padding: 24px 20px;
    font-size: 10px;
  }

  .model-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-model-grid {
    grid-template-columns: 1fr;
  }

  .trust-panel {
    padding: 35px 25px;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metrics-grid div {
    padding: 18px;
  }

  .metrics-grid strong { font-size: 22px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .models-hero {
    padding: 85px 0 65px;
  }

  .models-hero-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .models-hero-actions .button {
    flex: 1;
  }

  .catalog-layout {
    display: block;
  }

  .catalog-filters {
    display: none;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .sort-box {
    display: none;
  }

  .mobile-category-row {
    margin: 13px 0 0;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mobile-category-row button {
    padding: 8px 12px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(13, 16, 27, 0.8);
    color: #687186;
    font-size: 9px;
  }

  .mobile-category-row button.selected {
    border-color: rgba(113, 133, 224, 0.4);
    background: rgba(89, 108, 229, 0.13);
    color: #c3cbf3;
  }

  .catalog-card {
    padding: 19px;
    grid-template-columns: 1fr 30px;
  }

  .catalog-model-main {
    grid-column: 1 / 2;
  }

  .catalog-context {
    padding: 15px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .catalog-price {
    padding-top: 15px;
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .details-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .catalog-context {
    display: none;
  }

  .catalog-result-head span:last-child {
    display: none;
  }

  .catalog-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-cta h2 {
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .hero h1,
  .models-hero h1 {
    font-size: 42px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .provider-row {
    gap: 18px 10px;
  }

  .provider {
    font-size: 10px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 35px 20px;
  }

  .catalog-model-main {
    align-items: flex-start;
  }

  .model-logo.large {
    width: 44px;
    height: 44px;
  }

  .catalog-name-row h2 {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .vault-lock {
    animation: breathe 4s ease-in-out infinite;
  }

  .orbit-one {
    animation: orbitDrift 16s linear infinite;
  }

  .orbit-two {
    animation: orbitDriftTwo 22s linear infinite reverse;
  }

  @keyframes breathe {
    50% { box-shadow: 0 0 76px rgba(83, 100, 238, 0.32), inset 0 1px 0 rgba(255,255,255,0.12); }
  }

  @keyframes orbitDrift {
    to { transform: translate(-50%, -50%) rotate(348deg); }
  }

  @keyframes orbitDriftTwo {
    to { transform: translate(-50%, -50%) rotate(402deg); }
  }
}

/* Brand gateway */
.brand-gateway {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(35, 199, 217, .12), transparent 28%),
    radial-gradient(circle at 12% 78%, rgba(35, 199, 217, .05), transparent 24%),
    #04131d;
}

.deep-space-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.gateway-grid {
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(rgba(59, 156, 169, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 156, 169, .045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 70%);
}

.gateway-topline,
.gateway-bottomline {
  position: absolute;
  z-index: 2;
  left: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #56727c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: .18em;
}

.gateway-topline { top: 30px; }
.gateway-bottomline { bottom: 30px; justify-content: center; gap: 52px; }
.gateway-topline i { width: 5px; height: 5px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.gateway-content {
  position: relative;
  z-index: 3;
  width: min(760px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gateway-mark { width: 74px; height: 74px; margin-bottom: 30px; filter: drop-shadow(0 0 34px rgba(35,199,217,.2)); }
.gateway-wordmark { width: min(590px, 90vw); height: auto; }
.gateway-content h1 { margin: 32px 0 12px; color: #d9eef1; font-size: clamp(21px, 2.4vw, 34px); font-weight: 460; letter-spacing: .08em; }
.gateway-content > p { margin: 0; color: #4f737d; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .28em; }
.gateway-enter { min-width: 190px; height: 52px; margin-top: 52px; padding: 0 15px 0 24px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(35,199,217,.35); border-radius: 11px; background: rgba(35,199,217,.07); color: #dffbfe; font-size: 13px; transition: .2s ease; }
.gateway-enter i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--cyan); color: #071a26; font-style: normal; }
.gateway-enter:hover { transform: translateY(-3px); border-color: rgba(35,199,217,.68); box-shadow: 0 18px 55px rgba(35,199,217,.12); }

.gateway-orbit { position: absolute; width: 460px; height: 230px; border: 1px solid rgba(35,199,217,.08); border-radius: 50%; transform: rotate(-18deg); }
.gateway-orbit-one { left: -190px; top: 10%; }
.gateway-orbit-two { right: -170px; bottom: 8%; transform: rotate(20deg); }

/* Deep-space product home */
.space-hero {
  position: relative;
  min-height: 830px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 68% 48%, rgba(35,199,217,.13), transparent 24%),
    linear-gradient(180deg, #04131d, #071a26);
}

.space-hero .deep-space-canvas { opacity: .9; }
.space-hero-glow { position: absolute; width: 500px; height: 500px; left: 50%; top: 50%; border: 1px solid rgba(35,199,217,.08); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 140px rgba(35,199,217,.05); }
.space-hero-inner { position: relative; z-index: 3; min-height: 830px; padding-top: 150px; padding-bottom: 150px; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 80px; }
.space-hero-copy h1 { margin: 25px 0 24px; font-size: clamp(52px, 5.6vw, 78px); line-height: 1.05; letter-spacing: -.065em; }
.space-hero-copy h1 span { color: transparent; background: linear-gradient(105deg,#fff 0%,#b6f5f8 48%,#23c7d9 98%); background-clip: text; -webkit-background-clip: text; }
.space-hero-copy > p { max-width: 620px; color: #91a8b2; font-size: 16px; line-height: 1.85; }

.space-router { position: relative; height: 470px; }
.space-router-ring { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(35,199,217,.2); border-radius: 50%; transform: translate(-50%,-50%) rotate(-12deg); }
.ring-a { width: 420px; height: 225px; }
.ring-b { width: 300px; height: 350px; transform: translate(-50%,-50%) rotate(38deg); }
.router-provider { position: absolute; z-index: 2; padding: 8px 11px; border: 1px solid rgba(35,199,217,.22); border-radius: 7px; background: rgba(5,24,35,.78); color: #91a8b2; font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .08em; box-shadow: 0 12px 30px rgba(0,0,0,.24); }
.rp-a { left: 4%; top: 28%; }.rp-b { right: 2%; top: 22%; }.rp-c { left: 8%; bottom: 25%; }.rp-d { right: 0; bottom: 29%; }
.router-center { position: absolute; z-index: 4; left: 50%; top: 50%; width: 132px; height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; transform: translate(-50%,-50%); border: 1px solid rgba(35,199,217,.5); border-radius: 30px; background: linear-gradient(145deg,rgba(12,64,78,.96),rgba(5,24,35,.98)); color: #8fcbd2; font-size: 8px; letter-spacing: .14em; box-shadow: 0 0 78px rgba(35,199,217,.24), inset 0 1px 0 rgba(255,255,255,.1); }

.space-top-marquee,.space-bottom-marquee { position: absolute; z-index: 4; left: 0; right: 0; overflow: hidden; border-color: rgba(35,199,217,.11); background: rgba(4,19,29,.54); backdrop-filter: blur(8px); }
.space-top-marquee { top: 0; border-bottom: 1px solid rgba(35,199,217,.11); }
.space-bottom-marquee { bottom: 0; border-top: 1px solid rgba(35,199,217,.11); }
.logo-marquee { width: 100%; overflow: hidden; }
.logo-marquee::before,.logo-marquee::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: 120px; pointer-events: none; }
.logo-marquee::before { left: 0; background: linear-gradient(90deg,#04131d,transparent); }.logo-marquee::after { right: 0; background: linear-gradient(-90deg,#04131d,transparent); }
.logo-marquee-track { width: max-content; height: 66px; display: flex; align-items: center; animation: logoFlow 34s linear infinite; }
.logo-marquee.reverse .logo-marquee-track { animation-direction: reverse; animation-duration: 40s; }
.logo-marquee-item { min-width: 176px; display: flex; align-items: center; justify-content: center; gap: 11px; color: #7e9aa4; font-size: 12px; }
.logo-marquee-item span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(35,199,217,.22); border-radius: 8px; background: rgba(35,199,217,.06); color: #dffbfe; font-size: 10px; }
.logo-marquee-item b { font-weight: 620; }
@keyframes logoFlow { to { transform: translateX(-50%); } }

.home-stat-band { border-bottom: 1px solid var(--line); background: #061721; }
.home-stat-band .container { display: grid; grid-template-columns: repeat(4,1fr); }
.home-stat-band .container > div { padding: 31px 26px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.home-stat-band .container > div:first-child { border-left: 1px solid var(--line); }
.home-stat-band strong { color: #dffbfe; font-size: 22px; letter-spacing: -.03em; }.home-stat-band span { margin-top: 6px; color: #607c86; font-size: 9px; }
.content-route-grid { display: grid; gap: 9px; }
.content-route-grid a { min-height: 68px; padding: 0 20px; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; border: 1px solid var(--line); background: rgba(5,24,35,.46); color: #d5edf0; transition: .18s ease; }
.content-route-grid a:hover { border-color: rgba(35,199,217,.42); transform: translateX(4px); }.content-route-grid span { color: #4d7882; font-family: ui-monospace,monospace; font-size: 9px; }.content-route-grid b { font-size: 13px; }.content-route-grid i { color: var(--cyan); font-style: normal; }

/* Pricing */
.content-page { min-height: 100vh; background: var(--night); }
.content-hero { position: relative; padding: 115px 0 92px; overflow: hidden; border-bottom: 1px solid var(--line); background: #061721; }
.content-hero .container { position: relative; z-index: 2; }.content-hero h1,.docs-hero h1 { margin: 22px 0 20px; font-size: clamp(48px,5.2vw,70px); line-height: 1.06; letter-spacing: -.06em; }.content-hero h1 span,.docs-hero h1 span { color: transparent; background: linear-gradient(105deg,#fff,#23c7d9); background-clip: text; -webkit-background-clip: text; }.content-hero p { max-width: 650px; color: #8ba2ac; font-size: 15px; line-height: 1.8; }
.pricing-section { padding: 48px 0 110px; }
.pricing-console { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #061721; }
.pricing-controls { padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); }.pricing-controls .search-box { max-width: 560px; }.pricing-count { color: #607c86; font-size: 10px; }
.price-provider-tabs { padding: 13px 16px; display: flex; gap: 7px; overflow-x: auto; border-bottom: 1px solid var(--line); }.price-provider-tabs button { padding: 8px 12px; flex: 0 0 auto; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #6d8791; font-size: 10px; cursor: pointer; }.price-provider-tabs button:hover,.price-provider-tabs button.selected { border-color: rgba(35,199,217,.3); background: rgba(35,199,217,.08); color: #dffbfe; }
.price-table-wrap { overflow-x: auto; }.price-table { width: 100%; border-collapse: collapse; min-width: 780px; }.price-table th { padding: 17px 20px; color: #4e707a; font-size: 9px; font-weight: 650; letter-spacing: .1em; text-align: left; }.price-table td { padding: 18px 20px; border-top: 1px solid var(--line); color: #7f99a3; font-size: 11px; }.price-table td:first-child { display: flex; align-items: center; gap: 12px; color: #d4ebee; }.price-table td:first-child span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(35,199,217,.22); border-radius: 8px; color: var(--cyan); }.price-table td:first-child b { font-weight: 580; }.price-table td:nth-child(3) { color: #5dd7e3; font-family: ui-monospace,monospace; font-size: 12px; }

/* Documentation */
.docs-page { min-height: 100vh; background: var(--night); }
.docs-hero { padding: 110px 0 84px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 76% 20%,rgba(35,199,217,.12),transparent 28%),#061721; }.docs-hero > .container { display: flex; align-items: end; justify-content: space-between; gap: 60px; }.docs-hero p { max-width: 650px; color: #8ba2ac; font-size: 15px; line-height: 1.8; }
.docs-shell { padding-top: 58px; padding-bottom: 120px; display: grid; grid-template-columns: 210px minmax(0,780px); gap: 70px; align-items: start; }
.docs-sidebar { position: sticky; top: 104px; display: grid; }.docs-sidebar > span { margin-bottom: 14px; color: #496c76; font-size: 9px; font-weight: 700; letter-spacing: .16em; }.docs-sidebar a { padding: 10px 12px; border-left: 1px solid var(--line); color: #6b8790; font-size: 11px; }.docs-sidebar a:hover { border-left-color: var(--cyan); background: linear-gradient(90deg,rgba(35,199,217,.08),transparent); color: #dffbfe; }
.docs-article section { padding: 0 0 76px; scroll-margin-top: 100px; }.docs-article section + section { padding-top: 70px; border-top: 1px solid var(--line); }.doc-kicker { color: #4e7d87; font-family: ui-monospace,monospace; font-size: 9px; letter-spacing: .15em; }.docs-article h2 { margin: 16px 0 20px; font-size: 36px; letter-spacing: -.04em; }.docs-article p { color: #8ba1aa; font-size: 14px; line-height: 1.9; }.docs-article pre { margin: 28px 0 0; padding: 28px; overflow-x: auto; border: 1px solid rgba(35,199,217,.18); border-radius: 14px; background: #04131d; color: #cce7ea; font-family: ui-monospace,monospace; font-size: 12px; line-height: 1.9; }.docs-article pre span { color: #62dbe6; }
.doc-feature-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.doc-feature-grid div { padding: 20px; display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(7,30,42,.52); }.doc-feature-grid b { font-size: 12px; }.doc-feature-grid span { margin-top: 9px; color: #637e88; font-size: 10px; line-height: 1.6; }
.doc-callout { margin-top: 25px; padding: 18px; display: flex; justify-content: space-between; gap: 20px; border: 1px solid rgba(35,199,217,.2); border-radius: 11px; background: rgba(35,199,217,.06); }.doc-callout b { font-size: 11px; }.doc-callout code { color: #62dbe6; font-size: 11px; }
.docs-link-list { padding: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; list-style: none; }.docs-link-list li,.doc-chip-cloud span { padding: 13px 15px; border: 1px solid var(--line); background: rgba(7,30,42,.45); color: #8ca4ad; font-size: 10px; }.docs-link-list li::before { content: "↗"; margin-right: 10px; color: var(--cyan); }.doc-chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }.doc-next { margin-top: 34px; padding: 24px; display: grid; gap: 9px; border: 1px solid rgba(35,199,217,.22); border-radius: 13px; background: linear-gradient(135deg,rgba(35,199,217,.08),transparent); }.doc-next span { color: #4e7d87; font-size: 9px; }.doc-next b { font-size: 14px; }.doc-next a { color: var(--cyan); font-size: 11px; }

@media (max-width: 980px) {
  .space-hero-inner { grid-template-columns: 1fr; padding-top: 190px; }
  .space-router { width: min(100%,600px); margin: 0 auto; }
  .home-stat-band .container { grid-template-columns: repeat(2,1fr); }
  .docs-shell { grid-template-columns: 170px minmax(0,1fr); gap: 35px; }
}

@media (max-width: 760px) {
  .gateway-topline { left: 18px; right: 18px; }.gateway-topline span:first-child { display: none; }.gateway-bottomline { left: 15px; right: 15px; gap: 18px; font-size: 7px; }.gateway-mark { width: 60px; height: 60px; }.gateway-content h1 { font-size: 20px; letter-spacing: .03em; }.gateway-content > p { letter-spacing: .18em; }
  .space-hero { min-height: auto; }.space-hero-inner { min-height: auto; padding: 165px 0 150px; }.space-hero-copy h1 { font-size: 48px; }.space-router { height: 390px; }.ring-a { width: 330px; height: 180px; }.ring-b { width: 230px; height: 285px; }.logo-marquee-item { min-width: 148px; }.logo-marquee-track { height: 58px; }
  .home-stat-band .container > div { padding: 24px 16px; }.content-route-grid { margin-top: 10px; }
  .docs-hero > .container { align-items: flex-start; flex-direction: column; }.docs-shell { display: block; }.docs-sidebar { position: relative; top: 0; margin-bottom: 50px; grid-template-columns: repeat(2,1fr); }.docs-sidebar > span { grid-column: 1/-1; }.docs-sidebar a { border-left: 0; border-bottom: 1px solid var(--line); }.doc-feature-grid,.docs-link-list { grid-template-columns: 1fr; }
  .pricing-controls { grid-template-columns: 1fr; }.pricing-count { display: none; }
}

@media (max-width: 420px) {
  .space-hero-copy h1,.content-hero h1,.docs-hero h1 { font-size: 42px; }.space-router { transform: scale(.86); margin-left: -7%; width: 114%; }.home-stat-band .container { grid-template-columns: 1fr 1fr; }
}

/* 云核坊 modelvaults brand system */
.vault-visual {
  border-color: rgba(35, 199, 217, 0.24);
  background:
    linear-gradient(180deg, rgba(12, 48, 63, 0.62), rgba(4, 19, 29, 0.92)),
    #071a26;
}

.vault-visual::before {
  background:
    linear-gradient(rgba(60, 177, 190, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 177, 190, 0.045) 1px, transparent 1px);
  background-size: 30px 30px;
}

.vault-core::before {
  background: radial-gradient(circle, rgba(35, 199, 217, 0.22), transparent 68%);
}

.orbit {
  border-color: rgba(35, 199, 217, 0.2);
}

.vault-lock {
  border-color: rgba(35, 199, 217, 0.48);
  background: linear-gradient(145deg, rgba(12, 64, 78, 0.94), rgba(5, 24, 35, 0.98));
  box-shadow: 0 0 62px rgba(35, 199, 217, 0.22), inset 0 1px 0 rgba(255,255,255,0.1);
  color: #8fcbd2;
}

.vault-node {
  border-color: rgba(73, 181, 194, 0.22);
  background: rgba(7, 27, 39, 0.88);
  color: #91a8b2;
}

.route-log { background: rgba(3, 16, 24, 0.62); }
.route-log .accent-text,
.text-link,
.catalog-result-head b,
.catalog-price strong { color: #44d1df; }

.provider-strip,
.models-hero,
.catalog-cta { background-color: #061721; }

.capabilities {
  background:
    radial-gradient(circle at 85% 20%, rgba(35, 199, 217, 0.09), transparent 28%),
    var(--night);
}

.capability-card {
  background: linear-gradient(180deg, rgba(11, 46, 61, 0.36), rgba(7, 26, 38, 0));
}

.capability-card:hover {
  background: linear-gradient(180deg, rgba(15, 59, 73, 0.54), rgba(7, 26, 38, 0.22));
}

.capability-icon::before { border-color: rgba(35, 199, 217, 0.48); }
.capability-icon::after { border-color: rgba(105, 224, 233, 0.5); }
.capability-icon span { box-shadow: 0 0 28px rgba(35, 199, 217, 0.5); }

.api-section {
  background:
    radial-gradient(circle at 74% 50%, rgba(35, 199, 217, 0.13), transparent 36%),
    #061721;
}

.code-window {
  border-color: rgba(35, 199, 217, 0.2);
  background: #06131d;
}

.code-purple { color: #62dbe6; }

.home-model-card {
  background: linear-gradient(135deg, rgba(11, 43, 57, 0.78), rgba(5, 22, 32, 0.88));
}

.home-model-card:hover,
.catalog-card:hover { border-color: rgba(35, 199, 217, 0.38); }

.trust-panel {
  border-color: rgba(35, 199, 217, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(35, 199, 217, 0.14), transparent 40%),
    linear-gradient(135deg, rgba(10, 42, 56, 0.92), rgba(5, 21, 31, 0.94));
}

.metrics-grid div { background: rgba(6, 27, 39, 0.86); }
.metrics-grid strong { color: #dffbfe; }

.final-cta::before {
  border-color: rgba(35, 199, 217, 0.22);
  box-shadow: 0 0 70px rgba(35, 199, 217, 0.12);
}

.site-footer { background: #04131d; }
.models-page { background: var(--night); }

.catalog-filters,
.search-box,
.sort-box {
  background: rgba(7, 30, 42, 0.84);
}

.filter-group button:hover,
.filter-group button.selected {
  background: rgba(35, 199, 217, 0.1);
  color: #d7f7fa;
}

.catalog-card {
  background:
    radial-gradient(circle at 0% 50%, rgba(35, 199, 217, 0.065), transparent 34%),
    linear-gradient(135deg, rgba(9, 37, 51, 0.94), rgba(5, 21, 31, 0.94));
}

.catalog-cta {
  background:
    radial-gradient(circle at 70% 50%, rgba(35, 199, 217, 0.14), transparent 35%),
    #061721;
}

@media (max-width: 760px) {
  .brand-wordmark { width: 184px; }
  .footer-wordmark { width: 220px; }
  .mobile-menu > div { background: rgba(5, 24, 35, 0.98); }
  .mobile-category-row button.selected {
    border-color: rgba(35, 199, 217, 0.42);
    background: rgba(35, 199, 217, 0.13);
    color: #d7f7fa;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes breathe {
    50% { box-shadow: 0 0 78px rgba(35, 199, 217, 0.34), inset 0 1px 0 rgba(255,255,255,0.12); }
  }
}

/* Expandable model catalog */
.catalog-card {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.catalog-card-trigger {
  width: 100%;
  min-height: 166px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 100px 220px 34px;
  align-items: center;
  gap: 24px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.catalog-card-trigger:hover .details-toggle { border-color: rgba(35,199,217,.42); color: #dffbfe; }
.catalog-card.expanded { border-color: rgba(35,199,217,.4); box-shadow: 0 20px 65px rgba(0,0,0,.18); }
.catalog-model-copy { overflow: hidden; }
.model-summary { width: 100%; margin-top: 8px; overflow: hidden; color: #8ba3ac; font-size: 10px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.catalog-model-copy .tag-row { width: 100%; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.catalog-model-copy .tag-row > span { flex: 0 0 auto; }
.details-toggle { flex: 0 0 auto; }

.catalog-detail-panel {
  padding: 0 22px 24px;
  border-top: 1px solid var(--line);
  background: rgba(3,18,27,.46);
  animation: detailReveal .22s ease both;
}

.model-detail-description { padding: 24px 0 22px; display: grid; grid-template-columns: 145px 1fr; gap: 22px; align-items: start; }
.model-detail-description > span,.model-detail-grid span { color: #4f7781; font-family: ui-monospace,monospace; font-size: 8px; letter-spacing: .14em; }
.model-detail-description p { max-width: 680px; margin: -4px 0 0; color: #9bb0b8; font-size: 12px; line-height: 1.8; }
.model-detail-grid { display: grid; grid-template-columns: 1.2fr 2.4fr repeat(3,.8fr); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.model-detail-grid > div { min-width: 0; min-height: 76px; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 9px; border-right: 1px solid var(--line); }
.model-detail-grid > div:last-child { border-right: 0; }
.model-detail-grid code { overflow: hidden; color: #74dfe8; font-family: ui-monospace,monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.model-detail-grid strong { color: #d7eef1; font-family: ui-monospace,monospace; font-size: 11px; font-weight: 550; }
@keyframes detailReveal { from { opacity: 0; transform: translateY(-8px); } }

/* Complete documentation content */
.docs-article h3 { margin: 32px 0 15px; color: #d6ecef; font-size: 17px; letter-spacing: -.02em; }
.docs-article p > code,.docs-article td code { color: #63dbe5; font-family: ui-monospace,monospace; font-size: .92em; }
.doc-endpoints { margin-top: 26px; display: grid; gap: 8px; }
.doc-endpoints > div { padding: 16px 18px; display: grid; grid-template-columns: 180px 1fr; gap: 20px; border: 1px solid var(--line); background: rgba(7,30,42,.48); }
.doc-endpoints span { color: #718d96; font-size: 10px; }.doc-endpoints code { color: #63dbe5; font-size: 10px; }
.doc-api-table { width: 100%; margin-top: 28px; border: 1px solid var(--line); border-collapse: collapse; background: rgba(5,24,35,.45); }
.doc-api-table th { padding: 13px 15px; color: #4f7781; font-size: 8px; font-weight: 700; letter-spacing: .1em; text-align: left; }
.doc-api-table td { padding: 14px 15px; border-top: 1px solid var(--line); color: #8ba3ac; font-size: 10px; line-height: 1.55; }
.doc-api-table td:first-child { color: #cce3e6; }
.doc-api-table.compact th:nth-child(4),.doc-api-table.compact td:nth-child(4) { width: 48%; }
.doc-directory { margin-top: 24px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.doc-directory > div { min-width: 0; padding: 13px 15px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: rgba(7,30,42,.45); color: #8ca4ad; font-size: 10px; }
.doc-directory i { color: var(--cyan); font-style: normal; }.doc-directory span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 980px) {
  .catalog-card-trigger { grid-template-columns: minmax(0,1fr) 75px 155px 30px; gap: 14px; }
  .model-detail-grid { grid-template-columns: 1fr 2fr 1fr 1fr; }.model-detail-grid > div:last-child { grid-column: 1/-1; border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .catalog-card-trigger { padding: 19px; grid-template-columns: minmax(0,1fr) 30px; }
  .catalog-card-trigger .catalog-context,.catalog-card-trigger .catalog-price { display: none; }
  .catalog-card-trigger .details-toggle { grid-column: 2; grid-row: 1; }
  .model-detail-description { grid-template-columns: 1fr; gap: 12px; }.model-detail-grid { grid-template-columns: 1fr 1fr; }.model-detail-grid .endpoint-cell { grid-column: 1/-1; }.model-detail-grid > div { border-bottom: 1px solid var(--line); }.model-detail-grid > div:last-child { grid-column: auto; }
  .doc-endpoints > div { grid-template-columns: 1fr; gap: 8px; }.doc-api-table { display: block; overflow-x: auto; white-space: nowrap; }.doc-directory { grid-template-columns: 1fr; }
}

/* Linked help center */
.docs-layout-page { min-height: 100vh; background: #061721; }
.docs-layout { min-height: 820px; padding-top: 122px; padding-bottom: 110px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 62px; align-items: start; }
.docs-navigation { position: sticky; top: 110px; padding: 18px 0 24px; border-right: 1px solid rgba(89, 164, 175, .16); display: flex; flex-direction: column; gap: 4px; }
.docs-navigation-title { margin: 0 18px 16px; color: #d7eef1; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.docs-navigation > a,.docs-navigation details a { min-height: 36px; padding: 10px 18px; display: flex; align-items: center; color: #718d96; font-size: 10px; line-height: 1.5; transition: color .18s ease,background .18s ease; }
.docs-navigation > a:hover,.docs-navigation details a:hover,.docs-navigation a.active { color: #c9f6f9; background: linear-gradient(90deg, rgba(35,199,217,.12), transparent); }
.docs-navigation a.active { box-shadow: inset 2px 0 #23c7d9; }
.docs-navigation details { margin: 0; }
.docs-navigation summary { padding: 0; display: grid; grid-template-columns: minmax(0,1fr) 32px; align-items: center; list-style: none; cursor: pointer; }
.docs-navigation summary::-webkit-details-marker { display: none; }
.docs-navigation summary > span { color: #54737c; font-size: 12px; transition: transform .2s ease; }
.docs-navigation details[open] summary > span { transform: rotate(180deg); }
.docs-navigation details > div { margin: 2px 0 8px 17px; border-left: 1px solid rgba(89,164,175,.13); }
.docs-navigation details > div a { min-height: 31px; padding-top: 7px; padding-bottom: 7px; font-size: 9px; }
.docs-content { min-width: 0; max-width: 980px; }
.docs-breadcrumbs { margin-bottom: 48px; display: flex; flex-wrap: wrap; gap: 10px; color: #5f7d86; font-size: 9px; }
.docs-breadcrumbs span { display: flex; gap: 10px; }.docs-breadcrumbs i { color: #36515a; font-style: normal; }
.docs-breadcrumbs a:hover { color: #74e3eb; }
.docs-main-header { max-width: 780px; margin-bottom: 42px; padding-bottom: 34px; border-bottom: 1px solid rgba(89,164,175,.16); }
.docs-main-header h1 { margin: 10px 0 0; color: #e1f4f6; font-size: clamp(38px,5vw,66px); line-height: 1.04; letter-spacing: -.055em; }
.docs-main-header p { max-width: 650px; margin: 22px 0 0; color: #88a2aa; font-size: 13px; line-height: 1.9; }
.docs-landing-header { margin-bottom: 46px; border-bottom: 0; }
.docs-index-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.docs-index-card { min-width: 0; min-height: 150px; padding: 24px; display: grid; grid-template-columns: 32px minmax(0,1fr) 24px; gap: 15px; align-items: start; border: 1px solid rgba(89,164,175,.17); border-radius: 12px; background: radial-gradient(circle at 100% 0%,rgba(35,199,217,.08),transparent 42%),rgba(7,30,42,.55); transition: border-color .2s ease,transform .2s ease,background .2s ease; }
.docs-index-card:hover { transform: translateY(-2px); border-color: rgba(35,199,217,.42); background: radial-gradient(circle at 100% 0%,rgba(35,199,217,.14),transparent 46%),rgba(8,36,49,.68); }
.docs-index-card > span { color: #3e7079; font-family: ui-monospace,monospace; font-size: 9px; letter-spacing: .1em; }
.docs-index-card h2 { margin: -4px 0 10px; color: #d6ecef; font-size: 18px; letter-spacing: -.025em; }
.docs-index-card p { display: -webkit-box; margin: 0; overflow: hidden; color: #78949d; font-size: 10px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.docs-index-card > i { color: #23c7d9; font-size: 14px; font-style: normal; text-align: right; }
.docs-root-grid .docs-index-card:first-child { grid-column: 1 / -1; }
.docs-child-grid { margin: -6px 0 48px; }
.docs-rendered { max-width: 880px; color: #91a8b0; }
.docs-rendered h2 { margin: 54px 0 18px; padding-top: 10px; color: #d9eef0; font-size: 25px; letter-spacing: -.035em; }
.docs-rendered h3 { margin: 38px 0 15px; color: #c8e3e6; font-size: 18px; letter-spacing: -.025em; }
.docs-rendered p { margin: 0 0 19px; color: #91a8b0; font-size: 12px; line-height: 1.95; white-space: pre-wrap; }
.docs-rendered pre { margin: 24px 0 30px; padding: 24px; overflow: auto; border: 1px solid rgba(89,164,175,.18); border-radius: 10px; background: #04131d; color: #9ce8ee; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 10px; line-height: 1.8; white-space: pre; }
.docs-rendered blockquote { margin: 24px 0; padding: 17px 20px; border-left: 2px solid #23c7d9; background: rgba(35,199,217,.07); color: #a9c1c7; font-size: 11px; line-height: 1.8; }
.docs-rendered figure { margin: 30px 0; padding: 14px; border: 1px solid rgba(89,164,175,.16); border-radius: 12px; background: rgba(255,255,255,.96); }
.docs-rendered figure img { width: 100%; height: auto; display: block; border-radius: 6px; }
.doc-list-item { margin: 8px 0; padding-left: 18px; position: relative; color: #91a8b0; font-size: 11px; line-height: 1.8; }
.doc-list-item > span { width: 4px; height: 4px; position: absolute; top: .75em; left: 2px; border-radius: 50%; background: #23c7d9; box-shadow: 0 0 8px rgba(35,199,217,.55); }
.doc-table-scroll { margin: 28px 0 34px; overflow-x: auto; border: 1px solid rgba(89,164,175,.18); border-radius: 9px; }
.doc-table-scroll table { width: 100%; min-width: 580px; border-collapse: collapse; background: rgba(5,24,35,.55); }
.doc-table-scroll th,.doc-table-scroll td { padding: 13px 15px; border-right: 1px solid rgba(89,164,175,.11); text-align: left; vertical-align: top; }
.doc-table-scroll th { color: #82dce4; background: rgba(35,199,217,.06); font-size: 9px; font-weight: 650; }
.doc-table-scroll td { border-top: 1px solid rgba(89,164,175,.12); color: #8da7af; font-size: 10px; line-height: 1.65; white-space: pre-wrap; }
.docs-prev-next { margin-top: 70px; padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid rgba(89,164,175,.16); }
.docs-prev-next a { min-height: 88px; padding: 17px 19px; display: flex; flex-direction: column; justify-content: center; gap: 8px; border: 1px solid rgba(89,164,175,.16); border-radius: 10px; background: rgba(7,30,42,.42); }
.docs-prev-next a:last-child { align-items: flex-end; text-align: right; }.docs-prev-next a:hover { border-color: rgba(35,199,217,.38); }
.docs-prev-next span { color: #506f78; font-size: 8px; letter-spacing: .08em; }.docs-prev-next b { color: #bad6da; font-size: 11px; font-weight: 550; }

@media (max-width: 900px) {
  .docs-layout { padding-top: 104px; grid-template-columns: 1fr; gap: 38px; }
  .docs-navigation { position: static; padding: 14px; border: 1px solid rgba(89,164,175,.16); border-radius: 12px; background: rgba(7,30,42,.56); }
  .docs-navigation-title { margin-top: 8px; }
}

@media (max-width: 620px) {
  .docs-layout { padding-top: 88px; padding-bottom: 76px; }
  .docs-breadcrumbs { margin-bottom: 32px; }
  .docs-main-header { margin-bottom: 32px; padding-bottom: 28px; }
  .docs-main-header h1 { font-size: 38px; }
  .docs-index-grid { grid-template-columns: 1fr; }
  .docs-root-grid .docs-index-card:first-child { grid-column: auto; }
  .docs-index-card { min-height: 126px; padding: 20px 17px; grid-template-columns: 26px minmax(0,1fr) 18px; gap: 10px; }
  .docs-rendered pre { margin-left: -10px; margin-right: -10px; padding: 18px; }
  .docs-prev-next { grid-template-columns: 1fr; }
}

/* Readability, contrast and mobile experience pass */
.nav-health,
.mobile-health,
.footer-static-link {
  display: inline-flex;
  align-items: center;
  color: #8fb2b9;
  font-size: 13px;
  white-space: nowrap;
}
.nav-health { padding: 8px 10px; border: 1px solid rgba(81,213,162,.16); border-radius: 999px; background: rgba(81,213,162,.055); }
.footer-static-link { margin-top: 2px; color: #6f9299; font-size: 12px; }
.mobile-health { min-height: 44px; padding: 10px 12px; border-radius: 8px; background: rgba(81,213,162,.07); color: #a9d8c7; }

.eyebrow { font-size: 11px; }
.button { min-height: 48px; font-size: 14px; }
.section-heading > p,
.api-copy > p,
.trust-copy > p,
.final-cta-inner > p,
.capability-card p { font-size: 15px; line-height: 1.82; }
.capability-card {
  border: 1px solid rgba(75,166,178,.2);
  background: linear-gradient(160deg, rgba(13,51,65,.82), rgba(6,24,35,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 18px 48px rgba(0,0,0,.12);
}
.capability-card h3 { font-size: 22px; }
.home-model-card {
  border-color: rgba(75,166,178,.24);
  background: linear-gradient(145deg, rgba(13,50,64,.96), rgba(5,22,32,.98));
  box-shadow: 0 16px 44px rgba(0,0,0,.16);
}
.model-card-head h3 { font-size: 18px; }
.model-card-head p,.availability,.model-card-foot { font-size: 11px; }

.models-page { background: #04131d; }
.catalog-section { background: linear-gradient(180deg,#061721,#04131d 36%); }
.catalog-filters,
.search-box,
.sort-box {
  border-color: rgba(73,174,187,.27);
  background: rgba(9,38,51,.94);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}
.filter-kicker { color: #72a2aa; font-size: 10px; }
.filter-group h3 { color: #c2dadd; font-size: 13px; }
.filter-group button,.feature-group label { color: #91abb2; font-size: 12px; }
.filter-group button { min-height: 39px; padding: 9px 11px; }
.filter-group button:hover,.filter-group button.selected { background: rgba(35,199,217,.14); color: #e0f8fa; }
.filter-group button b { color: #6e969e; }
.filter-note { color: #72949b; font-size: 10px; }
.search-box input { font-size: 14px; }.sort-box > span { font-size: 11px; }.sort-box select { font-size: 12px; }
.catalog-result-head { color: #7799a0; font-size: 11px; }.catalog-result-head b { color: #62dce7; }
.catalog-list { gap: 14px; }
.catalog-card {
  border-color: rgba(74,174,187,.27);
  background:
    radial-gradient(circle at 0 50%,rgba(35,199,217,.115),transparent 38%),
    linear-gradient(135deg,rgba(11,44,58,.98),rgba(5,23,34,.99));
  box-shadow: 0 18px 48px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.025);
}
.catalog-card:hover,.catalog-card.expanded { border-color: rgba(35,199,217,.58); box-shadow: 0 22px 60px rgba(0,0,0,.24),0 0 0 1px rgba(35,199,217,.06); }
.catalog-card-trigger { min-height: 186px; padding: 27px; }
.catalog-name-row h2 { color: #ecfbfc; font-size: 20px; }
.catalog-model-copy > p { color: #84a5ac; font-size: 12px; }
.model-summary { margin-top: 10px; color: #acc2c7; font-size: 13px; line-height: 1.55; }
.tag-row { gap: 7px; }
.tag-row > span {
  padding: 6px 9px;
  border-color: rgba(35,199,217,.24);
  background: rgba(35,199,217,.095);
  color: #9ee3e8;
  font-size: 11px;
}
.new-badge { padding: 4px 7px; background: rgba(81,213,162,.12); font-size: 9px; }
.catalog-context span,.catalog-price span { color: #76969d; font-size: 10px; }
.catalog-context strong { color: #e0f2f4; font-size: 17px; }
.catalog-price strong { color: #67e0e9; font-size: 14px; }.catalog-price small { color: #66858c; font-size: 9px; }
.details-toggle { border-color: rgba(35,199,217,.28); background: rgba(35,199,217,.08); color: #8edee5; }
.catalog-detail-panel { padding: 0 27px 27px; border-top-color: rgba(73,174,187,.24); background: rgba(3,17,25,.72); }
.model-detail-description > span,.model-detail-grid span { color: #6e969e; font-size: 10px; }
.model-detail-description p { color: #b2c7cc; font-size: 14px; }
.model-detail-grid { border-color: rgba(73,174,187,.24); }.model-detail-grid code { color: #85e7ee; font-size: 11px; }.model-detail-grid strong { font-size: 13px; }

.pricing-console { border-color: rgba(73,174,187,.28); background: #08202c; box-shadow: 0 20px 65px rgba(0,0,0,.16); }
.price-provider-tabs button { font-size: 11px; }
.price-table th { color: #7299a1; font-size: 10px; }.price-table td { color: #9eb5bb; font-size: 13px; }.price-table td:nth-child(3) { font-size: 14px; }

.docs-navigation { border-color: rgba(73,174,187,.24); }
.docs-navigation-title { font-size: 14px; }
.docs-navigation > a,.docs-navigation details a { min-height: 42px; color: #89a7ae; font-size: 12px; }
.docs-navigation details > div a { min-height: 38px; font-size: 11px; }
.docs-main-header p { color: #a0b7bd; font-size: 15px; }
.docs-index-card { border-color: rgba(73,174,187,.27); background: radial-gradient(circle at 100% 0%,rgba(35,199,217,.12),transparent 44%),rgba(8,38,51,.9); }
.docs-index-card h2 { font-size: 20px; }.docs-index-card p { color: #94afb5; font-size: 13px; }
.docs-rendered p { color: #a6bcc1; font-size: 14px; }.docs-rendered pre { font-size: 12px; }.doc-list-item { color: #a6bcc1; font-size: 13px; }
.doc-table-scroll th { font-size: 11px; }.doc-table-scroll td { font-size: 12px; }

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px),var(--container)); }
  .brand-wordmark { width: 174px; }
  .mobile-menu > div { position: fixed; width: auto; left: 14px; right: 14px; top: 72px; padding: 16px; gap: 6px; border-color: rgba(35,199,217,.3); background: rgba(5,24,35,.985); }
  .mobile-menu > div a { min-height: 44px; padding: 12px; display: flex; align-items: center; font-size: 14px; }
  .space-hero-inner { padding: 138px 0 105px; gap: 30px; }
  .space-hero-copy h1,.models-hero h1,.content-hero h1,.docs-hero h1 { font-size: 39px; line-height: 1.1; }
  .space-hero-copy > p,.models-hero p,.content-hero p { font-size: 15px; line-height: 1.75; }
  .space-router { height: 320px; transform: scale(.78); margin: -20px 0 -35px -14%; width: 128%; }
  .home-stat-band .container { gap: 0; }.home-stat-band .container > div { min-height: 110px; padding: 20px 12px; }
  .section { padding: 72px 0; }.section-heading h2,.api-copy h2,.final-cta h2 { font-size: 34px; }
  .capability-grid { gap: 12px; }.capability-card { padding: 30px 24px; border-radius: 14px; }.capability-card p { font-size: 14px; }
  .models-hero { padding: 74px 0 50px; }.models-hero-actions { display: grid; grid-template-columns: 1fr; }.models-hero-actions .button { width: 100%; }
  .catalog-section { padding: 28px 0 76px; }.catalog-toolbar .search-box { height: 56px; }
  .mobile-category-row { margin-top: 16px; padding-bottom: 4px; gap: 9px; }.mobile-category-row button { min-height: 40px; padding: 9px 14px; border-color: rgba(73,174,187,.22); background: #082330; color: #8fabb1; font-size: 12px; }
  .catalog-result-head { padding: 20px 3px 12px; font-size: 12px; }
  .catalog-card-trigger { min-height: 0; padding: 20px; grid-template-columns: minmax(0,1fr) 34px; gap: 18px 10px; }
  .catalog-model-main { grid-column: 1 / -1; padding-right: 34px; }
  .catalog-card-trigger .catalog-price { padding-top: 17px; display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(73,174,187,.2); }
  .catalog-card-trigger .details-toggle { grid-column: 2; grid-row: 1; align-self: start; }
  .catalog-name-row h2 { font-size: 18px; }.catalog-model-copy > p { font-size: 11px; }.model-summary { font-size: 12px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .catalog-model-copy .tag-row { padding-bottom: 3px; overflow-x: auto; scrollbar-width: none; }.tag-row > span { font-size: 10px; }
  .catalog-detail-panel { padding: 0 18px 20px; }.model-detail-description { padding: 20px 0 18px; }.model-detail-description p { font-size: 13px; }
  .model-detail-grid { grid-template-columns: 1fr; }.model-detail-grid .endpoint-cell,.model-detail-grid > div:last-child { grid-column: auto; }.model-detail-grid > div { min-height: 68px; border-right: 0; border-bottom: 1px solid rgba(73,174,187,.18); }.model-detail-grid code { overflow-wrap: anywhere; white-space: normal; }
  .pricing-section { padding: 28px 0 76px; }.pricing-console { border-radius: 13px; }.price-provider-tabs { overflow-x: auto; flex-wrap: nowrap; }.price-provider-tabs button { flex: 0 0 auto; min-height: 40px; font-size: 12px; }
  .price-table { min-width: 0; }.price-table thead { display: none; }.price-table tbody { padding: 12px; display: grid; gap: 12px; }.price-table tr { padding: 16px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 15px; border: 1px solid rgba(73,174,187,.2); border-radius: 11px; background: rgba(5,24,35,.62); }.price-table td { padding: 0; border: 0; font-size: 12px; }.price-table td:first-child { grid-column: 1 / -1; padding-bottom: 12px; border-bottom: 1px solid rgba(73,174,187,.16); }.price-table td:nth-child(3) { grid-column: 2; grid-row: 2; font-size: 14px; text-align: right; }.price-table td:nth-child(4) { grid-column: 1 / -1; color: #6f9198; }
  .docs-layout { padding-top: 86px; gap: 28px; }.docs-navigation { max-height: 330px; padding: 12px; overflow-y: auto; }.docs-navigation-title { margin-bottom: 8px; }.docs-breadcrumbs { margin-bottom: 28px; }.docs-main-header h1 { font-size: 36px; }.docs-main-header p { font-size: 14px; }.docs-index-card { min-height: 132px; }.docs-index-card h2 { font-size: 18px; }.docs-index-card p { font-size: 12px; }.docs-rendered p { font-size: 14px; line-height: 1.85; }.docs-rendered pre { font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-grid > div a,.footer-static-link { font-size: 13px; }
}

@media (max-width: 420px) {
  .space-hero-copy h1,.models-hero h1,.content-hero h1,.docs-hero h1 { font-size: 35px; }
  .gateway-wordmark { width: 86vw; }.gateway-content h1 { padding: 0 18px; font-size: 21px; line-height: 1.45; }
  .catalog-name-row h2 { font-size: 17px; }.model-logo.large { width: 48px; height: 48px; }
  .footer-grid { grid-template-columns: 1fr; }.footer-brand { grid-column: auto; }
}

/* Deeper navy foundation and clearer surface separation */
:root {
  --night: #020d14;
  --night-2: #01080d;
  --panel: rgba(9, 39, 52, .94);
  --panel-solid: #092a38;
  --line: rgba(88, 190, 203, .24);
  --line-strong: rgba(35, 199, 217, .48);
}
html,body { background: #01090e; }
.site-header { background: rgba(2,15,22,.93); border-bottom-color: rgba(66,178,191,.22); }
.brand-gateway { background: radial-gradient(circle at 50% 48%,rgba(13,68,84,.34),transparent 34%),#01080d; }
.product-home,.models-page,.content-page,.docs-layout-page { background: #020d14; }
.space-hero,.models-hero,.content-hero,.docs-hero { background-color: #020f17; }
.home-stat-band,.provider-strip,.catalog-cta,.site-footer { background-color: #01090e; }
.capabilities,.model-preview,.trust-section,.pricing-section,.catalog-section { background-color: #020d14; }
.api-section,.final-cta { background-color: #04131c; }

.capability-card,.home-model-card,.trust-panel,.pricing-console,.docs-index-card {
  border-color: rgba(63,183,197,.36);
  box-shadow: 0 22px 56px rgba(0,0,0,.28),inset 0 1px 0 rgba(218,251,253,.035);
}
.capability-card { background: linear-gradient(155deg,#0b3342,#061c27 78%); }
.home-model-card { background: linear-gradient(145deg,#0b3443,#051923); }
.trust-panel { background: radial-gradient(circle at 100% 0%,rgba(35,199,217,.18),transparent 42%),linear-gradient(140deg,#0a3040,#041721); }
.catalog-filters,.search-box,.sort-box { border-color: rgba(63,183,197,.38); background: #082a38; }
.catalog-card {
  border-color: rgba(63,183,197,.42);
  background: radial-gradient(circle at 0 50%,rgba(35,199,217,.16),transparent 40%),linear-gradient(135deg,#0a3140,#041722);
  box-shadow: 0 22px 60px rgba(0,0,0,.32),inset 0 1px 0 rgba(218,251,253,.04);
}
.catalog-card:hover,.catalog-card.expanded { border-color: rgba(72,225,237,.72); background: radial-gradient(circle at 0 50%,rgba(35,199,217,.21),transparent 42%),linear-gradient(135deg,#0c3a4a,#051b26); }
.tag-row > span { border-color: rgba(70,221,233,.38); background: rgba(35,199,217,.16); color: #c0f5f8; }
.details-toggle { border-color: rgba(70,221,233,.42); background: rgba(35,199,217,.14); }
.catalog-detail-panel { background: #03131c; }
.model-detail-grid { border-color: rgba(63,183,197,.34); background: #061f2a; }
.pricing-console { background: #061f2a; }.price-table tr:hover { background: rgba(35,199,217,.055); }
.docs-navigation { background: rgba(4,23,32,.72); }.docs-index-card { background: radial-gradient(circle at 100% 0%,rgba(35,199,217,.16),transparent 46%),#082a38; }
.docs-rendered pre { border-color: rgba(63,183,197,.34); background: #010a0f; }
.doc-table-scroll { border-color: rgba(63,183,197,.34); }.doc-table-scroll table { background: #041720; }

@media (max-width: 760px) {
  .mobile-menu > div { background: #03141d; box-shadow: 0 28px 70px rgba(0,0,0,.58); }
  .mobile-category-row button { background: #072634; border-color: rgba(63,183,197,.35); }
  .mobile-category-row button.selected { background: rgba(35,199,217,.22); border-color: rgba(72,225,237,.7); color: #e2fbfc; }
  .price-table tr { border-color: rgba(63,183,197,.34); background: #051d28; }
  .docs-navigation { background: #051d28; border-color: rgba(63,183,197,.34); }
}
