:root {
  color-scheme: light;
  --purple: #6d35f5;
  --purple-deep: #4f20d8;
  --purple-soft: #efe7ff;
  --text: #07091e;
  --muted: #5e6378;
  --line: #e7e3f1;
  --panel: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(83, 43, 178, 0.14);
  --radius: 10px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 5%, rgba(132, 80, 255, 0.2), transparent 31%),
    radial-gradient(circle at 94% 18%, rgba(168, 121, 255, 0.18), transparent 27%),
    linear-gradient(180deg, #f8f4ff 0%, #ffffff 39%, #fbf9ff 72%, #ffffff 100%);
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1260px, calc(100vw - 4px));
  height: 66px;
  margin: 0 auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 180px 1fr 310px;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(225, 218, 244, 0.86);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 40px rgba(74, 35, 160, 0.06);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-actions,
.hero-actions,
.user-proof,
.trust-row,
.product-section,
.cta-band,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 31px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
}

.nav-links {
  justify-content: center;
  gap: clamp(22px, 3vw, 40px);
  color: #15162c;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  height: 66px;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--purple);
}

.header-actions {
  justify-content: flex-end;
  gap: 12px;
}

.language-switch,
.nav-language-switch {
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #ded8ea;
  border-radius: 999px;
  background: #ffffff;
  color: #5f6478;
  font-size: 12px;
  font-weight: 800;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
}

.nav-language-switch {
  display: none;
}

