:root {
  --bg: #fbfbfd;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --line: rgba(18, 23, 31, 0.08);
  --line-strong: rgba(18, 23, 31, 0.14);
  --text: #161b22;
  --muted: #697586;
  --muted-soft: #8f99a8;
  --blue: #5d95ff;
  --blue-soft: #f2f7ff;
  --purple: #b775ff;
  --shadow: 0 16px 38px rgba(21, 32, 61, 0.08);
  --shadow-soft: 0 8px 20px rgba(21, 32, 61, 0.06);
  --content-width: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 14%, rgba(182, 214, 255, 0.2), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(220, 196, 255, 0.15), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  font-family: "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.content-shell {
  width: var(--content-width);
  margin: 0 auto;
}

.docs-section {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(21, 32, 61, 0.06);
}

.topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #9bd3ff, #5795ff);
  box-shadow: 0 10px 24px rgba(88, 150, 255, 0.28);
  font-weight: 800;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 780;
  letter-spacing: -0.05em;
}

.brand-tag {
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #78aeff, #b675ff);
  font-size: 0.72rem;
  font-weight: 700;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.topnav a {
  color: #252b35;
  font-size: 0.95rem;
}

.topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-ghost,
.nav-primary,
.button,
.filter-chip,
.client-tab,
.float-lang,
.float-help {
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.nav-ghost,
.nav-primary {
  padding: 10px 16px;
  border-radius: 999px;
}

.nav-ghost {
  border-color: var(--line);
  background: #fff;
}

.nav-primary {
  color: #fff;
  background: linear-gradient(135deg, #4e8cff, #8c6fff);
  box-shadow: 0 12px 28px rgba(90, 141, 255, 0.24);
}

.hero-section {
  padding: 108px 0 40px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
  gap: 42px;
  align-items: center;
  min-height: 680px;
}

.section-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 22px 0 16px;
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero-copy p {
  width: min(620px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.endpoint-copy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  width: min(620px, 100%);
  margin-top: 28px;
  padding: 14px 18px 14px 22px;
  border: 1px solid rgba(188, 205, 232, 0.56);
  border-radius: 999px;
  color: #394a61;
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.96), rgba(234, 242, 252, 0.96));
  box-shadow: 0 18px 42px rgba(166, 188, 228, 0.22);
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.endpoint-copy:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 165, 245, 0.56);
  box-shadow: 0 22px 48px rgba(138, 171, 229, 0.26);
}

.endpoint-copy:focus-visible {
  outline: 2px solid rgba(89, 131, 219, 0.45);
  outline-offset: 4px;
}

.endpoint-base {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
}

.endpoint-path {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 250px;
}

.endpoint-path-viewport {
  display: block;
  height: 1.45em;
  overflow: hidden;
}

.endpoint-path-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.55s ease;
  will-change: transform;
}

.endpoint-path-track span {
  display: block;
  height: 1.45em;
  line-height: 1.45;
  color: #156eff;
  font-weight: 700;
  white-space: nowrap;
}

.endpoint-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(17, 31, 52, 0.08);
}

.endpoint-icon svg {
  width: 18px;
  height: 18px;
  stroke: #5f6675;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.endpoint-status {
  position: absolute;
  left: 24px;
  bottom: -28px;
  color: #7f8da4;
  font-size: 0.9rem;
}

.endpoint-copy.is-copied .endpoint-status {
  color: #2d84ff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: #16181d;
  box-shadow: var(--shadow-soft);
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px 36px;
  margin-top: 46px;
  align-items: start;
}

.hero-metrics article {
  min-width: 0;
  text-align: center;
}

.hero-metrics article.metric-wide {
  min-width: 180px;
}

.hero-metrics strong {
  display: block;
  white-space: nowrap;
  font-size: clamp(1.9rem, 2.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero-metrics span {
  color: var(--muted-soft);
}

.hero-preview {
  position: relative;
  min-height: 460px;
}

.preview-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}

.orb-a {
  inset: 8% 6% 20%;
  background: radial-gradient(circle, rgba(142, 191, 255, 0.24), transparent 68%);
}

.orb-b {
  inset: 26% 18% 6%;
  background: radial-gradient(circle, rgba(220, 170, 255, 0.18), transparent 70%);
}

.preview-panel {
  position: absolute;
  inset: 10% 10% 14%;
  padding: 20px;
  border: 1px solid rgba(135, 163, 211, 0.18);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 251, 255, 0.92));
  box-shadow: 0 28px 70px rgba(99, 139, 206, 0.12);
}

