:root {
  --bg: #ffffff;
  --bg-soft: #f7fafc;
  --bg-hero:
    radial-gradient(ellipse 68% 58% at 18% 0%, rgba(56, 189, 248, 0.14) 0%, transparent 62%),
    radial-gradient(ellipse 66% 74% at 78% 36%, rgba(6, 182, 212, 0.15) 0%, rgba(16, 185, 129, 0.06) 44%, rgba(240, 249, 255, 0.35) 72%, #ffffff 100%);
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --border-hi: #06b6d4;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;
  --brand: #0284c7;
  --teal: #0d9488;
  --brand-ink: #0f172a;
  --brand-grad: linear-gradient(135deg, #0284c7 0%, #06b6d4 52%, #0d9488 100%);
  --amber: #f59e0b;
  --ok: #10b981;
  --code-bg: #0f172a;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

body.theme-dark {
  --bg: #090c14;
  --bg-soft: #0e1320;
  --bg-hero: radial-gradient(ellipse 64% 78% at 74% 48%, rgba(6, 182, 212, 0.14) 0%, rgba(13, 148, 136, 0.06) 44%, #090c14 82%);
  --surface: #121827;
  --surface-2: #192235;
  --border: #1e293b;
  --border-hi: #22d3ee;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.36);
  --text: #f8fafc;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --brand: #22d3ee;
  --teal: #2dd4bf;
  --brand-ink: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }

.wrap { max-width: 1260px; margin: 0 auto; padding: 0 24px; }

/* =========================================================
   SEAMLESS TRANSPARENT -> FLOATING PILL NAVBAR
   (Matches New API inner header 0.7s cubic-bezier(0.16,1,0.3,1))
   ========================================================= */
.nav-host {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  transition:
    max-width 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-host.scrolled .nav-shell {
  max-width: 880px;
  padding: 12px 12px 0;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: 0 0 0 rgba(15, 23, 42, 0);
  transition:
    height 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-host.scrolled .nav-bar {
  height: 50px;
  padding: 0 12px 0 18px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}
body.theme-dark .nav-host.scrolled .nav-bar {
  background: rgba(15, 23, 42, 0.84);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.44);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 16px; letter-spacing: -0.02em; color: var(--text);
}
.nav-links {
  display: flex; align-items: center; gap: 22px;
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
}
.nav-links a { transition: color 0.16s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { font-weight: 650; }

.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-icon-btn {
  height: 32px; min-width: 32px; padding: 0 9px; border-radius: 999px;
  background: transparent; border: 1px solid transparent;
  color: var(--text-2); font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: background-color 0.16s, color 0.16s;
}
.nav-icon-btn:hover { color: var(--text); background: rgba(15, 23, 42, 0.06); }
body.theme-dark .nav-icon-btn:hover { background: rgba(255, 255, 255, 0.08); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 15px; border-radius: 999px;
  background: var(--surface); color: var(--text); font-size: 13px; font-weight: 600;
  border: 1px solid var(--border);
  transition: border-color 0.16s, color 0.16s, transform 0.16s;
}
.btn-outline:hover { border-color: var(--border-hi); color: var(--brand); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 16px; border-radius: 999px;
  background: var(--brand-ink); color: var(--bg); font-size: 13px; font-weight: 600;
  border: none; cursor: pointer;
  transition: opacity 0.16s, transform 0.16s;
}
.btn-primary:hover { opacity: 0.9; }

.btn-accent {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; padding: 0 24px; border-radius: 999px;
  background: linear-gradient(135deg, #0f172a 0%, #0c4a6e 58%, #0d9488 100%);
  color: #ffffff; font-size: 14.5px; font-weight: 600;
  border: none; cursor: pointer;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.22);
  transition: transform 0.18s, box-shadow 0.18s;
}
body.theme-dark .btn-accent {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 56%, #14b8a6 100%);
  color: #06131f;
}
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(6, 182, 212, 0.28); }
.btn-accent .spark { color: var(--amber); }
body.theme-dark .btn-accent .spark { color: #06131f; }
.btn-lg { height: 44px; padding: 0 22px; font-size: 14.5px; border-radius: 999px; }

/* =========================================================
   HERO: LEFT VALUE PROP + RIGHT CONCENTRIC ORBITAL GRAPH
   ========================================================= */
.hero {
  background: var(--bg-hero);
  padding: 94px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
}
.hero-left { position: relative; z-index: 3; padding: 14px 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid rgba(6, 182, 212, 0.25);
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.08);
  font-size: 12.5px; font-weight: 600; color: var(--brand);
  margin-bottom: 20px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.hero h1 {
  font-size: clamp(34px, 3.9vw, 48px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.18;
  margin: 0 0 16px; color: var(--text);
}
.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: 15px; color: var(--text-2); line-height: 1.72;
  margin: 0 0 22px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-sub code {
  font-family: var(--font-mono); font-size: 13px;
  padding: 1px 6px; border-radius: 5px;
  background: rgba(6, 182, 212, 0.1); color: var(--brand);
}

.hero-metrics {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin-bottom: 26px;
}
.metric-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  box-shadow: var(--shadow-sm);
}
.metric-pill b { color: var(--teal); font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-note { margin-top: 15px; font-size: 12.5px; color: var(--text-3); }

/* Right: NovaInk Concentric Orbital Graph (Ice Cyan / Teal / Obsidian, GPU-only animations) */
.orbit-wrap {
  position: relative;
  width: 100%;
  height: 556px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.orbit-stage {
  position: relative;
  width: 750px;
  height: 556px;
  flex-shrink: 0;
}
.orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.arc-base {
  fill: none;
  stroke: rgba(14, 116, 144, 0.16);
  stroke-width: 1.25;
}
.arc-dash {
  fill: none;
  stroke: rgba(13, 148, 136, 0.22);
  stroke-width: 1.25;
  stroke-dasharray: 4 7;
}
body.theme-dark .arc-base { stroke: rgba(34, 211, 238, 0.18); }
body.theme-dark .arc-dash { stroke: rgba(45, 212, 191, 0.22); }

.arc-pulse {
  fill: none;
  stroke: url(#novaArcGrad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 56 640;
  animation: arcFlow 9s linear infinite;
}
.arc-pulse.slow {
  stroke-dasharray: 72 860;
  animation-duration: 13s;
  animation-delay: -4s;
}
@keyframes arcFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -700; }
}

/* Center Glowing Obsidian-Ink Hub */
.orbit-hub {
  position: absolute;
  left: 74px;
  top: 278px;
  transform: translate3d(-50%, -50%, 0);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid rgba(6, 182, 212, 0.34);
  box-shadow:
    0 0 0 11px rgba(6, 182, 212, 0.09),
    0 0 0 24px rgba(13, 148, 136, 0.045),
    0 12px 28px rgba(15, 23, 42, 0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 5;
}
.orbit-hub::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(6, 182, 212, 0.45);
  animation: hubPulse 3.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}
@keyframes hubPulse {
  0% { transform: scale(1); opacity: 0.65; }
  100% { transform: scale(1.42); opacity: 0; }
}
.orbit-hub img {
  width: 34px; height: 34px; border-radius: 9px; display: block;
}
.orbit-hub span {
  font-size: 12px; font-weight: 800; letter-spacing: -0.02em; color: var(--text);
}

/* Floating Orbital Pills (GPU translate3d drift, generous spacing) */
.orb-pill {
  position: absolute;
  transform: translate3d(-50%, -50%, 0);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid rgba(203, 213, 225, 0.85);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.055);
  color: var(--text);
  cursor: pointer;
  z-index: 4;
  transition: border-color 0.18s, box-shadow 0.18s, color 0.18s;
}
body.theme-dark .orb-pill {
  background: rgba(18, 24, 39, 0.96);
  border-color: rgba(51, 65, 85, 0.85);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.orb-pill:hover {
  border-color: var(--border-hi);
  color: var(--brand);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.18);
  z-index: 8;
}

/* Inner Application Scope Pills */
.orb-scope {
  padding: 6px 12px 6px 8px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
}
.sc-ico {
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #ffffff; flex-shrink: 0;
}
.sc-ico svg {
  width: 13px; height: 13px; stroke: currentColor; fill: none;
  stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round;
}

/* Outer Model Vendor Pills (Real Brand SVG Icons) */
.orb-vendor {
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}
.brand-ico { width: 17px; height: 17px; object-fit: contain; display: block; flex-shrink: 0; }
.client-ico { width: 20px; height: 20px; object-fit: contain; display: block; flex-shrink: 0; }
body.theme-dark img.ico-mono { filter: invert(1) brightness(1.12); }

/* Staggered Lightweight GPU Float Animation */
.f1 { animation: orbDriftA 6.2s ease-in-out infinite; }
.f2 { animation: orbDriftB 7.1s ease-in-out infinite; }
.f3 { animation: orbDriftC 5.8s ease-in-out infinite; }
@keyframes orbDriftA {
  0%, 100% { transform: translate3d(-50%, calc(-50% - 3px), 0); }
  50% { transform: translate3d(-50%, calc(-50% + 4px), 0); }
}
@keyframes orbDriftB {
  0%, 100% { transform: translate3d(-50%, calc(-50% + 4px), 0); }
  50% { transform: translate3d(-50%, calc(-50% - 3px), 0); }
}
@keyframes orbDriftC {
  0%, 100% { transform: translate3d(-50%, calc(-50% - 2px), 0); }
  50% { transform: translate3d(-50%, calc(-50% + 3px), 0); }
}

/* Mobile fallback chips (hidden on desktop) */
.mobile-orbit-chips { display: none; }

/* Supported Clients Bar */
.clients-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.clients-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.clients-label {
  font-size: 12.5px; font-weight: 700; color: var(--brand);
  padding-right: 16px; border-right: 1px solid var(--border);
}
.clients-list {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 20px; flex: 1;
}
.client-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--text-2);
  transition: color 0.15s;
}
.client-item:hover { color: var(--text); }
.c-mark {
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}

/* =========================================================
   BELOW-THE-FOLD SECTIONS (Tight, clean, 120fps scroll)
   ========================================================= */
.sec {
  padding: 58px 0;
  content-visibility: auto;
  contain-intrinsic-size: 560px;
}
.sec-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 26px;
}
.sec-pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: rgba(6, 182, 212, 0.11); color: var(--brand);
  font-size: 12px; font-weight: 600; margin-bottom: 8px;
}
.sec-title {
  font-size: clamp(23px, 2.7vw, 31px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.24; margin: 0;
}
.sec-sub { font-size: 14.5px; color: var(--text-2); margin: 8px 0 0; }

/* Quickstart Grid */
.qs-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 22px; align-items: start; }
.api-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.api-card-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.api-card-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.proto-tag { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(6,182,212,0.12); color: var(--brand); }
.api-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.api-tab {
  padding: 5px 11px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; color: var(--text-2); font-size: 12px; font-weight: 600; cursor: pointer;
}
.api-tab.active { background: var(--surface); color: var(--brand); border-color: var(--border); }
.api-ep-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 10px 18px; border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 12px;
}
.method-pill { padding: 2px 7px; border-radius: 5px; background: rgba(6,182,212,0.12); color: var(--brand); font-weight: 700; font-size: 11px; }
.ok-pill { padding: 2px 8px; border-radius: 999px; background: rgba(16,185,129,0.12); color: var(--ok); font-weight: 700; font-size: 11px; }
.code-block-area { padding: 14px 18px; background: var(--code-bg); color: #e2e8f0; }
.code-label-row {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; color: #94a3b8; letter-spacing: 0.05em; margin-bottom: 7px;
}
.code-copy-btn {
  padding: 3px 9px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.18);
  background: transparent; color: #e2e8f0; font-size: 11px; cursor: pointer;
}
.code-copy-btn:hover { background: rgba(255,255,255,0.1); }
.code-pre { margin: 0; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; overflow-x: auto; white-space: pre; color: #e2e8f0; }
.code-sep { height: 1px; background: rgba(255,255,255,0.1); margin: 12px 0; }
.api-foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 10px 18px; background: #0b1120; color: #94a3b8;
  font-family: var(--font-mono); font-size: 11px;
}
.api-foot strong { color: #34d399; }

.steps-list { display: flex; flex-direction: column; gap: 11px; }
.step-card {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 15px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.16s;
}
.step-card:hover { border-color: var(--border-hi); }
.step-num {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  background: rgba(6, 182, 212, 0.11); color: var(--brand);
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.step-body { flex: 1; min-width: 0; }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.step-top h3 { margin: 0; font-size: 14.5px; font-weight: 700; }
.step-time { font-size: 11px; color: var(--text-3); padding: 2px 7px; border-radius: 999px; background: var(--surface-2); }
.step-body p { margin: 0 0 6px; font-size: 13px; color: var(--text-2); }
.step-link { font-size: 12.5px; font-weight: 600; color: var(--brand); }
.step-link:hover { text-decoration: underline; }

/* Live Model Catalog */
.cat-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.cat-btn {
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2); cursor: pointer;
}
.cat-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 600; }
.cat-search {
  width: 250px; max-width: 100%; height: 35px; padding: 0 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 13px; outline: none;
}
.cat-search:focus { border-color: var(--border-hi); }

.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.m-tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: 13px;
  padding: 14px 15px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  transition: border-color 0.16s;
}
.m-tile:hover { border-color: var(--border-hi); }
.m-id { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; word-break: break-all; color: var(--text); }
.m-prov { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.m-foot { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 11.5px; color: var(--brand); font-weight: 600; }
.m-copy {
  padding: 3px 8px; border-radius: 6px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text-2); font-size: 11px; cursor: pointer;
}
.m-copy:hover { color: var(--brand); border-color: var(--border-hi); }

