:root {
  color-scheme: light;
  --site-header-offset: 68px;
  --ink: #0f172a;
  --muted: #64748b;
  --soft-muted: #94a3b8;
  --line: #e2e8f0;
  --soft-line: #eef2f7;
  --panel: #ffffff;
  --soft: #f8fafc;
  --primary: #14b8a6;
  --primary-strong: #0d9488;
  --primary-soft: #f0fdfa;
  --primary-line: #99f6e4;
  --shadow: 0 16px 40px rgba(15, 23, 42, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  padding-top: var(--site-header-offset);
  overflow-x: hidden;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; }
.page-shell { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
.site-header {
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(226, 232, 240, .82);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
  backdrop-filter: blur(18px);
}
.site-nav {
  display: flex;
  width: 100%;
  max-width: 1240px;
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
}
.site-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.site-brand img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 8px 18px rgba(20, 184, 166, .13);
}
.site-nav-links {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  flex-wrap: wrap;
}
.site-nav-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.site-language-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.site-language-link:hover {
  border-color: var(--primary-line);
  background: var(--primary-soft);
  color: var(--primary-strong);
}
.site-nav-tools {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.site-aux-link, .site-account-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 7px 10px;
  color: #475569;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.site-aux-link:hover, .site-account-link:hover {
  background: var(--primary-soft);
  color: var(--primary-strong);
}
.site-aux-button {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  transition: background-color .18s ease, color .18s ease;
}
.site-aux-button:hover {
  background: var(--primary-soft);
  color: var(--primary-strong);
}
.site-account-link-primary {
  background: #0f172a;
  color: #fff;
}
.site-account-link-primary:hover {
  background: #1e293b;
  color: #fff;
}
.site-nav-link {
  display: inline-flex;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 8px 11px;
  color: #475569;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.site-nav-link:hover, .site-nav-link.is-active {
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(20, 184, 166, .14);
}
.site-nav-link.is-primary {
  margin-left: 4px;
  background: #0f172a;
  color: #fff;
  padding-right: 14px;
  padding-left: 14px;
}
.site-nav-link.is-primary:hover { background: #1e293b; color: #fff; }
main { flex: 1; min-width: 0; }
.home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, .8);
  background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 48%, #f8fafc 100%);
}
.home-hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 184, 166, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 184, 166, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  pointer-events: none;
}
.home-hero-grid {
  position: relative;
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 46px;
  align-items: center;
  padding: 68px 24px 58px;
}
.home-hero-copy { min-width: 0; }
.hero-eyebrow, .section-kicker {
  display: inline-flex;
  margin: 0 0 16px;
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero-eyebrow {
  align-items: center;
  gap: 7px;
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  padding: 7px 12px;
  letter-spacing: 0;
  text-transform: none;
}
.sparkle-mark { color: var(--primary); font-size: 14px; }
.home-hero-copy h1, .content-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.14;
  overflow-wrap: anywhere;
}
.home-hero-subtitle {
  max-width: 760px;
  margin: 18px 0 0;
  color: #334155;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.home-hero-description, .content-hero-copy > p:last-of-type {
  max-width: 760px;
  margin: 16px 0 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 17px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(20, 184, 166, .24);
}
.btn-primary:hover { background: var(--primary-strong); }
.btn-secondary { border: 1px solid var(--primary-line); background: #fff; color: var(--primary-strong); }
.btn-secondary:hover { border-color: #5eead4; background: var(--primary-soft); }
.btn-quiet { border: 1px solid var(--line); background: rgba(255, 255, 255, .78); color: #334155; }
.btn-quiet:hover { background: #fff; border-color: #cbd5e1; }
.hero-quick-stats {
  display: grid;
  max-width: 700px;
  margin-top: 30px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.hero-quick-stats div {
  min-width: 0;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 9px;
  background: rgba(255, 255, 255, .76);
  padding: 12px 13px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .035);
}
.hero-quick-stats strong, .hero-quick-stats span { display: block; }
.hero-quick-stats strong { color: var(--ink); font-size: 15px; }
.hero-quick-stats span { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.api-preview {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  box-shadow:
    0 25px 50px rgba(15, 23, 42, .3),
    0 0 0 1px rgba(20, 184, 166, .14),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
  transition: transform .24s ease, box-shadow .24s ease;
}
.api-preview:hover {
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(-3px);
  box-shadow:
    0 30px 60px rgba(15, 23, 42, .34),
    0 0 0 1px rgba(20, 184, 166, .22),
    0 0 40px rgba(20, 184, 166, .1);
}
.api-terminal-bar {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(30, 41, 59, .82);
  padding: 12px 16px;
}
.api-terminal-buttons { display: flex; gap: 8px; }
.api-terminal-buttons span { width: 12px; height: 12px; border-radius: 50%; }
.api-terminal-close { background: #ef4444; }
.api-terminal-minimize { background: #eab308; }
.api-terminal-maximize { background: #22c55e; }
.api-terminal-title {
  flex: 1;
  margin-right: 52px;
  color: #64748b;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-align: center;
}
.api-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  padding: 18px 20px 16px;
}
.api-preview h2 { margin: 0; color: #f8fafc; font-size: 16px; }
.api-preview-head p { margin: 6px 0 0; color: #94a3b8; font-size: 13px; line-height: 1.6; }
.status-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(20, 184, 166, .13);
  padding: 6px 9px;
  color: #5eead4;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.api-preview-body { padding: 18px 20px; }
.api-label, .api-endpoints span { display: block; color: #64748b; font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.api-base code {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 8px;
  background: rgba(15, 23, 42, .75);
  padding: 11px 12px;
  color: #f8fafc;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.api-endpoints { display: grid; margin-top: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.api-endpoints > div { min-width: 0; border: 1px solid rgba(148, 163, 184, .18); border-radius: 8px; background: rgba(15, 23, 42, .48); padding: 11px; }
.api-endpoints code { display: block; margin-top: 7px; color: #e2e8f0; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.api-code { margin: 0 20px 20px; border-radius: 9px; background: rgba(2, 6, 23, .72); padding: 14px; color: #f8fafc; }
.api-code-title { display: flex; align-items: center; gap: 7px; color: #94a3b8; font-size: 11px; }
.terminal-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.api-code pre { overflow-x: auto; margin: 10px 0 0; white-space: pre; }
.api-code code { color: #e2e8f0; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 11px; line-height: 1.8; }
.metrics-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.metrics-grid {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 28px 24px;
}
.metric-item { display: flex; min-width: 0; align-items: center; gap: 12px; }
.metric-icon { position: relative; display: inline-flex; width: 42px; height: 42px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 9px; }
.metric-icon::before, .metric-icon::after { position: absolute; content: ""; }
.metric-icon::before { width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 4px; }
.metric-icon::after { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 9px 0 currentColor, 0 9px currentColor, 9px 9px currentColor; }
.metric-icon-blue { background: #eff6ff; color: #2563eb; }
.metric-icon-violet { background: #f5f3ff; color: #7c3aed; }
.metric-icon-teal { background: #ecfeff; color: #0f766e; }
.metric-icon-amber { background: #fffbeb; color: #b45309; }
.metric-item strong, .metric-item span { display: block; }
.metric-item strong { color: var(--ink); font-size: 22px; line-height: 1.2; }
.metric-item span { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.model-catalog-section, .value-pillars-section, .capabilities-section, .workflow-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 66px 24px 18px;
}
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-heading, .section-heading-row > div { max-width: 780px; }
.section-kicker { margin-bottom: 10px; letter-spacing: 0; }
.section-heading h2, .section-heading-row h2 { margin: 0; color: var(--ink); font-size: 30px; font-weight: 650; line-height: 1.25; }
.section-heading p:last-child, .section-heading-row p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.section-heading-link { flex: 0 0 auto; color: var(--primary); font-size: 14px; font-weight: 700; text-decoration: none; }
.section-heading-link:hover, .model-group-link:hover, .capability-card a:hover { text-decoration: underline; }
.model-catalog-grid { display: grid; margin-top: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.capability-tags { display: grid; margin-top: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.capability-tag { min-width: 0; border: 1px solid var(--tag-border, var(--primary-line)); border-radius: 8px; background: var(--tag-soft, var(--primary-soft)); padding: 11px 12px; }
.capability-tag strong, .capability-tag span { display: block; overflow-wrap: anywhere; }
.capability-tag strong { color: var(--tag-accent, var(--primary)); font-size: 13px; line-height: 1.4; }
.capability-tag span { margin-top: 4px; color: #64748b; font-size: 11px; line-height: 1.55; }
.capability-tag-blue { --tag-accent: #2563eb; --tag-soft: #eff6ff; --tag-border: #bfdbfe; }
.capability-tag-violet { --tag-accent: #7c3aed; --tag-soft: #f5f3ff; --tag-border: #ddd6fe; }
.capability-tag-rose { --tag-accent: #e11d48; --tag-soft: #fff1f2; --tag-border: #fecdd3; }
.capability-tag-teal { --tag-accent: #0f766e; --tag-soft: #f0fdfa; --tag-border: #99f6e4; }
.capability-tag-amber { --tag-accent: #b45309; --tag-soft: #fffbeb; --tag-border: #fde68a; }
.model-group-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--card-accent, var(--primary));
  border-radius: 8px;
  background: #fff;
  padding: 17px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.model-group-card:hover { border-color: var(--primary-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.model-group-head { display: flex; min-width: 0; align-items: center; gap: 10px; }
.model-group-mark { display: flex; width: 33px; height: 33px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 8px; background: var(--card-soft, #eff6ff); color: var(--card-accent, var(--primary)); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 750; }
.model-group-title { min-width: 0; flex: 1; }
.model-group-title h3 { margin: 0; color: var(--ink); font-size: 17px; font-weight: 700; }
.model-group-title p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.model-capability { flex: 0 0 auto; border-radius: 999px; background: var(--card-soft, #eff6ff); padding: 4px 7px; color: var(--card-accent, var(--primary)); font-size: 10px; font-weight: 750; line-height: 1.35; text-align: center; }
.model-group-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 15px; border-top: 1px solid var(--soft-line); padding-top: 11px; color: var(--soft-muted); font-size: 11px; }
.model-chip-list { display: flex; min-height: 65px; align-content: flex-start; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.model-chip { max-width: 100%; border: 1px solid var(--soft-line); border-radius: 6px; background: #f8fafc; padding: 5px 7px; color: #475569; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.model-group-link, .capability-card a { display: inline-flex; gap: 6px; margin-top: 16px; color: var(--primary); font-size: 12px; font-weight: 750; text-decoration: none; }
.model-tone-blue { --card-accent: #2563eb; --card-soft: #eff6ff; }
.model-tone-violet { --card-accent: #7c3aed; --card-soft: #f5f3ff; }
.model-tone-amber { --card-accent: #b45309; --card-soft: #fffbeb; }
.model-tone-indigo { --card-accent: #4f46e5; --card-soft: #eef2ff; }
.model-tone-rose { --card-accent: #e11d48; --card-soft: #fff1f2; }
.model-tone-teal { --card-accent: #0f766e; --card-soft: #f0fdfa; }
.model-tone-green { --card-accent: #15803d; --card-soft: #f0fdf4; }
.catalog-source-note { margin: 16px 0 0; color: var(--soft-muted); font-size: 11px; line-height: 1.7; }
.value-pillars-section { padding-top: 48px; padding-bottom: 18px; }
.value-pillar-grid { display: grid; margin-top: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.value-pillar-card { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 20px; box-shadow: 0 8px 22px rgba(15, 23, 42, .035); }
.value-pillar-mark { display: block; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 10px; background: var(--card-soft, #eff6ff); box-shadow: inset 0 0 0 1px var(--card-border, #dbeafe); }
.value-pillar-mark::before { display: block; width: 14px; height: 14px; margin: 13px; border: 2px solid var(--card-accent, var(--primary)); border-radius: 4px; content: ""; }
.value-pillar-card h3 { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.35; }
.value-pillar-card p { min-height: 76px; margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.value-tone-blue { --card-accent: #2563eb; --card-soft: #eff6ff; --card-border: #bfdbfe; }
.value-tone-violet { --card-accent: #7c3aed; --card-soft: #f5f3ff; --card-border: #ddd6fe; }
.value-tone-teal { --card-accent: #0f766e; --card-soft: #f0fdfa; --card-border: #99f6e4; }
.value-tone-amber { --card-accent: #b45309; --card-soft: #fffbeb; --card-border: #fde68a; }
.value-tone-indigo { --card-accent: #4f46e5; --card-soft: #eef2ff; --card-border: #c7d2fe; }
.value-tone-rose { --card-accent: #e11d48; --card-soft: #fff1f2; --card-border: #fecdd3; }
.capabilities-section { padding-top: 54px; padding-bottom: 64px; }
.capability-grid { display: grid; margin-top: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.capability-card { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 20px; box-shadow: 0 8px 22px rgba(15, 23, 42, .035); }
.capability-mark { display: block; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 10px; background: var(--card-soft, #eff6ff); box-shadow: inset 0 0 0 1px var(--card-border, #dbeafe); }
.capability-mark::before { display: block; width: 14px; height: 14px; margin: 13px; border: 2px solid var(--card-accent, var(--primary)); border-radius: 4px; content: ""; }
.capability-card h3 { margin: 0; color: var(--ink); font-size: 18px; }
.capability-card p { min-height: 52px; margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.capability-tone-blue { --card-accent: #2563eb; --card-soft: #eff6ff; --card-border: #bfdbfe; }
.capability-tone-teal { --card-accent: #0f766e; --card-soft: #f0fdfa; --card-border: #99f6e4; }
.capability-tone-amber { --card-accent: #b45309; --card-soft: #fffbeb; --card-border: #fde68a; }
.workflow-section { padding-top: 10px; padding-bottom: 64px; }
.workflow-grid { display: grid; margin-top: 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.workflow-step { min-width: 0; border-top: 2px solid #cbd5e1; padding: 16px 2px 0; }
.workflow-step-head { display: flex; align-items: center; gap: 10px; }
.workflow-step-number { display: inline-flex; width: 34px; height: 34px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 750; }
.workflow-step-line { display: block; height: 1px; flex: 1; background: #e2e8f0; }
.workflow-step h3 { margin: 17px 0 0; color: var(--ink); font-size: 17px; line-height: 1.35; }
.workflow-step p { min-height: 52px; margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.workflow-step a { display: inline-flex; gap: 6px; margin-top: 12px; color: var(--primary); font-size: 12px; font-weight: 750; text-decoration: none; }
.workflow-step a:hover { text-decoration: underline; }
.home-cta {
  display: flex;
  max-width: 1240px;
  margin: 0 auto 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 8px;
  background: #0f172a;
  padding: 38px 40px;
  color: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .18);
}
.home-cta h2 { margin: 0; font-size: 28px; font-weight: 650; line-height: 1.3; }
.home-cta p { max-width: 650px; margin: 9px 0 0; color: #cbd5e1; font-size: 14px; line-height: 1.8; }
.home-cta-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 9px; }
.btn-on-dark { box-shadow: 0 12px 25px rgba(20, 184, 166, .32); }
.btn-dark-quiet { border: 1px solid #475569; background: transparent; color: #e2e8f0; }
.btn-dark-quiet:hover { border-color: #94a3b8; background: #1e293b; }
.content-hero {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 36px;
  align-items: center;
  padding: 62px 24px 42px;
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 76%);
}
.content-hero-copy { min-width: 0; }
.content-hero-copy h1 { font-size: 42px; }
.content-summary { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 19px; box-shadow: var(--shadow); }
.content-summary img { display: block; width: 100%; max-height: 145px; margin: 0 auto 16px; object-fit: contain; }
.content-summary dl { display: grid; gap: 10px; margin: 0; }
.content-summary dl > div { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--soft-line); padding-top: 10px; }
.content-summary dt { color: var(--soft-muted); font-size: 12px; }
.content-summary dd { min-width: 0; margin: 0; color: var(--ink); font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.content-band, .code-band { max-width: 1240px; margin: 0 auto; padding: 30px 24px 12px; }
.content-band[id] { scroll-margin-top: 24px; }
.docs-toc { display: grid; max-width: 1192px; margin: 28px auto 0; padding: 0 24px 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 16px; }
.docs-toc a { color: var(--primary); font-size: 14px; line-height: 1.5; text-decoration: none; }
.docs-toc a:hover, .docs-toc a:focus-visible { text-decoration: underline; }
.doc-examples { display: grid; gap: 18px; margin-top: 22px; }
.doc-example { min-width: 0; }
.doc-example h3 { margin: 0 0 8px; color: var(--ink); font-size: 16px; line-height: 1.4; }
.doc-example pre { overflow: auto; margin: 0; padding: 17px; border-radius: 8px; background: #0f172a; color: #e2e8f0; }
.doc-example code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 1.8; white-space: pre; }
.section-head { max-width: 780px; margin-bottom: 18px; }
.section-head h2, .code-band h2 { margin: 0; color: var(--ink); font-size: 26px; font-weight: 650; line-height: 1.3; }
.section-head p, .code-band p { margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.info-card { display: flex; min-height: 170px; flex-direction: column; justify-content: space-between; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 18px; box-shadow: 0 8px 22px rgba(15, 23, 42, .035); }
.info-card h3 { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.35; }
.info-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.info-card code { display: block; border-radius: 7px; background: #0f172a; padding: 9px 10px; color: #e2e8f0; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.card-link { margin-top: 15px; color: var(--primary); font-size: 13px; font-weight: 750; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.code-band { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; padding-top: 36px; padding-bottom: 60px; }
.code-band pre { overflow: auto; margin: 0; border-radius: 10px; background: #0f172a; padding: 17px; color: #e2e8f0; }
.code-band code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.legal-hero {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: end;
  padding: 56px 24px 32px;
}
.legal-hero h1 { margin: 0; color: var(--ink); font-size: 42px; font-weight: 650; line-height: 1.16; letter-spacing: 0; }
.legal-hero p:not(.hero-eyebrow) { max-width: 720px; margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.legal-note {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}
.legal-note strong, .legal-note span { display: block; }
.legal-note strong { color: var(--ink); font-size: 15px; }
.legal-note span { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.legal-document-band {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  padding: 12px 24px 64px;
  align-items: start;
}
.legal-document {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 34px;
  box-shadow: var(--shadow);
}
.legal-document h1 { margin: 0 0 12px; color: var(--ink); font-size: 30px; font-weight: 650; line-height: 1.25; letter-spacing: 0; }
.legal-document h2 { margin: 30px 0 12px; color: #0f766e; font-size: 20px; font-weight: 720; letter-spacing: 0; }
.legal-document p, .legal-document li { color: #334155; font-size: 15px; line-height: 1.92; overflow-wrap: anywhere; }
.legal-document p { margin: 10px 0; }
.legal-document ol { margin: 8px 0 0 20px; padding: 0; }
.legal-document li + li { margin-top: 6px; }
.legal-document-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  box-shadow: var(--shadow);
}
.legal-document-side a {
  border-radius: 8px;
  padding: 9px 10px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.legal-document-side a:hover { background: var(--primary-soft); color: var(--primary-strong); }
.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: #fff; }
.site-footer-inner { display: flex; max-width: 1240px; margin: 0 auto; align-items: flex-start; justify-content: space-between; gap: 20px 32px; padding: 25px 24px; color: var(--muted); font-size: 12px; line-height: 1.9; flex-wrap: wrap; }
.site-footer-compliance { min-width: 0; }
.site-footer-compliance strong, .site-footer-compliance span { display: block; }
.site-footer-compliance strong { color: #334155; font-size: 13px; }
.site-footer nav { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.site-footer nav a { color: #475569; text-decoration: none; }
.site-footer nav a:hover { color: var(--primary); }
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e5eef7;
  --muted: #a8b5c5;
  --soft-muted: #8291a5;
  --line: #2d3b4f;
  --soft-line: #223044;
  --panel: #111827;
  --soft: #0b1220;
  --primary: #2dd4bf;
  --primary-strong: #5eead4;
  --primary-soft: #123d3b;
  --primary-line: #2b756e;
  --shadow: 0 16px 40px rgba(0, 0, 0, .28);
}
html[data-theme="dark"] body {
  background: var(--soft);
  color: var(--ink);
}
html[data-theme="dark"] .site-header {
  border-bottom-color: rgba(71, 85, 105, .66);
  background: rgba(15, 23, 42, .94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
html[data-theme="dark"] .site-brand,
html[data-theme="dark"] .site-nav-link,
html[data-theme="dark"] .site-aux-link,
html[data-theme="dark"] .site-account-link {
  color: #cbd5e1;
}
html[data-theme="dark"] .site-brand img {
  background: #1e293b;
}
html[data-theme="dark"] .site-language-link {
  border-color: var(--line);
  color: #cbd5e1;
}
html[data-theme="dark"] .site-language-link:hover,
html[data-theme="dark"] .site-aux-link:hover,
html[data-theme="dark"] .site-account-link:hover,
html[data-theme="dark"] .site-aux-button:hover {
  background: var(--primary-soft);
  color: var(--primary-strong);
}
html[data-theme="dark"] .site-aux-button {
  color: #94a3b8;
}
html[data-theme="dark"] .site-account-link-primary,
html[data-theme="dark"] .site-nav-link.is-primary {
  background: #14b8a6;
  color: #042f2e;
}
html[data-theme="dark"] .site-account-link-primary:hover,
html[data-theme="dark"] .site-nav-link.is-primary:hover {
  background: #2dd4bf;
  color: #042f2e;
}
html[data-theme="dark"] .site-nav-link:hover,
html[data-theme="dark"] .site-nav-link.is-active {
  background: var(--primary-soft);
  color: var(--primary-strong);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, .22);
}
html[data-theme="dark"] .home-hero {
  border-bottom-color: var(--line);
  background: linear-gradient(135deg, #0b1220 0%, #102c2c 48%, #0b1220 100%);
}
html[data-theme="dark"] .home-hero::before {
  background-image: linear-gradient(rgba(45, 212, 191, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 212, 191, .07) 1px, transparent 1px);
}
html[data-theme="dark"] .hero-eyebrow {
  background: rgba(15, 23, 42, .68);
}
html[data-theme="dark"] .home-hero-subtitle {
  color: #cbd5e1;
}
html[data-theme="dark"] .home-hero-description,
html[data-theme="dark"] .content-hero-copy > p:last-of-type {
  color: var(--muted);
}
html[data-theme="dark"] .btn-secondary {
  border-color: var(--primary-line);
  background: var(--panel);
  color: var(--primary-strong);
}
html[data-theme="dark"] .btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}
html[data-theme="dark"] .btn-quiet {
  border-color: var(--line);
  background: rgba(15, 23, 42, .68);
  color: #cbd5e1;
}
html[data-theme="dark"] .btn-quiet:hover {
  border-color: #475569;
  background: #1e293b;
}
html[data-theme="dark"] .hero-quick-stats div {
  border-color: var(--line);
  background: rgba(15, 23, 42, .64);
}
html[data-theme="dark"] .metrics-strip {
  border-color: var(--line);
  background: var(--panel);
}
html[data-theme="dark"] .metric-icon-blue {
  background: #132744;
  color: #60a5fa;
}
html[data-theme="dark"] .metric-icon-violet {
  background: #241a43;
  color: #a78bfa;
}
html[data-theme="dark"] .metric-icon-teal {
  background: #103b3a;
  color: #5eead4;
}
html[data-theme="dark"] .metric-icon-amber {
  background: #3b2b12;
  color: #fbbf24;
}
html[data-theme="dark"] .capability-tag-blue {
  --tag-accent: #60a5fa;
  --tag-soft: #132744;
  --tag-border: #27578a;
}
html[data-theme="dark"] .capability-tag-violet {
  --tag-accent: #a78bfa;
  --tag-soft: #241a43;
  --tag-border: #5b458e;
}
html[data-theme="dark"] .capability-tag-rose {
  --tag-accent: #fb7185;
  --tag-soft: #3a1822;
  --tag-border: #8e3048;
}
html[data-theme="dark"] .capability-tag-teal {
  --tag-accent: #5eead4;
  --tag-soft: #103b3a;
  --tag-border: #2b756e;
}
html[data-theme="dark"] .capability-tag-amber {
  --tag-accent: #fbbf24;
  --tag-soft: #3b2b12;
  --tag-border: #8a631a;
}
html[data-theme="dark"] .capability-tag span {
  color: var(--muted);
}
html[data-theme="dark"] .model-tone-blue,
html[data-theme="dark"] .value-tone-blue,
html[data-theme="dark"] .capability-tone-blue {
  --card-accent: #60a5fa;
  --card-soft: #132744;
  --card-border: #27578a;
}
html[data-theme="dark"] .model-tone-violet,
html[data-theme="dark"] .value-tone-violet {
  --card-accent: #a78bfa;
  --card-soft: #241a43;
  --card-border: #5b458e;
}
html[data-theme="dark"] .model-tone-amber,
html[data-theme="dark"] .value-tone-amber,
html[data-theme="dark"] .capability-tone-amber {
  --card-accent: #fbbf24;
  --card-soft: #3b2b12;
  --card-border: #8a631a;
}
html[data-theme="dark"] .model-tone-indigo,
html[data-theme="dark"] .value-tone-indigo {
  --card-accent: #818cf8;
  --card-soft: #20234a;
  --card-border: #4b55a2;
}
html[data-theme="dark"] .model-tone-rose,
html[data-theme="dark"] .value-tone-rose {
  --card-accent: #fb7185;
  --card-soft: #3a1822;
  --card-border: #8e3048;
}
html[data-theme="dark"] .model-tone-teal,
html[data-theme="dark"] .value-tone-teal,
html[data-theme="dark"] .capability-tone-teal {
  --card-accent: #5eead4;
  --card-soft: #103b3a;
  --card-border: #2b756e;
}
html[data-theme="dark"] .model-tone-green {
  --card-accent: #4ade80;
  --card-soft: #123322;
  --card-border: #2d7548;
}
html[data-theme="dark"] .model-group-card,
html[data-theme="dark"] .value-pillar-card,
html[data-theme="dark"] .capability-card,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .content-summary,
html[data-theme="dark"] .legal-note,
html[data-theme="dark"] .legal-document,
html[data-theme="dark"] .legal-document-side {
  border-color: var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
html[data-theme="dark"] .model-chip {
  border-color: var(--soft-line);
  background: #172235;
  color: #cbd5e1;
}
html[data-theme="dark"] .workflow-step {
  border-top-color: #475569;
}
html[data-theme="dark"] .workflow-step-line {
  background: var(--line);
}
html[data-theme="dark"] .content-hero {
  background: linear-gradient(180deg, #102c2c 0%, #0b1220 76%);
}
html[data-theme="dark"] .legal-document h2 {
  color: var(--primary-strong);
}
html[data-theme="dark"] .legal-document p,
html[data-theme="dark"] .legal-document li {
  color: #cbd5e1;
}
html[data-theme="dark"] .legal-document-side a,
html[data-theme="dark"] .site-footer nav a {
  color: #cbd5e1;
}
html[data-theme="dark"] .legal-document-side a:hover {
  background: var(--primary-soft);
  color: var(--primary-strong);
}
html[data-theme="dark"] .site-footer {
  border-top-color: var(--line);
  background: var(--panel);
}
html[data-theme="dark"] .site-footer-compliance strong {
  color: #cbd5e1;
}
@media (max-width: 1080px) {
  :root { --site-header-offset: 136px; }
  .site-nav { align-items: flex-start; flex-direction: column; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .site-nav-actions { position: relative; width: 100%; align-items: stretch; flex-direction: column; gap: 8px; }
  .site-nav-tools { position: absolute; top: -48px; right: 0; }
  .site-nav-links { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; justify-content: flex-start; }
  .site-nav-link { width: 100%; padding: 8px 6px; white-space: normal; }
  .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 28px; }
  .model-catalog-grid, .capability-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .home-hero-grid, .content-hero, .legal-hero, .legal-document-band { grid-template-columns: 1fr; }
  .home-hero-grid { padding-top: 48px; }
  .api-preview, .content-summary { max-width: 560px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-pillar-grid, .capability-grid, .workflow-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-cta { margin-right: 24px; margin-left: 24px; }
  .legal-document-side { position: static; }
}
@media (max-width: 560px) {
  :root { --site-header-offset: 144px; }
  .site-nav, .home-hero-grid, .content-hero, .model-catalog-section, .value-pillars-section, .capabilities-section, .workflow-section, .content-band, .code-band, .legal-hero, .legal-document-band { padding-right: 16px; padding-left: 16px; }
  .site-nav-actions { gap: 6px; }
  .site-nav-tools { right: 0; }
  .site-nav-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-nav-link { font-size: 12px; }
  .site-nav-link.is-primary { margin-left: 0; }
  .site-brand span { display: none; }
  .site-aux-link, .site-account-link { padding-right: 8px; padding-left: 8px; }
  .site-nav-tools { top: -48px; }
  .home-hero-copy h1, .content-hero-copy h1 { font-size: 33px; }
  .home-hero-subtitle { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .home-cta-actions .btn { width: 100%; }
  .hero-quick-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .api-endpoints, .metrics-grid, .model-catalog-grid, .capability-tags, .value-pillar-grid, .capability-grid, .workflow-grid, .card-grid, .code-band { grid-template-columns: 1fr; }
  .docs-toc { grid-template-columns: 1fr 1fr; padding-right: 16px; padding-left: 16px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .section-heading-row h2 { font-size: 25px; }
  .home-cta { align-items: stretch; flex-direction: column; margin: 0 16px 42px; padding: 28px 22px; }
  .home-cta h2 { font-size: 24px; }
  .legal-hero h1 { font-size: 31px; }
  .legal-document { padding: 24px 20px; }
  .legal-document h1 { font-size: 25px; }
  .legal-document h2 { font-size: 18px; }
  .site-footer-inner { padding: 22px 16px; }
  .site-footer nav { align-items: flex-start; flex-direction: column; gap: 3px; }
}
@media (max-width: 360px) {
  html[lang="en"] { --site-header-offset: 156px; }
}