.language-switch a,
.nav-language-switch a {
  min-width: 31px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.language-switch a.is-active,
.nav-language-switch a.is-active {
  color: white;
  background: var(--purple);
}

.star-link,
.header-cta,
.button {
  height: 43px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  border: 1px solid transparent;
}

.star-link {
  min-width: 80px;
  height: 36px;
  gap: 8px;
  padding: 0 14px;
  color: #686679;
  background: #f1eff4;
  border-color: transparent;
  border-radius: 999px;
  box-shadow: none;
  font-size: 15px;
}

.star-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.star-link b {
  font: inherit;
  color: currentColor;
}

.header-cta {
  min-width: 100px;
  color: white;
  background: linear-gradient(135deg, #7f42ff, #5a24dc);
  box-shadow: 0 10px 24px rgba(109, 53, 245, 0.22);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.hero::before {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -14vw;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: rgba(120, 74, 255, 0.1);
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
  padding: 54px 0 28px;
}

.pill {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  width: fit-content;
  margin: 0 0 22px;
  padding: 7px 14px;
  border: 1px solid #d5c8ff;
  border-radius: 7px;
  color: var(--purple);
  background: rgba(239, 231, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 25px;
  font-size: clamp(48px, 5vw, 74px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 900;
}

h1 span {
  display: block;
}

h1 .hero-title-line {
  color: var(--text);
  white-space: nowrap;
}

h1 span {
  color: var(--purple);
}

.hero-lede {
  max-width: 560px;
  color: #3f455c;
  font-size: 18px;
  line-height: 1.82;
}

.hero-actions {
  gap: 20px;
  margin-top: 28px;
}

.button {
  min-width: 156px;
  padding: 0 24px;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button.primary {
  color: white;
  background: linear-gradient(135deg, #7336fb, #5a20df);
  box-shadow: 0 16px 32px rgba(109, 53, 245, 0.24);
}

.button.primary span {
  margin-left: 10px;
}

.button.ghost {
  color: #15162c;
  background: white;
  border-color: #ded8ea;
  box-shadow: 0 12px 28px rgba(18, 14, 42, 0.04);
}

.github-dot {
  width: 19px;
  height: 19px;
  margin-right: 9px;
  border-radius: 50%;
  background: #0f1022;
  position: relative;
}

.github-dot::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: white;
}

.user-proof {
  gap: 18px;
  margin-top: 26px;
  color: #40445b;
  font-size: 18px;
  font-weight: 650;
}

.avatars {
  display: block;
  width: 190px;
  height: 48px;
  object-fit: contain;
}

.hero-art {
  min-height: 420px;
  display: grid;
  place-items: center;
  position: relative;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -60px -70px -40px -70px;
  background:
    radial-gradient(circle at center, rgba(112, 61, 245, 0.08), transparent 54%),
    repeating-radial-gradient(circle at center, rgba(111, 64, 245, 0.16) 0 1px, transparent 1px 34px);
  mask-image: radial-gradient(circle at center, black 0%, transparent 75%);
}

.hero-platform {
  position: relative;
  width: min(560px, 100%);
  height: 420px;
}

.hero-logo-stage {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 270px;
  height: 270px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}

.hero-logo-stage img {
  position: relative;
  z-index: 4;
  width: 235px;
  height: 235px;
  border-radius: 50%;
  filter: drop-shadow(0 28px 28px rgba(75, 28, 188, 0.22));
  transform: perspective(900px) rotateX(7deg);
}

.stage-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(116, 61, 245, 0.16);
  background: rgba(255, 255, 255, 0.28);
}

.ring-one {
  inset: 6px;
}

.ring-two {
  inset: -18px;
}

.platform-base {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 3px;
  width: 255px;
  height: 64px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.8), transparent 60%),
    linear-gradient(180deg, rgba(158, 113, 255, 0.42), rgba(100, 48, 235, 0.46));
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.45),
    0 24px 36px rgba(84, 43, 180, 0.18);
}

.capability-node {
  position: absolute;
  z-index: 5;
  width: 84px;
  height: 74px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 10px 8px;
  border: 1px solid #eee8fb;
  border-radius: 14px;
  color: #171931;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(75, 28, 188, 0.12);
  font-size: 12px;
  font-weight: 750;
}

.cap-icon {
  position: relative;
  width: 25px;
  height: 25px;
  display: block;
  color: #7b42ff;
}

.cap-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
  mask: var(--icon-mask) center / contain no-repeat;
}

.cap-icon::after {
  content: none;
}

.icon-text {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 7h12M6 12h12M6 17h12'/%3E%3C/svg%3E");
}

.icon-image {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4.5' width='14' height='15' rx='2.5'/%3E%3Ccircle cx='9.2' cy='9' r='1.4' fill='black' stroke='none'/%3E%3Cpath d='m6.5 17 4.2-4.5 3 3 2-2 2.8 3.5'/%3E%3C/svg%3E");
}

.icon-audio {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6 14v-4M10 18V6M14 16V8M18 20V4'/%3E%3C/svg%3E");
}

.icon-video {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4.5' width='14' height='15' rx='3'/%3E%3Cpath d='m11 9 5 3-5 3z' fill='black' stroke='none'/%3E%3C/svg%3E");
}

.icon-embedding {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='7' cy='7' r='2.1'/%3E%3Ccircle cx='12' cy='7' r='2.1'/%3E%3Ccircle cx='17' cy='7' r='2.1'/%3E%3Ccircle cx='7' cy='12' r='2.1'/%3E%3Ccircle cx='12' cy='12' r='2.1'/%3E%3Ccircle cx='17' cy='12' r='2.1'/%3E%3Ccircle cx='7' cy='17' r='2.1'/%3E%3Ccircle cx='12' cy='17' r='2.1'/%3E%3Ccircle cx='17' cy='17' r='2.1'/%3E%3C/svg%3E");
}

.icon-agent {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v3'/%3E%3Crect x='5.5' y='7' width='13' height='11.5' rx='4'/%3E%3Cpath d='M9.5 12h.01M14.5 12h.01M10 16h4'/%3E%3C/svg%3E");
}

.icon-workflow {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6.5' cy='6.5' r='2.5' fill='black' stroke='none'/%3E%3Ccircle cx='17.5' cy='6.5' r='2.5' fill='black' stroke='none'/%3E%3Ccircle cx='12' cy='17.5' r='2.5' fill='black' stroke='none'/%3E%3Cpath d='M6.5 9v2.2c0 2 1.2 3.3 3.1 4M17.5 9v2.2c0 2-1.2 3.3-3.1 4'/%3E%3C/svg%3E");
}

.icon-asr {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='4' width='6' height='10' rx='3'/%3E%3Cpath d='M6.5 11.5a5.5 5.5 0 0 0 11 0M12 17v3M9 20h6'/%3E%3C/svg%3E");
}

.icon-tts {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10h3.2L13 6.5v11L8.2 14H5z' fill='black' stroke='none'/%3E%3Cpath d='M16 9.2a4 4 0 0 1 0 5.6M18.7 6.7a7.8 7.8 0 0 1 0 10.6'/%3E%3C/svg%3E");
}

.icon-vision {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.8 12s3-5 8.2-5 8.2 5 8.2 5-3 5-8.2 5-8.2-5-8.2-5z'/%3E%3Ccircle cx='12' cy='12' r='2.5' fill='black' stroke='none'/%3E%3C/svg%3E");
}

.capability-node.text { left: 54px; top: 18px; }
.capability-node.image { left: 26px; top: 110px; }
.capability-node.audio { left: 34px; top: 202px; }
.capability-node.video { left: 54px; top: 292px; }
.capability-node.embedding { right: 26px; top: 78px; }
.capability-node.agent { right: 26px; top: 176px; }
.capability-node.workflow { right: 38px; top: 278px; }

.connector {
  position: absolute;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 68, 255, 0.42), transparent);
  transform-origin: left center;
}

