:root {
  --background: #ffffff;
  --foreground: #111827;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --section: #f8fafc;
  --primary: #e5004f;
  --primary-dark: #cc0046;
  --blue: #1f6bd1;
  --accent: #10b981;
  --amber: #f97316;
  --sky: #0284c7;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 14px 48px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.hero-proof,
.panel-top,
.insight-row,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  width: 134px;
  min-width: 134px;
}

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

.nav {
  flex: 1;
  justify-content: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.secondary-action:hover {
  color: var(--primary);
}

.header-action,
.primary-action,
.secondary-action,
.form-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 700;
}

.header-action {
  padding: 0 18px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(229, 0, 79, 0.18);
}

.header-action:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 48px 56px;
  display: block;
}

.hero-copy {
  max-width: 1180px;
  min-width: 0;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.hero h1,
.section-heading h2,
.metric-main h2,
.audience-copy h2,
.contact-copy h2 {
  margin: 14px 0 0;
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(40px, 3.25vw, 48px);
  overflow-wrap: anywhere;
}

.hero h1 span {
  display: block;
}

.hero h1 span:first-child {
  white-space: nowrap;
}

.hero h1 .xhs-logo-mark {
  display: inline-flex;
  width: 2.86em;
  height: 1.16em;
  margin-right: 0.16em;
  padding: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  vertical-align: -0.16em;
  background: transparent;
  line-height: 1;
}

.hero h1 .xhs-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero h1 em {
  color: var(--primary);
  font-style: normal;
}

.lead {
  margin: 22px 0 0;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 22px;
  font-weight: 600;
}

.lead span {
  display: block;
}

.lead span + span {
  margin-top: 4px;
}

.hero-actions {
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.primary-action {
  padding: 0 24px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 34px rgba(229, 0, 79, 0.18);
}

.primary-action:hover {
  background: var(--primary-dark);
}

.secondary-action {
  padding: 0 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.hero-proof {
  margin-top: 30px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-proof .data-card {
  position: relative;
  min-height: 178px;
  padding: 26px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f5f9ff);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-proof .data-card strong,
.hero-proof .data-card > span:not(.data-art),
.hero-proof .data-card small {
  position: relative;
  z-index: 1;
}

.hero-proof .data-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--blue);
}

.hero-proof .data-card:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 0, 79, 0.38);
  box-shadow: 0 18px 34px rgba(229, 0, 79, 0.10);
}