/* CTA Banner */
.cta-box {
  padding: 40px 28px; border-radius: 20px; text-align: center;
  background: var(--bg-soft); border: 1px solid var(--border);
}
.cta-box h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 8px 0 10px; letter-spacing: -0.025em; }
.cta-box p { font-size: 14.5px; color: var(--text-2); margin: 0 auto 22px; max-width: 540px; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   MAXROUTER-STYLE MULTI-COLUMN FOOTER + NEW API ATTRIBUTION
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 48px 0 34px;
  color: var(--text-2);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) repeat(2, minmax(120px, 0.65fr));
  gap: 36px;
  padding-bottom: 34px;
}
.footer-brand-desc {
  margin: 12px 0 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 380px;
}
.footer-contact-label {
  font-size: 12px; font-weight: 600; color: var(--text-3);
  margin-bottom: 6px;
}
.footer-mail {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  padding: 6px 12px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--border);
  transition: border-color 0.16s, color 0.16s;
}
.footer-mail:hover { border-color: var(--border-hi); color: var(--brand); }
.footer-mail svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 700; color: var(--text);
}
.footer-col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col a {
  font-size: 13.5px; color: var(--text-2); transition: color 0.15s;
}
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 13px; color: var(--text-3);
}
.footer-legal {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.footer-legal a:hover { color: var(--brand); }
.footer-sep { opacity: 0.45; }

.newapi-attr {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  transition: border-color 0.16s, color 0.16s;
}
.newapi-attr:hover { border-color: var(--border-hi); color: var(--text); }
.newapi-attr svg { width: 16px; height: 16px; flex-shrink: 0; }

.toast {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  padding: 9px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
  background: #0f172a; color: #ffffff;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .16s, transform .16s;
}
body.theme-dark .toast { background: #ffffff; color: #0f172a; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .f1, .f2, .f3, .arc-pulse, .orbit-hub::after { animation: none !important; }
  .nav-bar { transition: none !important; }
}

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .orbit-wrap { justify-content: center; height: 500px; }
  .orbit-stage { transform: scale(0.88); transform-origin: center center; }
  .qs-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .nav-shell { padding: 0 14px; }
  .nav-host.scrolled .nav-shell { padding: 10px 10px 0; }
  .orbit-wrap { display: none; }
  .mobile-orbit-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 4px 0 22px;
  }
  .m-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 11px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: 12px; font-weight: 600; color: var(--text);
  }
  .model-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .clients-label { border-right: none; padding-right: 0; width: 100%; text-align: center; }
}