.c1 { width: 130px; left: 137px; top: 75px; transform: rotate(22deg); }
.c2 { width: 150px; left: 111px; top: 147px; transform: rotate(9deg); }
.c3 { width: 140px; left: 119px; top: 238px; transform: rotate(-9deg); }
.c4 { width: 136px; left: 139px; top: 325px; transform: rotate(-21deg); }
.c5 { width: 142px; left: 330px; top: 142px; transform: rotate(-18deg); }
.c6 { width: 136px; left: 337px; top: 258px; transform: rotate(18deg); }
}

.orbit {
  position: absolute;
  border: 1px solid rgba(112, 70, 244, 0.12);
  border-radius: 50%;
}

.orbit-one {
  width: 470px;
  height: 470px;
}

.orbit-two {
  width: 620px;
  height: 620px;
}

.logo-shadow {
  position: absolute;
  bottom: 52px;
  width: 210px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(63, 30, 155, 0.24), transparent 72%);
  filter: blur(8px);
}

.trust-row {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto 26px;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid #e6dff4;
  border-radius: 10px;
  color: #32364c;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 42px rgba(72, 38, 150, 0.06);
  font-size: 15px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

[data-icon] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--purple);
  border-radius: 5px;
  display: inline-block;
  position: relative;
}

[data-icon]::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--purple);
}

.section {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 12px 0 34px;
}

.section-heading {
  text-align: center;
  margin: 0 auto 28px;
}

.section-heading h2,
.product-copy h2,
.docs-copy h2,
.cta-band h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading h2 span,
.model-section h2 span {
  color: var(--purple);
}

.section-heading p,
.product-copy p,
.docs-copy p,
.cta-band p,
.footer-brand p {
  color: var(--muted);
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 168px;
  padding: 25px 20px 20px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 50px rgba(63, 34, 142, 0.05);
}

.feature-card img {
  width: 58px;
  height: 58px;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: rgba(109, 53, 245, 0.1);
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin: 0 0 17px;
  position: relative;
  display: block;
  color: var(--purple);
}

.feature-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(109, 53, 245, 0.08), rgba(109, 53, 245, 0.18));
  filter: blur(0.2px);
}

.feature-icon i {
  position: absolute;
  display: block;
}

.feature-icon.cubes i {
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid #9a72ff;
  transform: translate(-50%, -50%) rotate(30deg) skewY(-10deg);
}

.feature-icon.cubes i:nth-child(1) {
  left: 21px;
  top: 10px;
}

.feature-icon.cubes i:nth-child(2) {
  left: 12px;
  top: 25px;
}

.feature-icon.cubes i:nth-child(3) {
  left: 29px;
  top: 25px;
}

.feature-icon.grid {
  position: relative;
}