.data-art {
  position: absolute;
  display: block;
  right: -52px;
  bottom: -36px;
  z-index: 0;
  width: 220px;
  height: 124px;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.hero-proof .fast .data-art {
  right: -40px;
  bottom: -28px;
  opacity: 0.22;
}

.hero-proof .up {
  background: linear-gradient(180deg, #fff, #fff5f7);
}

.hero-proof .up::after {
  background: var(--primary);
}

.hero-proof .fast {
  background: linear-gradient(180deg, #fff, #fff7ed);
}

.hero-proof .fast::after {
  background: var(--amber);
}

.hero-proof strong {
  display: block;
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-size: 46px;
  line-height: 1;
}

.hero-proof .up strong {
  color: var(--primary);
}

.hero-proof .fast strong {
  color: var(--amber);
}

.hero-proof span {
  display: block;
  margin-top: 10px;
  color: var(--foreground);
  font-size: 15px;
  font-weight: 800;
}

.hero-proof small {
  display: block;
  max-width: 178px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.product-stage {
  position: relative;
  min-width: 0;
  min-height: 530px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9)),
    radial-gradient(circle at 18% 18%, rgba(15, 23, 42, 0.05), transparent 30%);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.product-stage::before {
  content: none;
}

.agent-panel,
.user-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  margin-left: auto;
  padding: 26px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.user-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-panel {
  width: min(100%, 540px);
  margin: 0;
  padding: 22px;
}

.user-panel h2 {
  margin: 0 0 12px;
  max-width: 500px;
  font-size: 26px;
  line-height: 1.18;
}

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

.industry-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.industry-label {
  min-height: 74px;
  padding: 10px 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--foreground);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.industry-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.industry-logo-grid.compact {
  grid-template-columns: minmax(0, 1fr);
  max-width: 150px;
}

.industry-logo-grid figure {
  min-height: 74px;
  margin: 0;
  padding: 12px 10px 10px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.industry-logo-grid img {
  max-width: 100px;
  max-height: 30px;
  object-fit: contain;
}

.industry-logo-grid .brand-logo-wide {
  max-width: 112px;
  max-height: 26px;
}

.industry-logo-grid figcaption {
  color: var(--foreground);
  font-size: 10px;
  font-weight: 700;
}

.panel-top {
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.12);
}

.agent-panel h2 {
  margin: 22px 0 20px;
  font-size: 25px;
  line-height: 1.18;
}

.insight-row {
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.insight-row strong {
  color: var(--primary);
  font-size: 22px;
}

.progress-line {
  position: relative;
  height: 92px;
  margin-top: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fafc, #fff);
}

.progress-line::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--amber), var(--accent));
  transform: rotate(-7deg);
}

.progress-line span {
  position: absolute;
  bottom: 18px;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #fff;
  border: 4px solid var(--primary);
}

.progress-line span:nth-child(1) { left: 12%; }
.progress-line span:nth-child(2) { left: 36%; border-color: var(--amber); }
.progress-line span:nth-child(3) { left: 62%; border-color: var(--accent); }
.progress-line span:nth-child(4) { left: 85%; border-color: var(--sky); }

.stack-card {
  position: absolute;
  z-index: 1;
  width: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.stack-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--primary);
  font-weight: 800;
  font-size: 12px;
}

.stack-card strong {
  display: block;
  font-size: 20px;
}

.stack-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.card-a {
  left: 34px;
  top: 174px;
}

.card-b {
  left: 116px;
  bottom: 132px;
}

.card-b span {
  background: var(--amber);
}

.card-c {
  right: 42px;
  bottom: 52px;
}

.card-c span {
  background: var(--accent);
}

.brand-band,
.metrics,
.service-section,
.workflow,
.audience,
.contact-section,
.model-section,
.team-section,
.replication-section,
.feature-section,
.brand-section,
.iteration-section {
  padding: 82px 48px;
}