.preview-toolbar {
  display: flex;
  gap: 8px;
}

.preview-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c6d7f8;
}

.preview-cardstack {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.mini-card {
  position: relative;
  min-height: 94px;
  padding: 20px;
  border: 1px solid rgba(169, 193, 232, 0.26);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  overflow: hidden;
}

.mini-card::before {
  content: "";
  position: absolute;
  inset: 0 45% 0 0;
  opacity: 0.9;
}

.mini-card-wiki::before {
  background: linear-gradient(135deg, rgba(209, 197, 255, 0.95), rgba(245, 232, 255, 0.3));
}

.mini-card-api::before {
  background: linear-gradient(135deg, rgba(184, 204, 255, 0.95), rgba(232, 241, 255, 0.2));
}

.mini-card-webui::before {
  background: linear-gradient(135deg, rgba(255, 191, 182, 0.95), rgba(255, 229, 207, 0.2));
}

.preview-chip {
  position: absolute;
  padding: 12px 18px;
  border: 1px solid rgba(127, 164, 230, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.chip-top { top: 10px; left: 58%; }
.chip-right { right: 0; top: 40%; }
.chip-bottom { left: 54%; bottom: 6px; }

section {
  padding: 34px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading a {
  color: var(--muted);
  white-space: nowrap;
}

.section-heading-center {
  justify-content: center;
  text-align: center;
}

.doc-grid,
.steps-grid,
.group-grid,
.client-grid,
.featured-grid,
.model-list {
  display: grid;
  gap: 20px;
}

.doc-grid,
.steps-grid,
.featured-grid,
.model-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-card,
.step-card,
.group-card,
.client-card,
.feature-card,
.model-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.doc-card,
.step-card,
.group-card,
.feature-card {
  overflow: hidden;
}

.doc-card {
  min-height: 330px;
}

.doc-visual,
.feature-visual {
  position: relative;
  height: 270px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.doc-visual::after,
.feature-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 128px;
  height: 128px;
  transform: translate(-50%, -50%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 12px 28px rgba(35, 52, 91, 0.16));
}

.visual-wiki {
  background: radial-gradient(circle at 50% 38%, rgba(230, 220, 255, 0.9), rgba(196, 170, 236, 0.45) 40%, rgba(115, 91, 157, 0.55) 100%);
}

.visual-wiki::after {
  background-image: url("./assets/doc-wiki.svg");
}

.visual-api {
  background: radial-gradient(circle at 50% 40%, rgba(251, 247, 255, 0.96), rgba(230, 197, 255, 0.8) 38%, rgba(177, 134, 255, 0.48) 100%);
}

.visual-api::after {
  background-image: url("./assets/doc-api.svg");
}

.visual-console {
  background: linear-gradient(135deg, rgba(255, 136, 165, 0.82), rgba(255, 169, 93, 0.92));
}

.visual-console::after {
  background-image: url("./assets/doc-console.svg");
}

.doc-card h3,
.feature-card h3 {
  margin: 16px 16px 6px;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.doc-card p,
.feature-card p {
  margin: 0 16px 18px;
  color: var(--muted);
  line-height: 1.7;
}

.step-card {
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #619cff, #7d85ff);
  font-weight: 800;
}

.step-card h3 {
  margin: 16px 0 10px;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.step-icons,
.step-bars,
.step-key {
  margin-top: 20px;
}

.step-icons {
  display: flex;
  gap: 10px;
}

.step-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
}

.step-bars {
  display: grid;
  gap: 12px;
}

.step-bars span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.step-bars i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #99bcff, #5d95ff);
}

.step-bars b,
.step-key label {
  color: #232a35;
  font-weight: 700;
}

.step-key code {
  display: block;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #232a35;
}

.filter-rows {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-row span:first-child {
  color: #232a35;
  font-weight: 700;
}

.filter-chip,
.client-tab {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
}

.filter-chip.is-active,
.client-tab.is-active {
  color: #fff;
  background: #15181d;
}

.group-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.group-card {
  padding: 22px;
}

.group-card.is-hidden,
.client-card.is-hidden {
  display: none;
}

.group-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.group-card-top h3 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.group-card-top span {
  color: var(--muted-soft);
}

.pill-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-row {
  margin-top: 16px;
}

.pill-row span,
.tag-row span {
  padding: 7px 10px;
  border-radius: 10px;
  background: #f4f6fb;
  color: #4c5668;
  font-size: 0.9rem;
}

.group-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.group-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.group-card li {
  position: relative;
  padding-left: 20px;
  color: #475264;
}

.group-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #52b36b;
  font-weight: 700;
}

.group-card li.muted::before {
  content: "×";
  color: #ff6f7d;
}

.tag-row {
  margin-top: 20px;
}

.client-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.client-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-card {
  min-height: 194px;
  padding: 22px;
  text-align: center;
}

.client-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background-color: #f7faff;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: 36px 36px, cover;
  box-shadow: inset 0 0 0 1px rgba(109, 146, 221, 0.1);
}

.logo-opencla { background-image: url("./assets/logo-openclaw.svg"), linear-gradient(135deg, #f2f8ff, #d9ebff); }
.logo-webui { background-image: url("./assets/logo-openwebui.svg"), linear-gradient(135deg, #f4f4f6, #f0f1f4); }
.logo-opentu { background-image: url("./assets/logo-opentu.svg"), linear-gradient(135deg, #fff0d0, #ffe0d9); }
.logo-chatmj { background-image: url("./assets/logo-chatmj.svg"), linear-gradient(135deg, #e4f1ff, #f6faff); }
.logo-cherry { background-image: url("./assets/logo-cherry.svg"), linear-gradient(135deg, #fff1f1, #ffe4e8); }
.logo-nextchat { background-image: url("./assets/logo-nextchat.svg"), linear-gradient(135deg, #dce8ff, #eef4ff); }
.logo-cursor { background-image: url("./assets/logo-cursor.svg"), linear-gradient(135deg, #f0f1f3, #dfe5eb); }
.logo-chatwise { background-image: url("./assets/logo-chatwise.svg"), linear-gradient(135deg, #eaffdf, #ebffe8); }
.logo-translate { background-image: url("./assets/logo-translate.svg"), linear-gradient(135deg, #ffe3ee, #ffd6ef); }
.logo-cline { background-image: url("./assets/logo-cline.svg"), linear-gradient(135deg, #dfe9ff, #edf4ff); }
.logo-chatbox { background-image: url("./assets/logo-chatbox.svg"), linear-gradient(135deg, #ffe1b5, #fff0cb); }
.logo-pot { background-image: url("./assets/logo-pot.svg"), linear-gradient(135deg, #f3e0bf, #e8f1ce); }

.client-card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.client-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.feature-visual-canvas {
  background: radial-gradient(circle at 32% 35%, rgba(255, 201, 228, 0.82), transparent 18%), linear-gradient(135deg, rgba(234, 238, 255, 0.95), rgba(200, 210, 255, 0.65), rgba(255, 225, 234, 0.74));
}

.feature-visual-canvas::after {
  background-image: url("./assets/feature-opentu.svg");
}

.feature-visual-code {
  background: radial-gradient(circle at 50% 50%, rgba(250, 250, 250, 0.95), rgba(200, 220, 255, 0.5), rgba(238, 240, 245, 0.9));
}

.feature-visual-code::after {
  background-image: url("./assets/feature-code.svg");
}

.feature-visual-chat {
  background: linear-gradient(180deg, #8fccff, #4e99f2 55%, #72adf8);
}

.feature-visual-chat::after {
  background-image: url("./assets/feature-chat.svg");
  filter: drop-shadow(0 16px 30px rgba(22, 53, 122, 0.22));
}

.model-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px;
}

.model-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  flex: 0 0 56px;
}

.gemini {
  background-color: #fff;
  background-image: url("./assets/model-gemini.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40px 40px;
  box-shadow: inset 0 0 0 1px rgba(120, 156, 229, 0.14);
}

.openai,
.anthropic,
.meta,
.alibaba,
.baidu,
.bytedance {
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 32px 32px;
  box-shadow: inset 0 0 0 1px rgba(120, 156, 229, 0.14);
}

.openai {
  background-image: url("./assets/model-openai.svg");
}

.anthropic {
  background-image: url("./assets/model-anthropic.svg");
}

.meta {
  background-image: url("./assets/model-meta.svg");
}

.alibaba {
  background-image: url("./assets/model-alibaba.svg");
}

.baidu {
  background-image: url("./assets/model-baidu.svg");
}

.bytedance {
  background-image: url("./assets/model-bytedance.svg");
}

.deepseek,
.tencent,
.zhipu {
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(120, 156, 229, 0.14);
}

.deepseek {
  background-image: url("./assets/model-deepseek.svg");
  background-size: 34px 34px;
}

.tencent {
  background-image: url("./assets/model-tencent.svg");
  background-size: 34px 34px;
}

.zhipu {
  background-image: url("./assets/model-zhipu.svg");
  background-size: 38px 38px;
}

.model-card h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.model-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .endpoint-copy,
  .filter-chip,
  .client-tab {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .hero-layout {
    grid-template-columns: 1fr;
    min-height: unset;
    gap: 30px;
  }

  .hero-preview {
    min-height: 380px;
  }

  .client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --content-width: min(100% - 28px, 100%);
  }

  .hero-section {
    padding-top: 84px;
    padding-bottom: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
    line-height: 1.04;
  }

  .hero-copy p {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.72;
  }

  .endpoint-copy {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 10px;
    border-radius: 24px;
    margin-top: 34px;
    padding: 14px 54px 16px 18px;
  }

  .endpoint-path {
    font-size: 0.96rem;
    max-width: 100%;
  }

  .endpoint-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero-actions,
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .group-grid,
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .model-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-panel {
    inset: 16px;
  }

  .preview-chip {
    font-size: 0.9rem;
  }

  .hero-preview {
    min-height: 420px;
    margin-top: 8px;
  }

  .preview-cardstack {
    gap: 12px;
    margin-top: 20px;
  }

  .mini-card {
    min-height: 78px;
    padding: 16px 18px;
    border-radius: 18px;
  }
}

@media (max-width: 560px) {
  .hero-section {
    padding-top: 104px;
    padding-bottom: 18px;
  }

  .hero-layout {
    gap: 22px;
  }

  .section-kicker {
    padding: 7px 12px;
    font-size: 0.8rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
    letter-spacing: -0.05em;
  }

  .hero-copy p {
    font-size: 0.96rem;
    line-height: 1.76;
  }

  .endpoint-copy {
    margin-top: 26px;
    padding: 14px 52px 14px 16px;
  }

  .endpoint-base {
    font-size: 0.94rem;
  }

  .endpoint-path {
    font-size: 0.9rem;
  }

  .endpoint-status {
    left: 16px;
    bottom: -24px;
    font-size: 0.82rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 16px 12px;
  }

  .hero-metrics strong {
    font-size: 1.9rem;
  }

  .hero-metrics span {
    font-size: 0.92rem;
  }

  .group-grid,
  .client-grid,
  .model-list {
    grid-template-columns: 1fr;
  }

  .client-card,
  .group-card,
  .step-card {
    padding: 18px;
  }

  .hero-preview {
    min-height: 320px;
  }

  .preview-panel {
    inset: 10px;
    padding: 14px;
    border-radius: 22px;
  }

  .preview-toolbar span {
    width: 8px;
    height: 8px;
  }

  .preview-cardstack {
    gap: 10px;
    margin-top: 16px;
  }

  .mini-card {
    min-height: 62px;
    padding: 14px 14px 14px 16px;
    font-size: 0.92rem;
    border-radius: 16px;
  }

  .preview-chip {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .chip-top {
    left: auto;
    right: 0;
  }

  .chip-right {
    top: auto;
    right: 14px;
    bottom: 76px;
  }

  .chip-bottom {
    left: 14px;
  }
}