.feature-icon.grid i {
  width: 11px;
  height: 11px;
  border-radius: 4px;
  background: linear-gradient(135deg, #7c44ff, #b69cff);
  box-shadow: 0 8px 14px rgba(109, 53, 245, 0.14);
}

.feature-icon.grid i:nth-child(1) { left: 10px; top: 10px; }
.feature-icon.grid i:nth-child(2) { left: 23px; top: 10px; }
.feature-icon.grid i:nth-child(3) { left: 10px; top: 23px; }
.feature-icon.grid i:nth-child(4) { left: 23px; top: 23px; }

.feature-icon.checklist {
  position: relative;
}

.feature-icon.checklist i {
  left: 8px;
  width: 30px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c44ff 0 25%, #d8ccff 26% 100%);
}

.feature-icon.checklist i:nth-child(1) { top: 10px; }
.feature-icon.checklist i:nth-child(2) { top: 19px; }
.feature-icon.checklist i:nth-child(3) { top: 28px; }

.feature-icon.plugin i {
  left: 21px;
  top: 18px;
  width: 13px;
  height: 13px;
  border-radius: 6px;
  background: #8a58ff;
  box-shadow:
    -14px 9px 0 #c8b8ff,
    14px 9px 0 #a887ff;
  transform: translate(-50%, -50%);
}

.feature-icon.plugin i:nth-child(2) {
  left: 21px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #d7ccff;
  box-shadow: none;
}

.feature-icon.plugin i:nth-child(3) {
  left: 21px;
  top: 29px;
  width: 33px;
  height: 21px;
  border-radius: 14px 14px 8px 8px;
  transform: translate(-50%, -50%);
  border: 2px solid #9a72ff;
  background: transparent;
  box-shadow: none;
}

.feature-icon.lightning i {
  left: 50%;
  top: 50%;
  width: 18px;
  height: 28px;
  clip-path: polygon(56% 0, 16% 47%, 46% 47%, 32% 100%, 84% 36%, 52% 36%);
  background: linear-gradient(180deg, #8148ff, #b59cff);
  transform: translate(-50%, -50%);
}

.feature-icon.monitor i {
  left: 50%;
  top: 50%;
  width: 30px;
  height: 24px;
  border: 3px solid #8a58ff;
  border-radius: 4px;
  transform: translate(-50%, -50%);
}

.feature-icon.monitor i::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 11px;
  height: 3px;
  background: linear-gradient(90deg, #8a58ff 0 20%, transparent 20% 34%, #8a58ff 34% 52%, transparent 52% 66%, #8a58ff 66% 100%);
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.35;
}

.feature-card p {
  margin-bottom: 0;
  color: #4b5068;
  font-size: 13px;
  line-height: 1.65;
}

.product-section {
  width: min(1120px, calc(100vw - 48px));
  margin: 28px auto 44px;
  gap: 54px;
  align-items: center;
}

.dashboard-preview {
  flex: 1.62;
  min-width: 0;
  display: grid;
  grid-template-columns: 134px 1fr;
  overflow: hidden;
  border: 1px solid #ded8ea;
  border-radius: 14px;
  background: white;
  box-shadow: 0 26px 70px rgba(70, 33, 160, 0.18);
}

.dashboard-preview aside {
  padding: 20px 15px;
  color: white;
  background: linear-gradient(180deg, #22105d, #14083f);
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
  font-weight: 800;
}

.mini-brand img {
  width: 22px;
  height: 22px;
}

.dashboard-preview aside span {
  display: block;
  padding: 8px 10px;
  margin-bottom: 5px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.dashboard-preview aside span.active {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.dash-main {
  padding: 21px;
  background: #fbf9ff;
}

.dash-main h3 {
  margin-bottom: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric-grid article,
.chart-card,
.activity-card {
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(59, 35, 130, 0.05);
}

.metric-grid article {
  min-height: 70px;
  padding: 14px;
}

.metric-grid span {
  display: block;
  color: #8a8fa3;
  font-size: 12px;
}

.metric-grid b {
  display: block;
  margin-top: 9px;
  font-size: 22px;
}

.metric-grid em {
  float: right;
  margin-top: -21px;
  color: #16b36b;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.metric-grid em.down {
  color: #f04d75;
}

.dash-panels {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}

.chart-card,
.activity-card {
  min-height: 178px;
  padding: 16px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 800;
}

.panel-title small {
  color: var(--purple);
  background: var(--purple-soft);
  padding: 4px 8px;
  border-radius: 6px;
}

.chart-line {
  height: 118px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 18px 10px 0;
}

.chart-line span {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #7d43ff, #c9b6ff);
}

.activity-card p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: #3a3f56;
  font-size: 12px;
}

.activity-card b {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7d43ff;
}

.activity-card small {
  margin-left: auto;
  color: #8a8fa3;
}

.product-copy {
  flex: 0 0 430px;
  min-width: 0;
}

.product-copy ul {
  padding: 0;
  margin: 22px 0 28px;
  list-style: none;
}

.product-copy li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0;
  color: #282d43;
  font-weight: 650;
  line-height: 1.55;
}

.product-copy li::before {
  content: "✓";
  display: flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  color: var(--purple);
  border: 1px solid #b8a2ff;
}

.product-copy li span {
  white-space: normal;
}

.docs-section {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.model-section {
  width: min(1120px, calc(100vw - 48px));
  margin: 10px auto 50px;
  text-align: center;
}

.model-section h2 {
  margin-bottom: 20px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.18;
  font-weight: 900;
}

.model-strip {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.model-strip article {
  min-height: 80px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 12px 8px;
  border: 1px solid #e8e2f2;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(63, 34, 142, 0.05);
}

.model-strip .cap-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 2px;
}

.model-strip strong {
  font-size: 13px;
  line-height: 1.2;
}

.model-strip span {
  color: #5f6478;
  font-size: 11px;
}

.model-section > p {
  margin-bottom: 0;
  color: var(--muted);
}

.docs-copy,
.code-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 52px rgba(63, 34, 142, 0.06);
}

.docs-copy {
  padding: 28px;
}

.code-panel {
  overflow: hidden;
  min-width: 0;
}

.docs-page {
  padding: 58px 0 72px;
  min-height: calc(100vh - 270px);
}

.about-page {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 62px 0 72px;
}

.content-page {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 62px 0 72px;
  min-height: calc(100vh - 270px);
}

.content-hero {
  max-width: 880px;
  padding: 26px 0 34px;
}

.content-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: 0;
}

.content-hero p:not(.pill) {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 28px;
}

.content-card,
.content-note {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 52px rgba(63, 34, 142, 0.06);
}

.content-card {
  min-width: 0;
  min-height: 186px;
  padding: 24px;
}

.content-card h2,
.content-note h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.18;
  letter-spacing: 0;
}

.content-card p,
.content-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.content-card a,
.content-note a {
  color: var(--purple);
  font-weight: 800;
}

.content-note {
  padding: 28px 30px;
}

.legal-page {
  max-width: 980px;
}

.legal-hero {
  max-width: 920px;
}

.legal-doc {
  display: grid;
  gap: 16px;
}

.legal-section {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 52px rgba(63, 34, 142, 0.06);
}

.legal-section h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: 0;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.legal-section p + p {
  margin-top: 10px;
}

.legal-section a {
  color: var(--purple);
  font-weight: 800;
}

.guide-page {
  width: min(1180px, calc(100vw - 48px));
}

.guide-hero {
  max-width: 940px;
  padding: 26px 0 34px;
}

.guide-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 5.2vw, 70px);
  line-height: 1.04;
  letter-spacing: 0;
}