.brand-band,
.workflow,
.model-section,
.replication-section,
.team-section,
.brand-section,
.iteration-section {
  background: linear-gradient(180deg, #fff, var(--section));
  border-block: 1px solid var(--line);
}

.brand-section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.brand-heading {
  margin-bottom: 28px;
  text-align: center;
}

.brand-heading h2,
.iteration-heading h2 {
  margin: 14px 0 0;
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  font-size: clamp(36px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.brand-panel-wide {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.brand-panel-wide .industry-brand-list {
  gap: 16px;
}

.brand-panel-wide .industry-row {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
}

.brand-panel-wide .industry-label,
.brand-panel-wide .industry-logo-grid figure {
  min-height: 92px;
}

.brand-panel-wide .industry-label {
  background: #fff;
}

.brand-panel-wide .industry-logo-grid {
  grid-template-columns: repeat(5, minmax(128px, 1fr));
  gap: 14px;
}

.brand-panel-wide .industry-logo-grid.compact {
  grid-template-columns: minmax(170px, 220px);
  max-width: none;
}

.brand-panel-wide .industry-logo-grid img {
  max-width: 122px;
  max-height: 38px;
}

.model-section {
  display: grid;
  grid-template-columns: minmax(720px, 1.08fr) minmax(500px, 0.92fr);
  gap: 34px;
  align-items: center;
}

.workspace-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.workspace-frame img {
  width: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transform-origin: center;
}

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

.model-copy h2,
.feature-heading h2 {
  margin: 14px 0 0;
  max-width: 760px;
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.model-copy h2 span {
  display: block;
}

.model-copy h2 .model-title-main {
  white-space: nowrap;
  font-size: clamp(28px, 2.55vw, 38px);
}

.model-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.model-badges article {
  min-height: 112px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.model-badges img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
}

.model-badges span {
  color: var(--foreground);
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.replication-section {
  display: grid;
  grid-template-columns: minmax(380px, 0.78fr) minmax(640px, 1.22fr);
  gap: 52px;
  align-items: center;
}

.replication-copy {
  min-width: 0;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
}

.replication-copy h2 {
  margin: 14px 0 0;
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
}

.replication-copy h2 span,
.replication-copy li span {
  color: var(--primary);
}

.replication-copy ul {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  list-style: none;
}

.replication-copy li {
  color: var(--foreground);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.28;
}

.replication-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.replication-media img,
.replication-media video {
  display: block;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
}

.team-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(229, 0, 79, 0.08), transparent 30%),
    linear-gradient(180deg, #fff, #f8fafc);
}

.team-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.team-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.76fr);
  gap: 48px;
  align-items: start;
}

.team-intro h2 {
  margin: 14px 0 0;
  max-width: 760px;
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  font-size: clamp(34px, 3.7vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.team-logo {
  width: min(100%, 300px);
  height: auto;
}

.team-intro-compact {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: center;
}

.team-intro p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.team-proof-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.team-proof-grid article {
  min-height: 142px;
  padding: 22px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.team-proof-grid strong {
  display: block;
  color: var(--primary);
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  font-size: 30px;
  line-height: 1.05;
}

.team-proof-grid span {
  display: block;
  margin-top: 12px;
  color: var(--foreground);
  font-size: 16px;
  font-weight: 800;
}

.team-proof-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
  white-space: nowrap;
  overflow-wrap: normal;
}

.team-story-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.46fr);
  gap: 16px;
  align-items: stretch;
}

.team-people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.person-card {
  position: relative;
  min-height: 142px;
  padding: 18px 18px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.person-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #c79b43, #8b1f2a);
}

.person-card img {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.12);
}

.person-card h3 {
  margin: 2px 0 0;
  font-size: 20px;
  line-height: 1.2;
}

.person-card strong {
  display: block;
  margin-top: 5px;
  color: #8b1f2a;
  font-size: 15px;
}

.person-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.funding-card {
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.funding-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.22;
}

.funding-card ol {
  position: relative;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.funding-card ol::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 20px;
  left: 9px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c79b43, #8b1f2a);
}

.funding-card li {
  position: relative;
  padding-left: 34px;
  padding-bottom: 22px;
}

.funding-card li:last-child {
  padding-bottom: 0;
}

.funding-card li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 1px;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: #fff;
  border: 4px solid #c79b43;
}

.funding-card li:nth-child(n + 3)::before {
  border-color: #8b1f2a;
}

.funding-card span {
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.funding-card strong {
  display: block;
  margin-top: 2px;
  color: var(--foreground);
  font-size: 20px;
}

.funding-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

.team-detail-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.team-detail-grid article {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.team-detail-grid article:last-child {
  border-right: 0;
}

.team-detail-grid span {
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.team-detail-grid h3 {
  margin: 30px 0 0;
  font-size: 24px;
  line-height: 1.2;
}

.team-detail-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.74;
}

.feature-section {
  max-width: 1280px;
  margin: 0 auto;
}

.feature-heading {
  margin-bottom: 34px;
  text-align: center;
}

.feature-heading h2 {
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  min-height: 318px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdff);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 0, 79, 0.35);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: rgba(229, 0, 79, 0.10);
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.feature-card h3 {
  margin: 34px 0 0;
  font-size: 30px;
  line-height: 1.2;
}

.feature-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.iteration-heading {
  max-width: 1280px;
  margin: 0 auto 34px;
}

.case-image-pair {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.case-image-pair figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.case-image-pair img {
  width: 100%;
  aspect-ratio: 0.56 / 1;
  object-fit: cover;
  object-position: top center;
}

.case-image-pair figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--foreground);
  font-size: 10px;
  font-weight: 800;
}

.case-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.case-card {
  min-height: 356px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.case-card > span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(229, 0, 79, 0.16);
  border-radius: 999px;
  background: rgba(229, 0, 79, 0.06);
  color: var(--primary);
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 18px 0 0;
  min-height: 34px;
  white-space: nowrap;
  font-size: 24px;
  line-height: 1.2;
}

.case-data {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.case-data div {
  position: relative;
  min-height: 92px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.case-data div + div {
  border-color: rgba(229, 0, 79, 0.18);
  background: linear-gradient(180deg, #fff, #fff7fa);
}

.case-data div + div::before {
  content: "→";
  position: absolute;
  top: -19px;
  right: 18px;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.case-data small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-data strong {
  display: block;
  margin-top: 4px;
  color: var(--foreground);
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  font-size: 28px;
  line-height: 1.1;
}

.case-data em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.case-card p {
  margin: 18px 0 0;
  color: var(--primary);
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading.compact h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.2vw, 46px);
}

.section-heading h2,
.metric-main h2,
.audience-copy h2,
.contact-copy h2 {
  max-width: 820px;
  font-size: clamp(32px, 4vw, 54px);
}

.brand-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.brand-grid figure {
  min-height: 126px;
  margin: 0;
  padding: 24px 14px 16px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.brand-grid img {
  max-width: 126px;
  max-height: 40px;
  object-fit: contain;
}

.text-logo {
  min-height: 36px;
  display: flex;
  align-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.cn-logo {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.latin-logo {
  font-size: 18px;
  letter-spacing: 0.06em;
}

.brand-grid figcaption {
  color: var(--foreground);
  font-size: 13px;
  font-weight: 700;
}

.metrics {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 54px;
  align-items: start;
}

.metric-main p:not(.eyebrow) {
  margin: 22px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.metric-cards {
  display: grid;
  gap: 14px;
}

.metric-cards article {
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.metric-cards strong {
  display: block;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 38px;
  line-height: 1;
}

.metric-cards span {
  display: block;
  margin-top: 13px;
  color: var(--muted);
}

.service-grid,
.audience-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article,
.audience-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-grid article:hover,
.audience-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 0, 79, 0.35);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: rgba(229, 0, 79, 0.10);
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.service-grid h3,
.audience-grid h3,
.timeline h3 {
  margin: 26px 0 0;
  font-size: 24px;
  line-height: 1.2;
}

.service-grid p,
.audience-grid p,
.timeline p {
  margin: 14px 0 0;
  color: var(--muted);
}

.timeline {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.timeline article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline span {
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
}

.audience {
  max-width: 1280px;
  margin: 0 auto;
}

.audience-copy {
  margin-bottom: 34px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.68fr);
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 48px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #111827;
  color: #fff;
}

.contact-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.contact-copy h2 span {
  display: block;
}

.contact-copy h2 .accent-text {
  display: inline;
  color: var(--primary);
  font-style: normal;
}

.contact-copy h2 span + span {
  margin-top: 8px;
}

.lead-form-embed {
  position: relative;
  min-height: 430px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  color: var(--foreground);
}

.static-form-preview {
  padding: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-preview-card {
  min-height: 344px;
  max-height: 344px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.form-hero {
  height: 76px;
  background:
    radial-gradient(circle at 14% 42%, rgba(255, 255, 255, 0.32) 0 18px, transparent 19px),
    linear-gradient(135deg, #3159db, #4169e1);
}

.form-preview-card h3 {
  margin: 22px 38px 16px;
  text-align: center;
  font-size: 22px;
}

.form-preview-card label {
  display: block;
  margin: 0 38px 14px;
  color: var(--foreground);
  font-size: 16px;
  font-weight: 700;
}

.form-preview-card label span {
  display: block;
  margin-top: 6px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted-2);
  font-weight: 500;
  background: #fff;
}

.form-fallback {
  align-self: flex-end;
  padding: 0 16px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(229, 0, 79, 0.18);
}

.form-fallback:hover {
  background: var(--primary-dark);
}

.faq-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 46px 48px 104px;
}

.faq-inner {
  background: transparent;
}

.faq-heading {
  padding: 0 0 56px;
  text-align: center;
}

.faq-heading h2 {
  margin: 0;
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.faq-list {
  display: grid;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-question {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0;
  border: 0;
  background: transparent;
  color: var(--foreground);
  font-family: inherit;
  font-size: clamp(21px, 2.1vw, 30px);
  font-weight: 800;
  line-height: 1.28;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--foreground);
  border-bottom: 3px solid var(--foreground);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(225deg);
}

.faq-item p {
  margin: -6px 56px 30px 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.8;
}

.footer {
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding: 34px 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer > div,
.company-contact {
  display: grid;
  gap: 8px;
}

.footer strong {
  color: var(--foreground);
}

.company-contact {
  margin: 0;
  font-style: normal;
  text-align: right;
}

.company-contact a:hover {
  color: var(--primary);
}

@media (max-width: 1080px) {
  .site-header {
    padding-inline: 28px;
  }

  .nav {
    display: none;
  }

  .hero,
  .metrics,
  .contact-section,
  .model-section,
  .replication-section,
  .team-intro,
  .team-story-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 span:first-child {
    white-space: normal;
  }

  .hero {
    padding-inline: 28px;
  }

  .product-stage {
    min-height: 690px;
  }

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

  .team-proof-grid,
  .team-detail-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-detail-grid article:nth-child(2) {
    border-right: 0;
  }

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

  .timeline article:nth-child(2) {
    border-right: 0;
  }

  .timeline article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 70px;
    padding: 14px 18px;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding: 46px 18px 54px;
    gap: 34px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .hero h1 span {
    display: inline;
  }

  .hero h1 span::after {
    content: "";
    display: block;
  }

  .lead {
    font-size: 18px;
    max-width: 34ch;
  }

  .data-art {
    top: 28px;
    right: 22px;
    width: 68px;
    height: 68px;
  }

  .hero-proof .data-card {
    min-height: 160px;
    padding-right: 104px;
  }

  .section-heading.compact h2 {
    font-size: 32px;
  }

  .hero-proof,
  .brand-grid,
  .service-grid,
  .audience-grid,
  .feature-grid,
  .team-proof-grid,
  .team-people-grid,
  .team-detail-grid,
  .timeline,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .industry-row {
    grid-template-columns: 1fr;
  }

  .industry-logo-grid,
  .industry-logo-grid.compact {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .product-stage {
    min-height: 700px;
    padding: 18px;
  }

  .agent-panel {
    width: 100%;
  }

  .stack-card {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-top: 16px;
  }

  .brand-band,
  .metrics,
  .service-section,
  .workflow,
  .audience,
  .contact-section,
  .model-section,
  .team-section,
  .replication-section,
  .feature-section,
  .brand-section,
  .iteration-section,
  .faq-section {
    padding: 58px 18px;
  }

  .faq-heading {
    padding-bottom: 34px;
  }

  .faq-question {
    padding: 22px 0;
    font-size: 20px;
  }

  .faq-item p {
    margin-right: 0;
    font-size: 16px;
  }

  .timeline article,
  .team-detail-grid article,
  .timeline article:nth-child(2),
  .timeline article:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline article:last-child {
    border-bottom: 0;
  }

  .team-detail-grid article:last-child {
    border-bottom: 0;
  }

  .contact-section {
    margin-bottom: 28px;
    border-radius: 0;
    border-inline: 0;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 18px;
  }

  .company-contact {
    text-align: left;
  }
}