.guide-hero p:not(.pill) {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.guide-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(109, 53, 245, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.guide-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.guide-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 48px rgba(63, 34, 142, 0.06);
}

.guide-sidebar strong {
  font-size: 16px;
  line-height: 1.2;
}

.guide-sidebar nav {
  display: grid;
  gap: 8px;
}

.guide-sidebar a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
}

.guide-sidebar a:hover {
  border-color: rgba(109, 53, 245, 0.18);
  background: rgba(109, 53, 245, 0.06);
  color: var(--ink);
}

.guide-sidebar a span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(109, 53, 245, 0.1);
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
}

.guide-article {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.guide-prerequisites,
.guide-section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(63, 34, 142, 0.05);
}

.guide-prerequisites {
  padding: 26px 28px;
}

.guide-prerequisites h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
}

.guide-prerequisites ul,
.guide-steps {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.guide-prerequisites ul {
  padding-left: 20px;
}

.guide-section {
  padding: 30px 32px;
}

.guide-section-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.guide-section-head > span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(109, 53, 245, 0.22);
  border-radius: 999px;
  background: rgba(109, 53, 245, 0.08);
  color: var(--purple);
  font-weight: 950;
}

.guide-section h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: 0;
}

.guide-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.guide-steps {
  display: grid;
  gap: 8px;
  padding-left: 24px;
  margin-bottom: 18px;
}

.guide-steps li::marker {
  color: var(--purple);
  font-weight: 900;
}

.guide-code {
  min-width: 0;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid rgba(109, 53, 245, 0.16);
  border-radius: 8px;
  background: #111322;
}

.guide-code figcaption {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-code pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  color: #f7f3ff;
  font-size: 13px;
  line-height: 1.7;
}

.guide-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  white-space: pre;
}

.guide-note {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(109, 53, 245, 0.14);
  border-radius: 8px;
  background: rgba(109, 53, 245, 0.06);
  color: var(--muted);
  line-height: 1.7;
}

.blog-page {
  width: min(1180px, calc(100vw - 48px));
  overflow-x: clip;
}

.blog-hero {
  max-width: 900px;
  padding: 26px 0 30px;
}

.blog-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.blog-hero p:not(.pill) {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
  align-items: start;
  margin-top: 16px;
}

.blog-featured {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: 34px;
  border: 1px solid rgba(109, 53, 245, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(109, 53, 245, 0.12), rgba(255, 255, 255, 0.72) 44%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 56px rgba(63, 34, 142, 0.08);
}

.blog-kicker,
.blog-post-meta {
  display: block;
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
}

.blog-kicker {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(109, 53, 245, 0.24);
  border-radius: 999px;
  background: rgba(109, 53, 245, 0.08);
}

.blog-featured h2 {
  max-width: 680px;
  margin: 8px 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.blog-featured p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.blog-featured-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.blog-tags span {
  min-width: 0;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid rgba(109, 53, 245, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.blog-side {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.blog-side section {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(63, 34, 142, 0.05);
}

.blog-side h2 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.2;
}

.blog-topic-list,
.blog-resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.blog-topic-list a,
.blog-resource-list a {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(109, 53, 245, 0.16);
  border-radius: 8px;
  background: rgba(109, 53, 245, 0.06);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
  white-space: normal;
}

.blog-resource-list {
  display: grid;
}

.blog-resource-list a {
  justify-content: space-between;
  background: white;
}

.blog-resource-list a::after {
  content: "->";
  color: var(--purple);
}

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

.blog-post {
  min-width: 0;
}

.blog-post-link {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px 24px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(63, 34, 142, 0.04);
}

.blog-post-link:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 53, 245, 0.28);
  box-shadow: 0 22px 52px rgba(63, 34, 142, 0.08);
}

.blog-post-title {
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 950;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.blog-post-excerpt {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.blog-post .blog-tags {
  grid-column: 2;
}

.about-hero {
  max-width: 860px;
  padding: 26px 0 34px;
}

.about-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.1;
}

.about-hero p:not(.pill) {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.about-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 28px;
}

.about-card,
.about-grid,
.about-contact {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 52px rgba(63, 34, 142, 0.06);
}

.about-card {
  min-width: 0;
  padding: 24px;
}

.about-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
}

.about-card h2,
.about-copy h2,
.about-contact h2 {
  margin-bottom: 12px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.18;
}

.about-card p,
.about-copy p,
.about-contact p,
.about-list span {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  padding: 30px;
  margin-bottom: 28px;
}

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

.about-list div {
  min-width: 0;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #eee9f8;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.64);
}

.about-list strong {
  color: #171931;
}

.about-list span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.about-contact {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px;
  border-color: rgba(218, 207, 244, 0.92);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 255, 0.84)),
    radial-gradient(circle at 88% 18%, rgba(109, 53, 245, 0.14), transparent 30%);
}

.about-contact::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(225, 218, 244, 0.56);
  border-radius: 10px;
  pointer-events: none;
}

.about-contact::after {
  display: none;
}

.about-contact > div,
.about-contact .contact-email {
  position: relative;
  z-index: 1;
}

.about-contact h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: 0;
}

.contact-email {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid rgba(109, 53, 245, 0.16);
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, #7f42ff, #5a24dc);
  box-shadow: 0 14px 30px rgba(93, 45, 224, 0.22);
  font-weight: 850;
  line-height: 1;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.contact-email:hover {
  border-color: rgba(79, 32, 216, 0.28);
  box-shadow: 0 18px 40px rgba(93, 45, 224, 0.28);
  transform: translateY(-2px);
}

.contact-email:focus-visible {
  outline: 3px solid rgba(109, 53, 245, 0.24);
  outline-offset: 4px;
}

.contact-email span:first-child {
  overflow-wrap: anywhere;
}

.contact-email-arrow {
  color: white;
  font-size: 18px;
  opacity: 0.86;
  transition: transform 0.2s ease;
}

.contact-email:hover .contact-email-arrow {
  transform: translateX(3px);
}

.docs-hero,
.docs-layout {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
}

.docs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 52px;
  padding: 28px 0 54px;
}

.docs-hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.12;
  font-weight: 900;
}

.docs-hero p:not(.pill) {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.docs-hero-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 52px rgba(63, 34, 142, 0.06);
}

.docs-hero-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
}

.docs-hero-card strong {
  display: block;
  font-size: 23px;
  line-height: 1.35;
}

.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 7px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(63, 34, 142, 0.05);
}

.docs-sidebar a {
  padding: 9px 10px;
  border-radius: 8px;
  color: #353a52;
  font-size: 14px;
  font-weight: 750;
}

.docs-sidebar a:hover {
  color: var(--purple);
  background: rgba(109, 53, 245, 0.08);
}

.docs-content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.doc-section {
  scroll-margin-top: 28px;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 52px rgba(63, 34, 142, 0.06);
}

.doc-section h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.18;
  font-weight: 900;
}

.doc-section h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.doc-section > p,
.doc-copy p,
.doc-grid p,
.doc-callout p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.doc-copy {
  margin-bottom: 20px;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.doc-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid #eee9f8;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.66);
}

.doc-callout {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #d6c9ff;
  border-radius: 10px;
  background: rgba(239, 231, 255, 0.42);
}

.doc-callout strong {
  display: block;
  margin-bottom: 8px;
}

.doc-table {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.doc-table div {
  min-width: 0;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #eee9f8;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.64);
}

.doc-table strong {
  color: #171931;
}

.doc-table span {
  color: var(--muted);
  line-height: 1.65;
  min-width: 0;
  overflow-wrap: anywhere;
}

.endpoint-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.endpoint-list span {
  padding: 12px 14px;
  overflow-x: auto;
  white-space: nowrap;
  border: 1px solid #eee9f8;
  border-radius: 8px;
  color: #21144d;
  background: linear-gradient(180deg, #ffffff, #fbf9ff);
  font: 13px/1.5 "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

.doc-section .code-panel {
  margin-top: 18px;
}

.code-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: #3e435c;
  font-size: 13px;
  font-weight: 800;
}

.code-tabs button {
  border: 1px solid #d8cff2;
  border-radius: 7px;
  background: white;
  color: var(--purple);
  padding: 5px 10px;
  cursor: pointer;
}

pre {
  min-height: 162px;
  max-width: 100%;
  margin: 0;
  padding: 18px;
  overflow: auto;
  color: #21144d;
  background: linear-gradient(180deg, #ffffff, #fbf9ff);
  font: 13px/1.7 "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

figure.guide-code pre {
  min-height: auto;
  padding: 18px;
  color: #f7f3ff;
  background: #111322;
  font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

figure.guide-code code {
  color: inherit;
  white-space: pre;
}

.cta-band {
  width: min(1200px, calc(100vw - 48px));
  margin: 0 auto 56px;
  gap: 24px;
  padding: 30px 44px;
  border-radius: 16px;
  border: 1px solid #e4dcf3;
  background:
    radial-gradient(circle at 8% 40%, rgba(125, 67, 255, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(239, 231, 255, 0.95), rgba(255, 255, 255, 0.94));
  box-shadow: 0 24px 64px rgba(75, 28, 188, 0.08);
}

.cta-logo {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.cta-logo img {
  width: 86px;
  height: 86px;
  filter: drop-shadow(0 18px 18px rgba(83, 43, 178, 0.2));
}

.cta-band div:nth-child(2) {
  flex: 1 1 auto;
  min-width: 0;
}

.cta-band h2 {
  margin-bottom: 5px;
}

.cta-band p {
  margin-bottom: 0;
}

.cta-band h2,
.cta-band p {
  white-space: nowrap;
}

.cta-band .button {
  flex: 0 0 auto;
  min-width: 140px;
}

.site-footer {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 52px;
  padding: 0 0 42px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.site-footer nav {
  display: grid;
  gap: 10px;
  min-width: 82px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer strong {
  color: var(--text);
  margin-bottom: 4px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal,
  .button {
    transition: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    width: min(100vw - 16px, 1120px);
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .nav-links.is-open {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 76px;
    z-index: 20;
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open .nav-language-switch {
    display: inline-flex;
    width: fit-content;
    margin-top: 2px;
  }

  .hero-inner,
  .product-section,
  .docs-section,
  .docs-hero,
  .docs-layout,
  .about-stack,
  .about-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

  .product-copy {
    flex-basis: auto;
    width: 100%;
  }

  .product-copy li span {
    white-space: normal;
  }

  .cta-band h2,
  .cta-band p {
    white-space: normal;
  }

  .hero-art {
    min-height: 420px;
    order: -1;
  }

  .hero-platform {
    width: min(560px, 100%);
    transform: scale(0.92);
    transform-origin: center;
  }

  .orbit-one {
    width: 330px;
    height: 330px;
  }

  .orbit-two {
    width: 430px;
    height: 430px;
  }

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

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

  .docs-section {
    display: grid;
  }

  .docs-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-contact::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero-inner,
  .section,
  .product-section,
  .docs-section,
  .docs-hero,
  .docs-layout,
  .about-page,
  .content-page,
  .model-section,
  .cta-band,
  .site-footer {
    width: min(100vw - 28px, 1120px);
  }

  .brand {
    font-size: 28px;
  }

  .hero-inner {
    padding-top: 24px;
  }

  h1 {
    font-size: 43px;
  }

  h1 .hero-title-line {
    white-space: normal;
  }

  .hero-actions,
  .trust-row,
  .cta-band,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-art {
    min-height: 300px;
  }

  .hero-platform {
    width: 360px;
    height: 300px;
    transform: scale(0.78);
    transform-origin: center;
  }

  .hero-logo-stage {
    top: 50%;
  }

  .capability-node.left {
    left: 0;
  }

  .capability-node.right {
    right: 0;
  }

  .capability-node.text,
  .capability-node.embedding {
    top: 0;
  }

  .capability-node.video,
  .capability-node.workflow {
    top: 246px;
  }

  .connector {
    display: none;
  }

  .button {
    width: 100%;
  }

  .trust-row {
    width: min(100vw - 28px, 560px);
    align-items: flex-start;
  }

  .feature-grid,
  .metric-grid,
  .dash-panels,
  .model-strip {
    grid-template-columns: 1fr;
  }

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

  .docs-page {
    padding-top: 28px;
  }

  .about-page {
    padding-top: 28px;
  }

  .content-page {
    padding-top: 28px;
  }

  .docs-hero {
    padding-bottom: 30px;
  }

  .docs-hero h1,
  .about-hero h1,
  .content-hero h1 {
    font-size: 39px;
  }

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

  .docs-sidebar {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .doc-section {
    padding: 20px;
  }

  .doc-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .about-grid,
  .about-contact {
    padding: 20px;
  }

  .about-contact h2 {
    font-size: 39px;
  }

  .about-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-email {
    width: 100%;
    justify-content: center;
    padding: 0 18px;
    font-size: 16px;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .dashboard-preview aside {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

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

  .cta-band {
    padding: 26px;
  }

  .cta-logo {
    width: 74px;
    height: 74px;
  }

  .cta-logo img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 980px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }

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

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-side {
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .guide-page {
    width: min(100vw - 28px, 560px);
  }

  .guide-page *,
  .guide-page *::before,
  .guide-page *::after {
    box-sizing: border-box;
  }

  .guide-hero h1 {
    font-size: 40px;
    overflow-wrap: break-word;
  }

  .guide-hero p:not(.pill) {
    font-size: 16px;
  }

  .guide-sidebar,
  .guide-prerequisites,
  .guide-section {
    padding: 20px;
  }

  .guide-sidebar nav {
    grid-template-columns: 1fr;
  }

  .guide-section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guide-section-head > span {
    width: 42px;
    height: 42px;
  }

  .guide-section h2 {
    font-size: 27px;
    overflow-wrap: break-word;
  }

  .guide-prerequisites ul,
  .guide-steps {
    padding-left: 20px;
  }

  .guide-code pre {
    padding: 16px;
    font-size: 12px;
  }

  .blog-page {
    width: min(100vw - 28px, 560px);
  }

  .blog-page *,
  .blog-page *::before,
  .blog-page *::after {
    box-sizing: border-box;
  }

  .blog-hero,
  .blog-layout,
  .blog-featured > div,
  .blog-side,
  .blog-post-list {
    width: 100%;
    max-width: 100%;
  }

  .blog-hero p:not(.pill),
  .blog-featured p {
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .blog-hero h1 {
    font-size: 42px;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .blog-featured,
  .blog-side section,
  .blog-post-link {
    padding: 20px;
  }

  .blog-featured {
    min-height: 0;
    overflow: hidden;
  }

  .blog-featured h2 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.16;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .blog-featured-footer,
  .blog-tags {
    justify-content: flex-start;
    max-width: 100%;
  }

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

  .blog-topic-list a {
    justify-content: center;
    text-align: center;
  }

  .blog-post-link {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .blog-post-title,
  .blog-post-excerpt {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .blog-post-excerpt,
  .blog-post .blog-tags {
    grid-column: auto;
  }
}
