/* Homepage B2B conversion redesign. Scoped to the root homepage only. */
.home-page {
  --home-ink: #07162f;
  --home-muted: #5d6b82;
  --home-line: #dfe8f4;
  --home-blue: #1768ff;
  --home-blue-dark: #0b2f8a;
  --home-cyan: #1bbfe7;
  --home-green: #21b998;
  --home-orange: #f59e0b;
  --home-bg: #f6f9fc;
  --home-card: #ffffff;
  --home-radius: 10px;
  --home-shadow: 0 18px 46px rgba(16, 55, 110, 0.12);
  color: var(--home-ink);
  background: #ffffff;
}

.home-page .home-hero {
  min-height: 720px;
  display: grid;
  align-items: stretch;
  color: #ffffff;
  background:
    linear-gradient(116deg, #071b4a 0%, #103f9c 44%, #1768ff 100%) !important;
}

.home-page .home-hero .hero-bg {
  opacity: 0.5;
  object-position: 68% center;
  transform: scale(1.01);
  filter: saturate(0.96) contrast(1.02);
}

.home-page .home-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 18, 48, 0.96) 0%, rgba(8, 40, 105, 0.88) 38%, rgba(13, 75, 181, 0.42) 68%, rgba(12, 43, 105, 0.28) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(2, 9, 31, 0.16));
}

.home-page .home-hero .hero-content {
  width: min(1180px, calc(100% - 48px));
  padding-top: 128px;
  padding-bottom: 58px;
}

.home-page .home-hero-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 20px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.home-page .home-hero h1 {
  max-width: 780px;
  color: #ffffff !important;
  font-size: clamp(42px, 4.3vw, 66px);
  line-height: 1.06;
  font-weight: 900;
}

.home-page .home-hero h1 span + span {
  margin-top: 10px;
}

.home-page .home-hero .hero-lead {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 18px;
  line-height: 1.78;
}

.home-page .home-hero-tags {
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-page .home-hero-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(189, 223, 255, 0.3);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.home-page .home-hero .hero-actions {
  gap: 12px;
  margin-top: 36px;
}

.home-page .home-hero .primary-button,
.home-page .home-hero .ghost-button {
  min-height: 48px;
  border-radius: 8px;
  padding: 0 24px;
}

.home-page .home-hero .primary-button {
  background: linear-gradient(90deg, #1bc7e8, #1768ff);
}

.home-page .home-hero .ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.home-page .home-hero-metrics {
  width: min(780px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.home-page .home-hero-metrics article {
  min-width: 0;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--home-radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.home-page .home-hero-metrics strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.home-page .home-hero-metrics span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.home-page .home-trust-strip {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 22px;
  align-items: center;
  margin: -42px auto 0;
  padding: 20px;
  border: 1px solid rgba(210, 224, 242, 0.96);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--home-shadow);
}

.home-page .home-trust-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.home-page .home-trust-copy strong {
  color: var(--home-ink);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
}

.home-page .home-trust-copy span {
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.6;
}

.home-page .home-logo-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(72px, 1fr));
  gap: 10px;
}

.home-page .home-logo-row span {
  min-width: 0;
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid #edf2f8;
  border-radius: 8px;
  background: #f8fafc;
  transition:
    transform 0.2s var(--ease-out),
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.home-page .home-logo-row span:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 104, 255, 0.2);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(24, 91, 255, 0.1);
}

.home-page .home-logo-row img {
  max-width: 132px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.home-page .home-cert-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #edf2f8;
}

.home-page .home-cert-row span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(22, 116, 255, 0.1);
  border-radius: 999px;
  color: #31527b;
  background: #f7fbff;
  font-size: 12px;
  font-weight: 800;
}

.home-page .section {
  padding: 88px 0;
}

.home-page .home-section-head {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.home-page .home-section-head > span {
  display: inline-flex !important;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(23, 104, 255, 0.14);
  border-radius: 999px;
  color: var(--home-blue);
  background: #eef6ff;
  font-size: 13px;
  font-weight: 900;
}

.home-page .home-section-head h2 {
  margin: 16px auto 0;
  color: var(--home-ink) !important;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.home-page .home-section-head p {
  max-width: 780px;
  margin: 18px auto 0;
  color: var(--home-muted) !important;
  font-size: 16px;
  line-height: 1.78;
}

.home-page .home-pain-section {
  padding-top: 96px;
  background:
    radial-gradient(circle at 82% 4%, rgba(27, 191, 231, 0.14), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.home-page .home-pain-layout {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 24px;
  align-items: stretch;
  margin: 46px auto 0;
}

.home-page .home-pain-card,
.home-page .home-pain-grid article,
.home-page .home-product-card,
.home-page .home-developer-card {
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-card);
  box-shadow: 0 14px 36px rgba(16, 55, 110, 0.08);
}

.home-page .home-pain-card-featured {
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(260px, 0.9fr) auto;
}

.home-page .home-pain-card-featured img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: #edf6ff;
}

.home-page .home-pain-card-featured div {
  padding: 30px;
}

.home-page .home-pain-card-featured span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #0f766e;
  background: #e9fbf6;
  font-size: 12px;
  font-weight: 900;
}

.home-page .home-pain-card-featured h3 {
  margin: 14px 0 0;
  color: var(--home-ink);
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.22;
  font-weight: 900;
}

.home-page .home-pain-card-featured p {
  margin: 14px 0 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.78;
}

.home-page .home-inline-link {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: var(--home-blue);
  font-weight: 900;
}

.home-page .home-inline-link::after {
  margin-left: 8px;
  content: ">";
}

.home-page .home-pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-page .home-pain-grid article {
  overflow: hidden;
  min-height: 250px;
  padding: 12px 12px 20px;
  transition:
    transform 0.24s var(--ease-out),
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.home-page .home-pain-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 104, 255, 0.22);
  box-shadow: var(--home-shadow);
}

.home-page .home-pain-grid img {
  width: 100%;
  height: 132px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f7ff;
}

.home-page .home-pain-grid h3 {
  margin: 18px 8px 0;
  color: var(--home-ink);
  font-size: 19px;
  line-height: 1.32;
  font-weight: 900;
}

.home-page .home-pain-grid p {
  margin: 9px 8px 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.65;
}

.home-page .home-product-system {
  padding: 88px 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(33, 185, 152, 0.1), transparent 24%),
    linear-gradient(180deg, #f6f9fc 0%, #ffffff 100%);
}

.home-page .home-product-grid {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 46px auto 0;
}

.home-page .home-product-card {
  position: relative;
  overflow: hidden;
  min-height: 278px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.24s var(--ease-out),
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.home-page .home-product-card::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 12%, rgba(23, 104, 255, 0.11), transparent 31%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(242, 248, 255, 0.8));
  content: "";
  pointer-events: none;
}

.home-page .home-product-card.is-primary {
  color: #ffffff;
  border-color: rgba(23, 104, 255, 0.1);
  background:
    radial-gradient(circle at 84% 14%, rgba(27, 191, 231, 0.26), transparent 28%),
    linear-gradient(135deg, #0b2f8a, #1768ff 58%, #1bbfe7);
}

.home-page .home-product-card.is-primary::before {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 90% 18%, rgba(255, 255, 255, 0.22), transparent 26%);
}

.home-page .home-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 104, 255, 0.24);
  box-shadow: var(--home-shadow);
}

.home-page .home-product-card span,
.home-page .home-product-card h3,
.home-page .home-product-card p,
.home-page .home-product-card strong {
  position: relative;
  z-index: 1;
}

.home-page .home-product-card span {
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 900;
}

.home-page .home-product-card.is-primary span {
  color: rgba(255, 255, 255, 0.78);
}

.home-page .home-product-card h3 {
  margin: 30px 0 0;
  color: var(--home-ink);
  font-size: 25px;
  line-height: 1.22;
  font-weight: 900;
}

.home-page .home-product-card.is-primary h3 {
  color: #ffffff;
}

.home-page .home-product-card p {
  margin: 14px 0 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.72;
}

.home-page .home-product-card.is-primary p {
  color: rgba(255, 255, 255, 0.8);
}

.home-page .home-product-card strong {
  margin-top: auto;
  padding-top: 26px;
  color: var(--home-blue);
  font-size: 14px;
  font-weight: 900;
}

.home-page .home-product-card.is-primary strong {
  color: #ffffff;
}

.home-page .home-product-card strong::after {
  margin-left: 8px;
  content: ">";
}

.home-page .home-solutions {
  overflow: hidden;
  padding: 88px 0 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.home-page .home-solutions .industry-heading {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
}

.home-page .home-solutions .industry-heading h2 {
  color: var(--home-ink) !important;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.18;
  font-weight: 900;
}

.home-page .home-solutions .industry-heading p {
  width: auto;
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--home-muted) !important;
  font-size: 16px;
  line-height: 1.78;
  font-weight: 400;
}

.home-page .home-solutions .industry-tabs {
  width: min(760px, calc(100% - 48px));
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.home-page .home-solutions .industry-tabs button {
  width: auto;
  min-width: 136px;
  height: 82px;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  color: #263850;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 55, 110, 0.05);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

.home-page .home-solutions .industry-tabs button.active {
  color: var(--home-blue);
  border-color: rgba(23, 104, 255, 0.22);
  border-image: none;
  background: #eef6ff;
}

.home-page .home-solutions .industry-tabs button img {
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 8px;
}

.home-page .home-solutions .solution-showcase,
.home-page .home-solutions .solution-stage {
  width: 100%;
  min-height: 0;
  margin-top: 38px;
  padding-bottom: 78px;
  background:
    radial-gradient(circle at 78% 8%, rgba(27, 191, 231, 0.1), transparent 28%),
    linear-gradient(180deg, #f5faff 0%, #ffffff 100%);
}

.home-page .home-solutions .solution-stage-inner {
  width: min(1180px, calc(100% - 48px));
  padding-top: 44px;
}

.home-page .home-solutions .solution-stage-heading {
  max-width: 760px;
}

.home-page .home-solutions .solution-stage-heading h3 {
  color: var(--home-ink) !important;
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.22;
  font-weight: 900;
}

.home-page .home-solutions .solution-stage-heading p {
  color: var(--home-muted) !important;
  font-size: 15px;
  line-height: 1.72;
  font-weight: 400;
}

.home-page .home-solutions .industry-card-grid {
  gap: 18px;
  margin-top: 26px;
}

.home-page .home-solutions .industry-solution-card {
  min-height: 210px;
  padding: 32px;
  border: 1px solid rgba(221, 231, 243, 0.88);
  border-radius: var(--home-radius);
  box-shadow: 0 14px 34px rgba(16, 55, 110, 0.08);
}

.home-page .home-solutions .industry-solution-card.is-wide {
  min-height: 230px;
  padding-top: 40px;
}

.home-page .home-solutions .industry-solution-card::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 48%, rgba(255, 255, 255, 0.18) 100%);
}

.home-page .home-solutions .industry-card-copy h4 {
  color: var(--home-ink) !important;
  font-size: clamp(21px, 1.8vw, 27px);
}

.home-page .home-developer-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 158, 11, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-top: 1px solid #edf2f8;
  border-bottom: 1px solid #edf2f8;
}

.home-page .home-developer-card {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
  margin: 0 auto;
  padding: 34px;
}

.home-page .home-developer-copy > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #9a5c00;
  background: #fff7e6;
  font-size: 13px;
  font-weight: 900;
}

.home-page .home-developer-copy h2 {
  margin: 16px 0 0;
  color: var(--home-ink);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.18;
  font-weight: 900;
}

.home-page .home-developer-copy p {
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.76;
}

.home-page .home-access-steps {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: access-step;
}

.home-page .home-access-steps li {
  position: relative;
  min-height: 62px;
  display: grid;
  grid-template-columns: 42px minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  background: #fbfdff;
  counter-increment: access-step;
}

.home-page .home-access-steps li::before {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--home-blue), var(--home-cyan));
  content: counter(access-step, decimal-leading-zero);
  font-size: 12px;
  font-weight: 900;
}

.home-page .home-access-steps strong {
  color: var(--home-ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.home-page .home-access-steps span {
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.55;
}

.home-page .home-developer-card .ghost-button {
  color: var(--home-blue-dark);
  border-color: #d8e4f2;
  background: #ffffff;
  backdrop-filter: none;
}

.home-page .home-developer-card .developer-flow-image {
  height: 430px;
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(16, 55, 110, 0.15);
}

.home-page .home-security-section {
  background:
    linear-gradient(180deg, #f6f9fc 0%, #ffffff 100%);
}

.home-page .home-security-section .security-badge-row {
  margin-top: 26px;
}

.home-page .home-security-section .security-grid {
  width: min(1180px, calc(100% - 48px));
  margin: 38px auto 0;
  gap: 18px;
}

.home-page .home-security-section .security-card {
  min-height: 246px;
  grid-template-columns: minmax(0, 1fr) 190px;
  padding: 26px;
  border-radius: var(--home-radius) !important;
  box-shadow: 0 16px 34px rgba(16, 55, 110, 0.12) !important;
}

.home-page .home-security-section .security-card-copy h3 {
  font-size: 22px;
}

.home-page .home-security-section .security-card-image {
  min-height: 160px;
  border-radius: 8px;
}

.home-page .home-clients-section {
  padding-bottom: 88px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.home-page .home-clients-section .client-showcase {
  width: min(1180px, calc(100% - 48px));
  margin: 42px auto 0;
}

.home-page .home-clients-section .client-card {
  border-radius: var(--home-radius) !important;
  box-shadow: 0 18px 44px rgba(16, 55, 110, 0.12) !important;
}

.home-page .home-clients-section .client-gradient-blue {
  background: linear-gradient(145deg, #0c4cc4 0%, #1bbfe7 100%) !important;
  color: #ffffff !important;
}

.home-page .home-clients-section .client-gradient-red {
  background: linear-gradient(145deg, #f59e0b 0%, #ef6b33 48%, #d9486f 100%) !important;
  color: #ffffff !important;
}

.home-page .home-clients-section .client-gradient-cyan {
  background: linear-gradient(135deg, #e9fbf6 0%, #dff7ff 100%) !important;
}

.home-page .home-clients-section .client-gradient-blue span,
.home-page .home-clients-section .client-gradient-blue h3,
.home-page .home-clients-section .client-gradient-blue p,
.home-page .home-clients-section .client-gradient-blue .client-detail span,
.home-page .home-clients-section .client-gradient-blue .client-detail h3,
.home-page .home-clients-section .client-gradient-blue .client-detail p,
.home-page .home-clients-section .client-gradient-red span,
.home-page .home-clients-section .client-gradient-red h3,
.home-page .home-clients-section .client-gradient-red p,
.home-page .home-clients-section .client-gradient-red .client-detail span,
.home-page .home-clients-section .client-gradient-red .client-detail h3,
.home-page .home-clients-section .client-gradient-red .client-detail p {
  color: #ffffff !important;
}

.home-page .home-clients-section .client-logo-wall {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.home-page .home-clients-section .client-logo-wall span {
  border-radius: 8px;
}

.home-page .floating-contact {
  bottom: 96px;
}

.home-page .promo-bar {
  min-height: 64px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 10px 56px 10px 24px;
  background:
    radial-gradient(circle at 10% 50%, rgba(27, 191, 231, 0.22), transparent 18%),
    linear-gradient(90deg, #09235f 0%, #0f4dcc 58%, #1768ff 100%);
  box-shadow: 0 -10px 30px rgba(15, 71, 216, 0.28);
}

.home-page .promo-bar::before,
.home-page .promo-bar::after {
  opacity: 0.16;
}

.home-page .promo-bar-copy {
  grid-column: 1;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.home-page .promo-bar-copy span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.home-page .promo-bar-copy strong {
  font-size: clamp(16px, 1.25vw, 22px);
  line-height: 1.2;
}

.home-page .promo-bar a {
  grid-column: 2;
  min-width: 118px;
  height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15px;
}

.home-page .promo-bar button {
  top: 17px;
  right: 14px;
}

@media (max-width: 1180px) {
  .home-page .home-hero {
    min-height: 690px;
  }

  .home-page .home-trust-strip {
    grid-template-columns: 1fr;
  }

  .home-page .home-logo-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-page .home-pain-layout,
  .home-page .home-developer-card {
    grid-template-columns: 1fr;
  }

  .home-page .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .home-security-section .security-card {
    grid-template-columns: 1fr;
  }

  .home-page .home-security-section .security-card-image {
    min-height: 190px;
  }
}

@media (max-width: 900px) {
  .home-page .home-hero {
    min-height: 660px;
  }

  .home-page .home-hero .hero-content {
    width: min(100% - 36px, 720px);
    padding-top: 104px;
    padding-bottom: 44px;
  }

  .home-page .home-hero .hero-bg {
    object-position: 72% center;
  }

  .home-page .home-hero .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 15, 44, 0.94) 0%, rgba(7, 31, 84, 0.84) 62%, rgba(7, 31, 84, 0.56) 100%),
      rgba(4, 18, 48, 0.28);
  }

  .home-page .home-hero h1 {
    font-size: clamp(34px, 7.2vw, 50px);
    line-height: 1.12;
  }

  .home-page .home-hero .hero-lead {
    font-size: 16px;
  }

  .home-page .home-hero-metrics {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-top: 32px;
  }

  .home-page .home-trust-strip {
    width: min(100% - 36px, 720px);
    margin-top: -28px;
    padding: 16px;
  }

  .home-page .section {
    padding: 70px 0;
  }

  .home-page .home-section-head {
    width: min(100% - 36px, 720px);
  }

  .home-page .home-section-head h2 {
    font-size: clamp(28px, 6vw, 38px);
  }

  .home-page .home-pain-layout,
  .home-page .home-product-grid,
  .home-page .home-developer-card,
  .home-page .home-security-section .security-grid,
  .home-page .home-clients-section .client-showcase,
  .home-page .home-clients-section .client-logo-wall {
    width: min(100% - 36px, 720px);
  }

  .home-page .home-pain-grid,
  .home-page .home-product-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-product-card {
    min-height: 240px;
  }

  .home-page .home-solutions .industry-tabs {
    width: auto;
    justify-content: flex-start;
    overflow-x: auto;
    margin-inline: 18px;
    padding-bottom: 8px;
  }

  .home-page .home-solutions .industry-tabs button {
    min-width: 136px;
  }

  .home-page .home-solutions .solution-stage-inner {
    width: min(100% - 36px, 720px);
  }

  .home-page .home-solutions .industry-card-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-solutions .industry-solution-card,
  .home-page .home-solutions .industry-solution-card.is-wide,
  .home-page .home-solutions .industry-solution-card.is-compact {
    grid-column: auto;
  }

  .home-page .home-access-steps li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .home-page .home-access-steps li span {
    grid-column: 2;
  }

  .home-page .home-developer-card .developer-flow-image {
    height: 320px;
  }

  .home-page .home-security-section .security-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-clients-section .client-showcase,
  .home-page .home-clients-section .client-hover-showcase:has(.client-card:nth-child(1).active),
  .home-page .home-clients-section .client-hover-showcase:has(.client-card:nth-child(2).active),
  .home-page .home-clients-section .client-hover-showcase:has(.client-card:nth-child(3).active),
  .home-page .home-clients-section .client-hover-showcase.is-active-1,
  .home-page .home-clients-section .client-hover-showcase.is-active-2,
  .home-page .home-clients-section .client-hover-showcase.is-active-3 {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .home-clients-section .client-card {
    min-height: 300px;
  }

  .home-page .home-clients-section .client-card.active .client-summary {
    opacity: 1;
    pointer-events: auto;
  }

  .home-page .home-clients-section .client-card.active .client-detail {
    display: none;
  }

  .home-page .home-clients-section .client-logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .home-page .home-hero {
    min-height: 0;
    padding-bottom: 40px;
  }

  .home-page .home-hero .hero-content {
    padding-top: 92px;
  }

  .home-page .home-hero-kicker {
    font-size: 12px;
  }

  .home-page .home-hero h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .home-page .home-hero .hero-lead {
    font-size: 15px;
    line-height: 1.72;
  }

  .home-page .home-hero-tags {
    gap: 8px;
  }

  .home-page .home-hero-tags span {
    min-height: 32px;
    font-size: 12px;
  }

  .home-page .home-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .home-hero .primary-button,
  .home-page .home-hero .ghost-button {
    width: 100%;
  }

  .home-page .home-logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .home-cert-row span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .home-page .home-pain-card-featured div,
  .home-page .home-product-card,
  .home-page .home-developer-card {
    padding: 22px;
  }

  .home-page .home-pain-card-featured img {
    min-height: 220px;
  }

  .home-page .home-pain-grid article {
    min-height: 0;
  }

  .home-page .home-solutions .industry-heading,
  .home-page .home-solutions .solution-stage-inner {
    width: min(100% - 32px, 560px);
  }

  .home-page .home-solutions .industry-tabs {
    margin-inline: 16px;
  }

  .home-page .home-solutions .industry-solution-card,
  .home-page .home-solutions .industry-solution-card.is-wide {
    min-height: 210px;
    padding: 24px;
  }

  .home-page .home-developer-card .developer-flow-image {
    height: 260px;
  }

  .home-page .home-security-section .security-card {
    padding: 22px;
  }

  .home-page .floating-contact {
    right: 14px;
    bottom: 84px;
  }

  .home-page .promo-bar {
    min-height: 58px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px 46px 9px 12px;
  }

  .home-page .promo-bar-copy {
    display: grid;
    gap: 2px;
    justify-items: start;
  }

  .home-page .promo-bar-copy span {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 11px;
  }

  .home-page .promo-bar-copy strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .home-page .promo-bar a {
    min-width: 82px;
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .home-page .promo-bar button {
    top: 14px;
    right: 9px;
    width: 28px;
    height: 28px;
  }
}


/* Homepage MD conversion rebuild - appended overrides, scoped to root homepage only. */
.home-page {
  --home-ink: #07162f;
  --home-muted: #5f6e85;
  --home-line: #dde8f3;
  --home-blue: #1768ff;
  --home-blue-2: #0b45c8;
  --home-cyan: #19bfe8;
  --home-green: #18b68c;
  --home-orange: #f59e0b;
  --home-bg: #f6f9fc;
  --home-card: #ffffff;
  --home-radius: 8px;
  --home-shadow: 0 18px 48px rgba(14, 50, 96, 0.12);
  color: var(--home-ink);
  background: #fff;
  letter-spacing: 0;
}

.home-page *,
.home-page *::before,
.home-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.home-page img {
  max-width: 100%;
  display: block;
}

.home-page .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(215, 226, 240, 0.86);
  box-shadow: 0 12px 32px rgba(16, 42, 85, 0.08);
  backdrop-filter: blur(16px);
}

.home-page .brand {
  gap: 10px;
  color: var(--home-ink);
  text-decoration: none;
}

.home-page .brand-mark-css {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: linear-gradient(135deg, #1768ff 0%, #19bfe8 100%);
  box-shadow: 0 10px 22px rgba(23, 104, 255, 0.22);
}

.home-page .brand-mark-css::before,
.home-page .brand-mark-css::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 3px solid #fff;
}

.home-page .brand-mark-css::before {
  inset: 7px 11px 7px 6px;
}

.home-page .brand-mark-css::after {
  inset: 7px 6px 7px 11px;
  opacity: 0.86;
}

.home-page .brand-text {
  font-weight: 900;
}

.home-page .nav-links > a,
.home-page .nav-trigger {
  color: #22314a;
  font-weight: 750;
}

.home-page .nav-links > a.is-active {
  color: var(--home-blue);
}

.home-page .platform-login-trigger,
.home-page .demo-link {
  border-radius: 8px;
  font-weight: 800;
}

.home-page .demo-link {
  background: var(--home-blue);
  color: #fff;
}

.home-page .menu-icon-css,
.home-page .menu-icon-css::before,
.home-page .menu-icon-css::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.home-page .menu-icon-css {
  position: relative;
  color: var(--home-ink);
}

.home-page .menu-icon-css::before,
.home-page .menu-icon-css::after {
  content: "";
  position: absolute;
  left: 0;
}

.home-page .menu-icon-css::before { top: -6px; }
.home-page .menu-icon-css::after { top: 6px; }

.home-page .home-hero-md {
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 24%, rgba(25, 191, 232, 0.28), transparent 34%),
    linear-gradient(135deg, #061631 0%, #0b2f72 48%, #1768ff 100%) !important;
}

.home-page .home-hero-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: 48px;
  align-items: center;
}

.home-page .home-hero-copy {
  position: relative;
  z-index: 2;
}

.home-page .home-hero-kicker {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 0 14px;
  border: 1px solid rgba(195, 223, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 850;
}

.home-page .home-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(42px, 4.1vw, 62px);
  line-height: 1.08;
  font-weight: 950;
}

.home-page .home-hero h1 span {
  display: block;
}

.home-page .home-hero h1 span + span {
  margin-top: 10px;
}

.home-page .home-hero .hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84) !important;
  font-size: 17px;
  line-height: 1.78;
}

.home-page .home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-page .primary-button,
.home-page .ghost-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.home-page .primary-button {
  border: 1px solid var(--home-blue);
  color: #fff;
  background: linear-gradient(90deg, #1768ff, #12a9e8);
  box-shadow: 0 14px 26px rgba(23, 104, 255, 0.22);
}

.home-page .ghost-button {
  border: 1px solid rgba(23, 104, 255, 0.2);
  color: var(--home-blue);
  background: #fff;
}

.home-page .home-hero .ghost-button {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.home-page .home-hero-position {
  max-width: 610px;
  margin: 26px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--home-cyan);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

.home-page .home-hero-proof {
  position: relative;
  min-height: 488px;
  border-radius: 14px;
}

.home-page .home-hero-proof > img {
  width: 100%;
  height: 488px;
  object-fit: cover;
  border: 1px solid rgba(205, 225, 255, 0.28);
  border-radius: 14px;
  box-shadow: 0 32px 70px rgba(0, 12, 45, 0.36);
}

.home-page .hero-ui-card {
  position: absolute;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(223, 237, 255, 0.76);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(2, 26, 74, 0.18);
  backdrop-filter: blur(14px);
}

.home-page .hero-ui-card-main {
  left: -28px;
  bottom: 34px;
  width: 260px;
  padding: 16px;
}

.home-page .hero-ui-card-main div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf3fa;
}

.home-page .hero-ui-card-main div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.home-page .hero-ui-card-main span,
.home-page .hero-ui-card-sub span {
  color: #52637a;
  font-size: 12px;
  font-weight: 750;
}

.home-page .hero-ui-card-main strong {
  color: var(--home-ink);
  font-size: 13px;
}

.home-page .hero-ui-card-sub {
  right: 18px;
  top: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px;
}

.home-page .hero-ui-card-sub span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #0d3a7a;
  background: #eef6ff;
}

.home-page .home-payment-methods {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: 22px;
  align-items: center;
  margin: -34px auto 0;
  padding: 20px;
  border: 1px solid rgba(214, 226, 242, 0.96);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--home-shadow);
}

.home-page .home-trust-copy {
  display: grid;
  gap: 8px;
}

.home-page .home-trust-copy strong {
  color: var(--home-ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 920;
}

.home-page .home-trust-copy span {
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.65;
}

.home-page .home-method-tags,
.home-page .home-capability-tags,
.home-page .home-api-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-page .home-method-tags span,
.home-page .home-capability-tags span,
.home-page .home-api-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #e1ebf6;
  border-radius: 999px;
  color: #17406d;
  background: #f8fbff;
  font-size: 13px;
  font-weight: 800;
}

.home-page .section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.home-page .home-section-head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.home-page .home-section-head > span,
.home-page .home-flow-copy > span,
.home-page .home-developer-copy > span,
.home-page .home-final-cta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(23, 104, 255, 0.14);
  border-radius: 999px;
  color: var(--home-blue);
  background: #eef6ff;
  font-size: 12px;
  font-weight: 900;
}

.home-page .home-section-head h2,
.home-page .home-flow-copy h2,
.home-page .home-developer-copy h2,
.home-page .home-final-cta h2 {
  margin: 14px 0 0;
  color: var(--home-ink) !important;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.18;
  font-weight: 950;
}

.home-page .home-section-head p,
.home-page .home-flow-copy p,
.home-page .home-developer-copy p,
.home-page .home-final-cta p {
  margin: 16px 0 0;
  color: var(--home-muted) !important;
  font-size: 16px;
  line-height: 1.82;
}

.home-page .home-product-grid-md {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-page .home-product-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #e1eaf5;
  border-radius: 8px;
  color: var(--home-ink);
  background: #fff;
  box-shadow: 0 12px 28px rgba(14, 50, 96, 0.08);
  text-decoration: none;
}

.home-page .home-product-card.is-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #0b3f9a, #1768ff 68%, #17bce7);
}

.home-page .home-product-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--home-blue);
  background: #eef6ff;
  font-size: 18px;
  font-weight: 950;
}

.home-page .home-product-card.is-primary > span {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.home-page .home-product-card h3 {
  margin: 22px 0 0;
  color: inherit !important;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 950;
}

.home-page .home-product-card p {
  margin: 12px 0 20px;
  color: var(--home-muted) !important;
  font-size: 14px;
  line-height: 1.72;
}

.home-page .home-product-card.is-primary p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.home-page .home-product-card strong {
  margin-top: auto;
  color: var(--home-blue);
  font-size: 14px;
}

.home-page .home-product-card.is-primary strong {
  color: #fff;
}

.home-page .home-capability-tags {
  justify-content: center;
  margin-top: 22px;
}

.home-page .home-flow-section {
  width: 100%;
  max-width: none;
  padding: 92px 0 0;
}

.home-page .home-flow-card {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1.22fr);
  gap: 36px;
  align-items: center;
  margin: 0 auto;
  padding: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #061631, #0c347c 62%, #115bd6);
  box-shadow: var(--home-shadow);
}

.home-page .home-flow-copy h2,
.home-page .home-flow-copy p,
.home-page .home-flow-copy li {
  color: #fff !important;
}

.home-page .home-flow-copy p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.home-page .home-flow-copy ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.home-page .home-flow-copy li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.62;
}

.home-page .home-flow-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-cyan);
}

.home-page .home-flow-visual {
  position: relative;
  min-height: 430px;
}

.home-page .home-flow-visual img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

.home-page .flow-node {
  position: absolute;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(220, 235, 255, 0.78);
  border-radius: 999px;
  color: #07316a;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(2, 20, 54, 0.16);
  font-size: 12px;
  font-weight: 900;
}

.home-page .flow-node-user { left: 5%; top: 42%; }
.home-page .flow-node-platform { left: 41%; top: 42%; color: #fff; background: var(--home-blue); }
.home-page .flow-node-merchant { right: 6%; top: 16%; }
.home-page .flow-node-payout { right: 6%; top: 34%; }
.home-page .flow-node-channel { right: 7%; top: 52%; }
.home-page .flow-node-receipt { right: 14%; bottom: 18%; }
.home-page .flow-node-risk { left: 40%; bottom: 12%; color: #8a4f00; background: #fff7e6; }

.home-page .home-solutions {
  width: 100%;
  max-width: none;
}

.home-page .home-solutions .industry-heading,
.home-page .home-solutions .solution-stage-inner,
.home-page .home-solutions .industry-tabs {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.home-page .home-solutions .industry-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.home-page .home-solutions .industry-tabs button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #dce7f4;
  border-radius: 999px;
  color: #21334e;
  background: #fff;
  font-weight: 850;
}

.home-page .home-solutions .industry-tabs button.active {
  color: #fff;
  border-color: var(--home-blue);
  background: var(--home-blue);
}

.home-page .home-solutions .solution-stage-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid #e0eaf5;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--home-shadow);
}

.home-page .solution-stage-heading h3 {
  margin: 0;
  color: var(--home-ink) !important;
  font-size: 30px;
  line-height: 1.22;
  font-weight: 950;
}

.home-page .solution-stage-heading p {
  margin: 12px 0 0;
  color: var(--home-muted) !important;
  font-size: 15px;
  line-height: 1.75;
}

.home-page .home-solutions .industry-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.home-page .home-solutions .industry-solution-card {
  min-height: 188px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(4, 20, 50, 0.1), rgba(4, 20, 50, 0.82)),
    var(--card-image) center / cover no-repeat;
  text-decoration: none;
}

.home-page .industry-card-copy h4 {
  margin: 8px 0 0;
  color: #fff !important;
  font-size: 18px;
  line-height: 1.32;
  font-weight: 900;
}

.home-page .industry-card-copy p,
.home-page .industry-card-copy span,
.home-page .industry-card-copy em {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 13px;
  line-height: 1.55;
}

.home-page .solution-stage-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 10px;
}

.home-page .home-developer-card {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid #e0eaf5;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--home-shadow);
}

.home-page .home-api-tags {
  margin-top: 20px;
}

.home-page .home-access-steps {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.home-page .home-access-steps li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e3edf7;
  border-radius: 8px;
  background: #f8fbff;
}

.home-page .home-access-steps strong {
  color: var(--home-ink);
  font-size: 14px;
}

.home-page .home-access-steps span {
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.5;
}

.home-page .developer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-page .developer-flow-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
}

.home-page .home-security-section {
  width: 100%;
  max-width: none;
  padding-bottom: 0;
}

.home-page .home-security-section > .home-section-head,
.home-page .home-security-section > .home-compliance-note,
.home-page .home-security-section > .security-badge-row,
.home-page .home-security-layout {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.home-page .home-compliance-note {
  max-width: 960px;
  padding: 16px 18px;
  border: 1px solid rgba(23, 104, 255, 0.12);
  border-radius: 8px;
  color: #17406d;
  background: #f0f7ff;
  font-size: 14px;
  line-height: 1.75;
}

.home-page .security-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.home-page .security-badge-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #dce8f7;
  border-radius: 999px;
  color: #17406d;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.home-page .home-security-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.home-page .home-security-layout > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--home-shadow);
}

.home-page .home-security-section .security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-page .home-security-section .security-grid article {
  padding: 18px;
  border: 1px solid #e2ebf5;
  border-radius: 8px;
  background: #fff;
}

.home-page .home-security-section .security-grid h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: 17px;
}

.home-page .home-security-section .security-grid p {
  margin: 9px 0 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.65;
}

.home-page .home-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
}

.home-page .home-case-card {
  overflow: hidden;
  border: 1px solid #e1eaf5;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(14, 50, 96, 0.08);
}

.home-page .home-case-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.home-page .home-case-card:nth-child(3) img {
  /* object-fit: contain;
  object-position: center center;
  box-sizing: border-box;
  padding: 18px 22px; */
}

.home-page .home-case-card h3 {
  margin: 20px 20px 12px;
  color: var(--home-ink);
  font-size: 21px;
}

.home-page .home-case-card p {
  margin: 10px 20px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-page .home-case-card p:last-of-type {
  margin-bottom: 14px;
}

.home-page .home-case-card strong {
  color: var(--home-blue);
  margin-right: 6px;
}

.home-page .home-case-link {
  display: inline-flex;
  margin: 0 20px 22px;
  font-size: 14px;
  font-weight: 900;
}

.home-page .home-case-link::after {
  content: ">";
  margin-left: 6px;
}

.home-page .home-final-cta {
  width: min(1180px, calc(100% - 48px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
  padding: 34px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #061631, #0b45c8 72%, #19bfe8);
}

.home-page .home-final-cta h2,
.home-page .home-final-cta p {
  color: #fff !important;
}

.home-page .home-final-cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78) !important;
}

.home-page .home-footer {
  color: #d7e4f7;
  background: #07162f;
}

.home-page .home-footer-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 32px;
}

.home-page .home-footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-page .home-footer .brand-text,
.home-page .home-footer-brand p {
  color: #fff;
}

.home-page .home-footer-brand p {
  margin: 0;
  font-weight: 800;
}

.home-page .home-footer-nav,
.home-page .home-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 22px;
}

.home-page .home-footer a,
.home-page .home-footer-legal span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-decoration: none;
}

.home-page .floating-contact {
  right: 22px;
  bottom: 94px;
}

.home-page .floating-contact-trigger {
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(14, 50, 96, 0.18);
}

.home-page .floating-contact-trigger-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--home-blue);
  font-size: 13px;
  font-weight: 900;
}

.home-page .promo-bar {
  min-height: 58px;
  border-top: 1px solid rgba(210, 224, 242, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -12px 28px rgba(14, 50, 96, 0.08);
  backdrop-filter: blur(14px);
}

.home-page .promo-bar-copy strong {
  color: var(--home-ink);
}

.home-page .promo-bar-copy span {
  color: var(--home-blue);
}

.home-page .promo-bar a {
  border-radius: 8px;
  background: var(--home-blue);
}

.home-page .promo-bar button {
  color: var(--home-muted);
  font-size: 20px;
  background: transparent;
}

@media (max-width: 1180px) {
  .home-page .home-hero-shell,
  .home-page .home-flow-card,
  .home-page .home-developer-card,
  .home-page .home-security-layout,
  .home-page .home-solutions .solution-stage-inner {
    grid-template-columns: 1fr;
  }

  .home-page .home-hero-proof,
  .home-page .home-flow-visual,
  .home-page .developer-flow-image,
  .home-page .home-security-layout > img,
  .home-page .solution-stage-image {
    max-width: 760px;
    margin-inline: auto;
  }

  .home-page .home-product-grid-md,
  .home-page .home-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .home-payment-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .home-page .site-header {
    min-height: 58px;
  }

  .home-page .nav-links {
    background: #fff;
  }

  .home-page .home-hero-md {
    min-height: 0;
    padding: 92px 0 48px;
  }

  .home-page .home-hero-shell,
  .home-page .home-payment-methods,
  .home-page .section,
  .home-page .home-flow-card,
  .home-page .home-solutions .industry-heading,
  .home-page .home-solutions .solution-stage-inner,
  .home-page .home-solutions .industry-tabs,
  .home-page .home-security-section > .home-section-head,
  .home-page .home-security-section > .home-compliance-note,
  .home-page .home-security-section > .security-badge-row,
  .home-page .home-security-layout,
  .home-page .home-final-cta,
  .home-page .home-footer-shell {
    width: min(100% - 32px, 680px);
  }

  .home-page .home-hero h1 {
    font-size: clamp(34px, 8vw, 44px);
  }

  .home-page .home-hero .hero-lead {
    font-size: 15px;
  }

  .home-page .home-hero-proof {
    min-height: 0;
  }

  .home-page .home-hero-proof > img {
    height: 330px;
  }

  .home-page .hero-ui-card-main,
  .home-page .hero-ui-card-sub {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .home-page .home-product-grid-md,
  .home-page .home-case-grid,
  .home-page .home-security-section .security-grid,
  .home-page .home-solutions .industry-card-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-flow-card,
  .home-page .home-developer-card,
  .home-page .home-final-cta {
    padding: 22px;
  }

  .home-page .home-flow-visual img,
  .home-page .developer-flow-image,
  .home-page .home-security-layout > img,
  .home-page .solution-stage-image {
    height: 280px;
    min-height: 0;
  }

  .home-page .flow-node {
    display: none;
  }

  .home-page .home-access-steps li {
    grid-template-columns: 1fr;
  }

  .home-page .home-final-cta {
    display: grid;
  }

  .home-page .home-final-cta .primary-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .home-page .header-actions .demo-link,
  .home-page .platform-login {
    display: none;
  }

  .home-page .home-hero-md {
    padding-top: 82px;
  }

  .home-page .home-hero h1 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .home-page .home-hero .hero-actions,
  .home-page .developer-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .primary-button,
  .home-page .ghost-button {
    width: 100%;
    min-height: 46px;
  }

  .home-page .home-hero-proof > img {
    height: 260px;
  }

  .home-page .hero-ui-card-sub {
    grid-template-columns: 1fr;
  }

  .home-page .home-section-head h2,
  .home-page .home-flow-copy h2,
  .home-page .home-developer-copy h2,
  .home-page .home-final-cta h2 {
    font-size: 28px;
  }

  .home-page .home-product-card {
    min-height: 0;
  }

  .home-page .home-method-tags span,
  .home-page .home-capability-tags span,
  .home-page .home-api-tags span {
    flex: 1 1 calc(50% - 10px);
  }

  .home-page .promo-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 9px 44px 9px 12px;
  }

  .home-page .promo-bar-copy strong {
    font-size: 13px;
  }

  .home-page .promo-bar a {
    min-width: 82px;
    padding: 0 12px;
    font-size: 13px;
  }
}

.case-page .case-hero .subpage-hero-content {
  max-width: 880px;
}

.case-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.case-hero-proof span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.case-overview-section,
.case-problems-section,
.case-ability-section {
  background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}

.case-filter-bar {
  width: min(1180px, calc(100% - 48px));
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px auto 0;
}

.case-filter-bar button {
  min-height: 38px;
  border: 1px solid #d8e6f6;
  border-radius: 8px;
  padding: 0 16px;
  color: #33415c;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.case-filter-bar button:hover,
.case-filter-bar button.is-active {
  border-color: rgba(24, 91, 255, 0.42);
  color: #185bff;
  background: #eef5ff;
  box-shadow: 0 10px 24px rgba(24, 91, 255, 0.1);
}

.case-practice-grid {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px auto 0;
}

.case-practice-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid #dbe7f6;
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.94)),
    #fff;
  box-shadow: 0 18px 48px rgba(28, 68, 126, 0.09);
  transition:
    transform 0.24s var(--ease-out),
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.case-practice-card:hover {
  transform: translateY(-5px);
  border-color: rgba(24, 91, 255, 0.34);
  box-shadow: 0 24px 60px rgba(24, 91, 255, 0.12);
}

.case-practice-card.is-hidden {
  display: none;
}

.case-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.case-card-head span {
  color: #185bff;
  font-size: 14px;
  font-weight: 900;
}

.case-card-head a {
  flex: 0 0 auto;
  color: #185bff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.case-card-head a::after {
  content: ">";
  margin-left: 6px;
}

.case-practice-card h3 {
  margin: 0;
  color: #15223a;
  font-size: 23px;
  line-height: 1.34;
}

.case-practice-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.case-practice-card dl div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.case-practice-card dt {
  color: #185bff;
  font-size: 13px;
  font-weight: 900;
}

.case-practice-card dd {
  margin: 0;
  color: #58657d;
  line-height: 1.68;
}

.case-capabilities {
  margin: auto 0 0;
  border-top: 1px solid #e5edf7;
  padding-top: 16px;
  color: #33415c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.case-evidence-section {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: center;
}

.case-evidence-copy h2 {
  margin: 10px 0 12px;
  color: #15223a;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.case-evidence-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.78;
}

.case-overview-flow,
.case-flow-diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid #dbe7f6;
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(236, 246, 255, 0.9), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: 0 22px 58px rgba(28, 68, 126, 0.1);
}

.case-flow-node {
  position: relative;
  z-index: 1;
  min-height: 106px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid #d9e6f6;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(28, 68, 126, 0.08);
}

.case-flow-node:not(.is-final)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 18px;
  height: 2px;
  background: #8fb8f8;
  transform: translateY(-50%);
}

.case-flow-node span {
  color: #185bff;
  font-size: 13px;
  font-weight: 900;
}

.case-flow-node strong {
  color: #15223a;
  font-size: 18px;
  line-height: 1.32;
}

.case-flow-node.is-source {
  border-color: rgba(24, 91, 255, 0.28);
  background: #edf5ff;
}

.case-flow-node.is-final {
  border-color: rgba(25, 158, 112, 0.3);
  background: #effbf6;
}

.case-problem-grid {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 34px auto 0;
}

.case-problem-card {
  min-height: 168px;
  border: 1px solid #dbe7f6;
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(28, 68, 126, 0.08);
}

.case-problem-card span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #185bff;
  background: #edf5ff;
  font-size: 13px;
  font-weight: 900;
}

.case-problem-card p {
  margin: 16px 0 0;
  color: #58657d;
  line-height: 1.72;
}

.case-detail-layout {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 24px;
  align-items: stretch;
}

.case-story-panel,
.case-story-grid article {
  border: 1px solid #dbe7f6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(28, 68, 126, 0.08);
}

.case-story-panel {
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(236, 246, 255, 0.96), rgba(255, 255, 255, 0.98)),
    #fff;
}

.case-story-panel h2 {
  margin: 12px 0 16px;
  color: #15223a;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.16;
}

.case-story-panel p:not(.eyebrow) {
  color: #58657d;
  line-height: 1.78;
}

.case-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.case-story-grid article {
  padding: 24px;
}

.case-story-grid span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #185bff;
  background: #edf5ff;
  font-size: 13px;
  font-weight: 900;
}

.case-story-grid p {
  margin: 16px 0 0;
  color: #58657d;
  line-height: 1.76;
}

.case-ability-section .section-heading h2 {
  max-width: 980px;
}

.case-ability-section .case-flow-diagram {
  width: min(1180px, calc(100% - 48px));
  margin: 34px auto 0;
}

@media (max-width: 1180px) {
  .case-practice-grid,
  .case-evidence-section,
  .case-detail-layout {
    grid-template-columns: 1fr;
  }

  .case-problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .case-filter-bar,
  .case-practice-grid,
  .case-evidence-section,
  .case-problem-grid,
  .case-detail-layout,
  .case-ability-section .case-flow-diagram {
    width: min(100% - 32px, 680px);
  }

  .case-practice-grid,
  .case-problem-grid,
  .case-story-grid {
    grid-template-columns: 1fr;
  }

  .case-practice-card,
  .case-story-panel,
  .case-story-grid article,
  .case-problem-card {
    padding: 20px;
  }

  .case-overview-flow,
  .case-flow-diagram {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .case-flow-node {
    min-height: 86px;
  }

  .case-flow-node:not(.is-final)::after {
    top: auto;
    right: 50%;
    bottom: -16px;
    width: 2px;
    height: 18px;
    transform: translateX(50%);
  }
}

@media (max-width: 520px) {
  .case-filter-bar button {
    flex: 1 1 calc(50% - 10px);
    padding: 0 10px;
  }

  .case-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-practice-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .case-practice-card h3 {
    font-size: 20px;
  }

  .case-flow-node strong {
    font-size: 17px;
  }
}

@media (max-width: 1180px) {
  .open-platform-hero-content,
  .open-platform-split,
  .open-platform-split--reverse,
  .open-platform-ledger {
    grid-template-columns: 1fr;
  }

  .open-platform-split--reverse > :first-child {
    order: 0;
  }

  .open-platform-api-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .open-platform-flow,
  .open-platform-tool-grid,
  .open-platform-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .open-platform-console {
    max-width: 620px;
  }
}

@media (max-width: 820px) {
  .open-platform-hero {
    min-height: 0;
    padding: 88px 0 54px;
  }

  .open-platform-hero-content,
  .open-platform-anchor-nav,
  .open-platform-flow,
  .open-platform-api-grid,
  .open-platform-tool-grid,
  .open-platform-support-grid,
  .open-platform-split,
  .open-platform-ledger {
    width: min(100% - 32px, 680px);
  }

  .open-platform-hero-content {
    padding-top: 0;
  }

  .open-platform-hero-copy h1 {
    font-size: clamp(34px, 8.5vw, 46px);
  }

  .open-platform-anchor-nav {
    top: 58px;
    margin-top: 0;
    border-radius: 0 0 var(--open-card-radius) var(--open-card-radius);
  }

  .open-platform-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .open-platform-flow article {
    min-height: 0;
  }

  .open-platform-flow article:not(:last-child)::after {
    display: none;
  }

  .open-platform-ledger-table > div {
    grid-template-columns: 1fr;
  }

  .open-platform-ledger-head {
    display: none !important;
  }

  .open-platform-ledger-table span {
    padding: 8px 14px;
    border-bottom: 0;
  }

  .open-platform-ledger-table > div {
    padding: 12px 0;
    border-bottom: 1px solid #e7edf5;
  }

  .open-platform-ledger-table > div:last-child {
    border-bottom: 0;
  }

  .open-platform-cta-panel,
  .open-platform-cta-actions {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .open-platform-cta-actions {
    display: grid;
  }

  .open-platform-cta-actions a,
  .open-platform-cta-secondary {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .open-platform-hero {
    padding-top: 82px;
  }

  .open-platform-hero-content,
  .open-platform-anchor-nav,
  .open-platform-flow,
  .open-platform-api-grid,
  .open-platform-tool-grid,
  .open-platform-support-grid,
  .open-platform-split,
  .open-platform-ledger {
    width: min(100% - 28px, 520px);
  }

  .open-platform-api-grid,
  .open-platform-flow,
  .open-platform-tool-grid,
  .open-platform-support-grid {
    grid-template-columns: 1fr;
  }

  .open-platform-console,
  .open-platform-check-panel,
  .open-platform-log-panel,
  .open-platform-dimensions,
  .open-platform-api-grid article,
  .open-platform-tool-grid article,
  .open-platform-support-grid article,
  .open-platform-flow article {
    padding: 18px;
  }

  .open-platform-console-row,
  .open-platform-console-head {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
  }

  .open-platform-log-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .open-platform-tag-list span,
  .open-platform-status-list span {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    text-align: center;
  }

  .open-platform-hero-copy .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .open-platform-hero-copy .primary-button,
  .open-platform-hero-copy .ghost-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .open-platform-hero-copy h1,
  .open-platform-split h2,
  .open-platform-cta-panel h2 {
    font-size: 30px;
  }

  .open-platform-anchor-nav a {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .open-platform-tag-list span,
  .open-platform-status-list span {
    flex-basis: 100%;
  }
}

/* Homepage-only cleanup for old shared header imagery and compact mobile hero. */
.home-page .platform-login-trigger::before,
.home-page .platform-login-menu a::before,
.home-page .platform-login-menu a::after {
  background-image: none !important;
}

.home-page .platform-login-trigger::before {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff 0 25%, transparent 28%), linear-gradient(135deg, #1768ff, #19bfe8) !important;
}

.home-page .platform-login-menu a::before {
  border-radius: 8px;
  background: linear-gradient(135deg, #eef6ff, #dcecff) !important;
}

.home-page .platform-login-menu a::after {
  background: var(--home-blue) !important;
}

@media (max-width: 820px) {
  .home-page .home-hero-md {
    padding-bottom: 36px;
  }

  .home-page .home-hero-shell {
    gap: 24px;
  }

  .home-page .home-hero-proof > img {
    height: 260px;
  }

  .home-page .hero-ui-card-main {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px;
  }

  .home-page .hero-ui-card-main div {
    padding-bottom: 6px;
  }

  .home-page .hero-ui-card-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
  }

  .home-page .hero-ui-card-sub span {
    flex: 1 1 calc(50% - 8px);
  }
}

@media (max-width: 520px) {
  .home-page .home-hero-md {
    padding-top: 76px;
    padding-bottom: 30px;
  }

  .home-page .home-hero-shell {
    gap: 18px;
  }

  .home-page .home-hero-kicker {
    margin-bottom: 12px;
  }

  .home-page .home-hero h1 {
    font-size: clamp(28px, 8.4vw, 35px);
    line-height: 1.12;
  }

  .home-page .home-hero .hero-lead {
    margin-top: 16px;
    line-height: 1.65;
  }

  .home-page .home-hero .hero-actions {
    margin-top: 22px;
  }

  .home-page .home-hero-position {
    margin-top: 16px;
  }

  .home-page .home-hero-proof > img {
    height: 190px;
  }

  .home-page .hero-ui-card-main {
    display: none;
  }

  .home-page .hero-ui-card-sub {
    margin-top: 8px;
  }

  .home-page .hero-ui-card-sub span {
    min-height: 26px;
    font-size: 11px;
  }
}

.home-page .home-hero h1 em {
  display: inline-block;
  font-style: normal;
  white-space: nowrap;
}

.home-page .home-hero h1 em + em::before {
  content: "、";
}

@media (min-width: 1181px) {
  .home-page .home-hero h1 {
    max-width: 600px;
    font-size: clamp(40px, 3.85vw, 56px);
  }
}

@media (max-width: 520px) {
  .home-page .home-hero h1 em {
    display: block;
    white-space: normal;
  }

  .home-page .home-hero h1 em + em::before {
    content: "";
  }
}

.home-page .home-hero h1 .hero-title-main {
  white-space: nowrap;
}

@media (min-width: 1181px) {
  .home-page .home-hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(520px, 0.95fr);
  }

  .home-page .home-hero h1 {
    max-width: 700px;
    font-size: clamp(38px, 3.55vw, 52px);
  }
}

@media (max-width: 520px) {
  .home-page .home-hero h1 .hero-title-main {
    white-space: normal;
  }
}

/* Four-party aggregation payment solution pages */
.solution-proof-note {
  margin-top: 18px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.8;
}

.solution-scene-section .section-heading,
.solution-problem-section .section-heading,
.solution-matrix-section .section-heading,
.solution-flow-section .section-heading,
.solution-capability-section .section-heading,
.solution-compliance-section .section-heading {
  max-width: 880px;
}

.solution-industry-grid .page-card {
  border-radius: 8px;
}

.solution-problem-grid,
.solution-compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.solution-problem-grid article,
.solution-compliance-grid article {
  min-height: 168px;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.solution-problem-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #eef5ff;
  color: #0756c8;
  font-weight: 800;
}

.solution-problem-grid p,
.solution-compliance-grid p {
  margin: 0;
  color: #475569;
  line-height: 1.75;
}

.solution-compliance-grid h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 18px;
}

.solution-matrix {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.solution-matrix-row {
  display: grid;
  grid-template-columns: 1.25fr repeat(6, minmax(84px, 1fr));
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.solution-matrix-row:first-child {
  border-top: 0;
}

.solution-matrix-row span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 16px;
  color: #334155;
  font-size: 14px;
  line-height: 1.4;
}

.solution-matrix-row span:not(:first-child) {
  justify-content: center;
  text-align: center;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
}

.solution-matrix-row.is-head {
  background: #0f2f68;
}

.solution-matrix-row.is-head span {
  color: #fff;
  font-weight: 800;
}

.solution-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.solution-flow article {
  position: relative;
  min-height: 132px;
  padding: 22px 18px;
  border: 1px solid rgba(7, 86, 200, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.solution-flow article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 24px;
  height: 1px;
  background: #7aa7e8;
}

.solution-flow span {
  display: block;
  margin-bottom: 16px;
  color: #0756c8;
  font-weight: 800;
  letter-spacing: 0;
}

.solution-flow strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.45;
}

.solution-combo-lane article {
  min-height: 156px;
}

.solution-capability-grid .zego-feature-card {
  border-radius: 8px;
}

.solution-example-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 36px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.solution-example-panel h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
}

.solution-example-panel p:not(.eyebrow) {
  margin: 0;
  color: #475569;
  line-height: 1.85;
}

.solution-example-panel img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.solution-advice-panel .detail-number-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .solution-problem-grid,
  .solution-compliance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .solution-flow article:nth-child(3n)::after {
    display: none;
  }

  .solution-matrix {
    overflow-x: auto;
  }

  .solution-matrix-row {
    min-width: 860px;
  }
}

@media (max-width: 860px) {
  .solution-proof-note {
    font-size: 13px;
  }

  .solution-flow {
    grid-template-columns: 1fr;
  }

  .solution-flow article {
    min-height: 0;
  }

  .solution-flow article:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -13px;
    left: 28px;
    width: 1px;
    height: 24px;
    display: block;
  }

  .solution-example-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .solution-advice-panel .detail-number-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .solution-problem-grid,
  .solution-compliance-grid {
    grid-template-columns: 1fr;
  }

  .solution-problem-grid article,
  .solution-compliance-grid article {
    min-height: 0;
    padding: 20px;
  }

  .solution-matrix-row {
    min-width: 740px;
  }

  .solution-matrix-row span {
    min-height: 52px;
    padding: 10px 12px;
  }
}

/* Homepage brand polish pass: restore original logo/footer and refine hero aesthetics. */
.home-page .site-header .brand-mark,
.home-page .zego-footer-logo .brand-mark,
.home-page .zego-footer-mobile-logo .brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.home-page .site-header .brand-mark::before,
.home-page .site-header .brand-mark::after,
.home-page .zego-footer-logo .brand-mark::before,
.home-page .zego-footer-logo .brand-mark::after,
.home-page .zego-footer-mobile-logo .brand-mark::before,
.home-page .zego-footer-mobile-logo .brand-mark::after {
  content: none !important;
}

.home-page .home-footer,
.home-page .home-footer-shell,
.home-page .home-footer-brand,
.home-page .home-footer-nav,
.home-page .home-footer-legal {
  all: revert;
}

.home-page .footer {
  margin-top: 0;
}

.home-page .zego-footer-slogan {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.home-page .home-hero-md {
  min-height: 690px;
  padding: 96px 0 60px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 45%, #dbeaff 100%) !important;
}

.home-page .home-hero-shell {
  width: min(1180px, calc(100% - 48px));
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: 52px;
  align-items: center;
}

.home-page .home-hero-copy {
  min-width: 0;
}

.home-page .home-hero-kicker {
  margin-bottom: 18px;
  border-color: rgba(23, 104, 255, 0.12);
  color: #0f56ce;
  background: rgba(23, 104, 255, 0.08);
}

.home-page .home-hero h1 {
  max-width: 680px;
  color: var(--home-ink) !important;
  font-size: clamp(40px, 3.35vw, 52px);
  line-height: 1.13;
  font-weight: 950;
  text-wrap: balance;
}

.home-page .home-hero h1 .hero-title-main {
  display: block;
}

.home-page .home-hero h1 span + span {
  margin-top: 8px;
}

.home-page .home-hero .hero-lead {
  max-width: 650px;
  margin-top: 22px;
  color: var(--home-muted) !important;
  font-size: 16px;
  line-height: 1.82;
}

.home-page .home-hero .hero-actions {
  margin-top: 30px;
}

.home-page .home-hero .primary-button {
  min-width: 128px;
  border-radius: 999px;
  border-color: rgba(23, 104, 255, 0.14);
  color: #0d4fc1;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 12px 26px rgba(33, 82, 153, 0.12);
}

.home-page .home-hero .ghost-button {
  min-width: 140px;
  border-radius: 999px;
  border-color: rgba(23, 104, 255, 0.16);
  color: var(--home-blue);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(20, 64, 128, 0.08);
}

.home-page .home-hero-position {
  max-width: 620px;
  margin-top: 24px;
  padding-left: 12px;
  border-left: 3px solid rgba(27, 191, 231, 0.72);
  color: #64758d;
  font-size: 14px;
  line-height: 1.7;
}

.home-page .home-hero-proof {
  min-height: 440px;
  padding: 18px;
  border: 1px solid rgba(210, 225, 244, 0.92);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(246, 250, 255, 0.94) 100%);
  box-shadow: 0 24px 54px rgba(33, 78, 147, 0.12);
}

.home-page .home-hero-video-rotator {
  display: grid;
  gap: 12px;
}

.home-page .home-hero-video-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 404px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(9, 24, 56, 0.12)),
    linear-gradient(135deg, rgba(11, 45, 105, 0.9), rgba(23, 104, 255, 0.76));
  box-shadow: inset 0 0 0 1px rgba(223, 236, 255, 0.15);
}

.home-page .home-hero-video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.01);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  pointer-events: none;
}

.home-page .home-hero-video-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.home-page .home-hero-video-slide video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-page .home-hero-video-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 15, 40, 0.08), rgba(3, 15, 40, 0.08) 50%, rgba(3, 15, 40, 0.24)),
    linear-gradient(90deg, rgba(7, 24, 57, 0.16), transparent 34%);
  pointer-events: none;
}

.home-page .home-hero-video-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 2px;
}

.home-page .home-hero-video-tabs button {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 68, 112, 0.18);
  box-shadow: inset 0 0 0 1px rgba(23, 104, 255, 0.12);
  font-size: 0;
}

.home-page .home-hero-video-tabs button.is-active {
  width: 28px;
  background: linear-gradient(90deg, #1768ff, #12a9e8);
  box-shadow: 0 10px 22px rgba(23, 104, 255, 0.18);
}

.home-page .home-payment-methods {
  margin-top: -30px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(23, 73, 140, 0.08);
}

.home-page .home-final-cta {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .home-page .home-hero-md {
    min-height: 0;
  }

  .home-page .home-hero-shell {
    grid-template-columns: 1fr;
    gap: 34px;
    justify-items: center;
  }

  .home-page .home-hero-copy {
    text-align: center;
  }

  .home-page .home-hero h1 .hero-title-main {
    white-space: normal;
  }

  .home-page .home-hero-proof {
    max-width: 780px;
    margin-inline: auto;
  }

  .home-page .home-hero .hero-actions {
    justify-content: center;
  }

  .home-page .home-hero-position {
    margin-inline: auto;
    padding-left: 0;
    border-left: 0;
    border-top: 2px solid rgba(27, 191, 231, 0.55);
    padding-top: 12px;
    max-width: 620px;
  }
}

@media (max-width: 820px) {
  .home-page .home-hero-md {
    padding: 88px 0 36px;
  }

  .home-page .home-hero h1 {
    font-size: clamp(34px, 7vw, 44px);
    line-height: 1.12;
  }

  .home-page .home-hero-proof {
    padding: 14px;
  }

  .home-page .home-hero-video-stage {
    min-height: 286px;
  }
}

@media (max-width: 520px) {
  .home-page .home-hero-md {
    padding: 72px 0 28px;
  }

  .home-page .home-hero-shell {
    gap: 18px;
    width: min(calc(100% - 24px), 1180px);
  }

  .home-page .home-hero h1 {
    font-size: clamp(30px, 8.6vw, 36px);
  }

  .home-page .home-hero .hero-lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.68;
  }

  .home-page .home-hero-video-stage {
    min-height: 208px;
  }

  .home-page .home-hero-position {
    margin-top: 16px;
  }
}

/* Product MD implementation: overview matrix and payment-focused copy. */
@media (max-width: 1180px) {
  .product-overview-page .product-core-grid {
    width: min(100% - 48px, 1320px);
  }

  .product-overview-page .product-core-card {
    min-height: 0;
    padding: 26px 24px 22px;
    border-radius: 28px;
  }

  .product-overview-page .product-core-check-list {
    gap: 8px 16px;
  }

  .product-core-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-decision-row {
    grid-template-columns: 120px repeat(2, minmax(0, 1fr));
  }

  .product-decision-row strong,
  .product-decision-row span {
    align-items: flex-start;
  }

  .product-decision-row span:nth-child(4),
  .product-decision-row span:nth-child(5) {
    grid-column: span 1;
  }

  .detail-interface-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-combo-grid,
  .product-ui-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .product-overview-page .product-core-grid {
    width: calc(100% - 32px);
  }

  .product-overview-page .product-core-card {
    padding: 22px 18px 18px;
    border-radius: 24px;
  }

  .product-overview-page .product-core-card h3 {
    font-size: 21px;
  }

  .product-overview-page .product-core-check-list {
    grid-template-columns: 1fr;
  }

  .product-overview-page .product-core-pill-grid span {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .product-overview-page .product-overview-hero {
    padding-top: 96px;
  }

  .product-core-grid,
  .product-decision-matrix,
  .product-support-grid,
  .product-combo-grid,
  .product-ui-grid,
  .detail-interface-grid {
    width: min(100% - 28px, 560px);
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px;
  }

  .product-trust-strip {
    grid-template-columns: 1fr;
  }

  .product-decision-matrix {
    display: grid;
    border-radius: 8px;
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .product-decision-row,
  .product-decision-row.is-head {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    border: 1px solid #dfe8f5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }

  .product-decision-row.is-head {
    display: none;
  }

  .product-decision-row strong,
  .product-decision-row span {
    padding: 12px 16px;
    border-left: 0;
    border-top: 1px solid #eef3f9;
  }

  .product-decision-row strong {
    border-top: 0;
  }

  .product-core-card,
  .product-support-grid article,
  .product-combo-grid article,
  .product-ui-grid article,
  .detail-interface-grid article {
    min-height: 0;
    padding: 20px;
  }

  .product-ui-board {
    padding: 18px;
  }

  .product-ui-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
  }

  .product-ui-row em {
    width: max-content;
  }
}

/* Homepage desktop polish pass: 1920-first layout for generated image+text visuals. */
@media (min-width: 1281px) {
  .home-page {
    --home-desktop-wide: min(1500px, calc(100% - 96px));
  }

  .home-page .site-header {
    padding-left: max(48px, calc((100vw - 1500px) / 2));
    padding-right: max(48px, calc((100vw - 1500px) / 2));
  }

  .home-page .home-hero-md {
    min-height: 800px;
    padding: 104px 0 76px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 45%, #dbeaff 100%) !important;
  }

  .home-page .home-hero-shell {
    width: var(--home-desktop-wide);
    grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
    gap: 56px;
    align-items: center;
  }

  .home-page .home-hero h1 {
    max-width: 680px;
    color: var(--home-ink) !important;
    font-size: clamp(48px, 3vw, 58px);
    line-height: 1.12;
    text-wrap: balance;
  }

  .home-page .home-hero h1 span {
    display: block;
    white-space: normal;
  }

  .home-page .home-hero .hero-lead {
    max-width: 640px;
    font-size: 17px;
    line-height: 1.86;
    color: var(--home-muted) !important;
  }

  .home-page .home-hero-position {
    max-width: 620px;
    color: #64758d;
  }

  .home-page .home-hero-proof {
    min-height: 500px;
    padding: 18px;
    border: 1px solid rgba(210, 225, 244, 0.92);
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(246, 250, 255, 0.94) 100%);
    box-shadow: 0 24px 54px rgba(33, 78, 147, 0.12);
  }

  .home-page .home-hero-proof > img {
    height: 464px;
    border-radius: 18px;
    object-fit: cover;
    object-position: center center;
  }

  .home-page .hero-ui-card,
  .home-page .flow-node {
    display: none !important;
  }

  .home-page .home-payment-methods,
  .home-page .home-trust-strip,
  .home-page .home-flow-card,
  .home-page .home-developer-card,
  .home-page .home-security-layout,
  .home-page .home-final-cta,
  .home-page .home-product-grid,
  .home-page .home-product-grid-md,
  .home-page .home-solutions .industry-heading,
  .home-page .home-solutions .industry-tabs,
  .home-page .home-solutions .solution-stage-inner {
    width: var(--home-desktop-wide);
  }

  .home-page .section {
    width: var(--home-desktop-wide);
    padding-top: 104px;
  }

  .home-page .home-section-head {
    max-width: 920px;
  }

  .home-page .home-payment-methods {
    margin-top: -42px;
    padding: 20px 24px;
    grid-template-columns: 360px minmax(0, 1fr);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(23, 73, 140, 0.08);
  }

  .home-page .home-product-grid-md {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .home-page .home-flow-card {
    grid-template-columns: minmax(410px, 0.56fr) minmax(760px, 1fr);
    gap: 40px;
    padding: 42px;
  }

  .home-page .home-flow-visual {
    min-height: 486px;
  }

  .home-page .home-flow-visual img {
    height: 486px;
  }

  .home-page .home-solutions .solution-stage-inner {
    grid-template-columns: minmax(0, 0.86fr) minmax(620px, 1.14fr);
    gap: 28px;
    padding: 28px;
  }

  .home-page .solution-stage-image {
    min-height: 520px;
  }

  .home-page .home-solutions .industry-solution-card {
    min-height: 196px;
  }

  .home-page .home-developer-card {
    grid-template-columns: minmax(420px, 0.62fr) minmax(760px, 1fr);
    gap: 36px;
    padding: 36px;
  }

  .home-page .home-developer-card .developer-flow-image {
    height: 520px;
  }

  .home-page .home-security-layout {
    grid-template-columns: minmax(760px, 1.05fr) minmax(500px, 0.95fr);
    gap: 28px;
  }

  .home-page .home-security-layout > img {
    min-height: 520px;
  }

  .home-page .home-case-grid {
    gap: 20px;
  }

  .home-page .home-case-card img {
    height: 240px;
  }

  .home-page .home-final-cta {
    padding: 40px 44px;
  }
}

@media (min-width: 1281px) and (max-width: 1540px) {
  .home-page {
    --home-desktop-wide: min(1400px, calc(100% - 80px));
  }

  .home-page .home-hero-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
    gap: 42px;
  }

  .home-page .home-hero h1 {
    color: var(--home-ink) !important;
    font-size: clamp(44px, 3.05vw, 54px);
  }

  .home-page .home-hero-proof {
    min-height: 468px;
  }

  .home-page .home-hero-proof > img {
    height: 432px;
  }

  .home-page .home-flow-card,
  .home-page .home-developer-card,
  .home-page .home-solutions .solution-stage-inner,
  .home-page .home-security-layout {
    grid-template-columns: 1fr 1fr;
  }
}


/* Homepage desktop polish correction: keep the 1920 hero title readable without colliding with the product visual. */
@media (min-width: 1281px) {
  .home-page .home-hero-shell {
    grid-template-columns: minmax(0, 0.96fr) minmax(540px, 1.04fr);
    gap: 48px;
  }

  .home-page .home-hero h1 {
    max-width: 760px;
    color: var(--home-ink) !important;
    font-size: clamp(46px, 2.8vw, 56px);
    line-height: 1.14;
  }

  .home-page .home-hero h1 span {
    white-space: normal;
  }

  .home-page .home-hero .hero-lead,
  .home-page .home-hero-position {
    max-width: 700px;
    color: var(--home-muted);
  }

  .home-page .home-hero-proof {
    min-height: 486px;
  }

  .home-page .home-hero-proof > img {
    height: 446px;
  }
}

@media (min-width: 1281px) and (max-width: 1540px) {
  .home-page .home-hero-shell {
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    gap: 40px;
  }

  .home-page .home-hero h1 {
    max-width: 660px;
    color: var(--home-ink) !important;
    font-size: clamp(42px, 3vw, 50px);
  }

  .home-page .home-hero-proof {
    min-height: 456px;
  }

  .home-page .home-hero-proof > img {
    height: 418px;
  }
}

/* Homepage trust and conversion pass: credibility hierarchy for payment-site proof. */
.home-page .home-trust-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.home-page .home-trust-group {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.home-page .home-trust-label {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(23, 104, 255, 0.16);
  border-radius: 999px;
  color: #0b4aa2;
  background: #eef6ff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.home-page .home-trust-group-credibility .home-trust-label {
  border-color: rgba(16, 185, 129, 0.22);
  color: #08785f;
  background: #ecfdf7;
}

.home-page .home-credibility-tags span {
  border-color: rgba(16, 185, 129, 0.22);
  color: #0b5f4f;
  background: #f3fffb;
}

/* Homepage red-box trust strip rollback: restore the earlier partner-logo rail style only. */
.home-page .home-partner-rail {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  margin-top: -34px;
  padding: 18px 30px;
  border-color: rgba(214, 226, 242, 0.92);
  border-radius: 8px;
  background: rgba(241, 248, 255, 0.98);
  box-shadow: 0 18px 42px rgba(23, 73, 140, 0.1);
}

.home-page .home-partner-rail .home-trust-copy {
  gap: 5px;
}

.home-page .home-partner-rail .home-trust-copy strong {
  color: #1c3352;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 850;
}

.home-page .home-partner-rail .home-trust-copy span {
  color: #60748f;
  font-size: 12px;
  line-height: 1.45;
}

.home-page .home-partner-logo-row {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 16px;
  width: max-content;
}

.home-page .home-partner-marquee {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 2px 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.home-page .home-partner-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: homePartnerRailLoop 30s linear infinite;
  will-change: transform;
}

.home-page .home-partner-rail:hover .home-partner-track {
  animation-play-state: paused;
}

@keyframes homePartnerRailLoop {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 8px), 0, 0);
  }
}

.home-page .home-partner-logo-row span {
  width: 118px;
  min-width: 118px;
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid #e2ebf6;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(20, 60, 120, 0.06);
}

.home-page .home-partner-logo-row span:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 104, 255, 0.18);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(24, 91, 255, 0.1);
}

.home-page .home-partner-logo-row img {
  width: auto;
  height: 30px;
  max-width: 92px;
  max-height: 30px;
  object-fit: contain;
}

.home-page .home-product-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.home-page .security-badge-row span {
  gap: 10px;
  align-items: flex-start;
  flex-direction: column;
  border-radius: 8px;
}

.home-page .security-badge-row span strong,
.home-page .security-badge-row span em {
  font-style: normal;
  line-height: 1.3;
}

.home-page .security-badge-row span strong {
  color: #183657;
  font-size: 13px;
  font-weight: 900;
}

.home-page .security-badge-row span em {
  color: #0d5bd7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 850;
}

.home-page .home-security-panel {
  align-content: start;
}

.home-page .home-security-section .home-security-panel article {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 22px 22px 20px;
  overflow: hidden;
  border-color: #dde8f5;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 26px rgba(14, 50, 96, 0.07);
}

.home-page .home-security-section .home-security-panel article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #1768ff, #13b99a);
}

.home-page .home-security-section .home-security-panel article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #0b4aa2;
  background: #edf5ff;
  font-size: 13px;
  font-weight: 950;
}

.home-page .home-security-section .home-security-panel h3 {
  font-size: 19px;
}

.home-page .home-security-section .home-security-panel p {
  margin-top: 0;
  font-size: 14px;
}

.home-page .home-security-section .home-security-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.home-page .home-security-section .home-security-panel li {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #dce8f7;
  border-radius: 999px;
  color: #24538f;
  background: #fff;
  font-size: 12px;
  font-weight: 850;
}

.home-page .security-panel-action {
  width: 100%;
  margin-top: 2px;
}

.home-page .home-case-card {
  display: flex;
  flex-direction: column;
}

.home-page .home-case-card p {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 9px;
  margin-bottom: 0;
}

.home-page .home-case-card p span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  padding: 0 7px;
  border-radius: 6px;
  color: #0b4aa2;
  background: #edf5ff;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.home-page .home-case-card p em {
  color: inherit;
  font-style: normal;
}

.home-page .home-case-link {
  margin-top: auto;
  padding-top: 18px;
}

@media (min-width: 1281px) {
  .home-page .home-payment-methods {
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 28px;
    padding: 24px 28px;
  }

  .home-page .home-partner-rail {
    grid-template-columns: 320px minmax(0, 1fr);
    padding: 18px 30px;
  }

  .home-page .home-trust-copy strong {
    font-size: 20px;
  }

  .home-page .home-partner-rail .home-trust-copy strong {
    font-size: 15px;
  }

  .home-page .home-security-section > .home-section-head,
  .home-page .home-security-section > .home-compliance-note,
  .home-page .home-security-section > .security-badge-row,
  .home-page .home-security-layout {
    width: var(--home-desktop-wide);
  }

  .home-page .home-compliance-note {
    max-width: 1120px;
  }

  .home-page .security-badge-row {
    justify-content: center;
    gap: 12px;
  }

  .home-page .security-badge-row span {
    min-height: 52px;
    padding: 10px 18px;
  }

  .home-page .home-security-layout {
    grid-template-columns: minmax(760px, 1.12fr) minmax(480px, 0.88fr);
    gap: 30px;
  }

  .home-page .home-security-section .home-security-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-page .home-case-card {
    min-height: 604px;
  }
}

@media (max-width: 1180px) {
  .home-page .home-trust-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-page .home-trust-label {
    width: max-content;
  }
}

@media (max-width: 820px) {
  .home-page .home-case-card p {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .home-page .home-case-card p span {
    width: max-content;
  }

  .home-page .security-badge-row span {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Product page 1920 polish: tighter hero, wider decision UI, calmer card hierarchy. */
.product-overview-page,
.product-detail-page {
  background: #fff;
}

.product-overview-page .section,
.product-detail-page .section {
  position: relative;
}

.product-overview-page .section-heading h2,
.product-detail-page .section-heading h2,
.product-overview-page .split-heading h2,
.product-detail-page .split-heading h2 {
  letter-spacing: 0;
  text-wrap: balance;
}

.product-overview-page .section-heading > p:last-child,
.product-detail-page .section-heading > p:last-child,
.product-overview-page .split-heading > p,
.product-detail-page .split-heading > p {
  color: #637188;
}

.product-overview-page .product-overview-hero {
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 28px;
}

.product-overview-page .product-overview-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 12, 30, 0.72), rgba(4, 12, 30, 0.05) 58%, rgba(13, 80, 166, 0.34)),
    radial-gradient(circle at 50% 12%, rgba(63, 173, 255, 0.2), transparent 34%);
  pointer-events: none;
}

.product-overview-page .product-overview-hero .subpage-hero-shell,
.product-overview-page .product-overview-hero .subpage-hero-summary {
  position: relative;
  z-index: 1;
}

.product-overview-page .product-overview-hero .subpage-hero-shell {
  width: min(1360px, calc(100% - 96px));
  grid-template-columns: minmax(0, 520px) minmax(620px, 1fr);
  gap: 58px;
}

.product-overview-page .product-overview-hero h1 {
  max-width: 640px;
  font-size: clamp(44px, 3.5vw, 64px);
  line-height: 1.06;
}

.product-overview-page .product-overview-hero .subpage-hero-lead {
  max-width: 610px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.78;
}

.product-overview-page .product-overview-hero .subpage-hero-pills {
  gap: 8px;
  margin-top: 20px;
}

.product-overview-page .product-overview-hero .subpage-hero-pills span {
  min-height: 34px;
  padding: 0 12px;
  border-color: rgba(206, 225, 255, 0.24);
  background: rgba(255, 255, 255, 0.095);
  font-weight: 750;
}

.product-overview-page .product-overview-hero .hero-actions {
  margin-top: 24px;
}

.product-overview-page .product-overview-hero .subpage-hero-metrics {
  gap: 10px;
  margin-top: 22px;
}

.product-overview-page .product-overview-hero .subpage-hero-metrics article {
  min-height: 82px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(0, 18, 56, 0.12);
}

.product-overview-page .product-overview-hero .subpage-hero-metrics strong {
  font-size: 24px;
}

.product-overview-page .product-trust-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.product-overview-page .product-trust-strip span {
  min-height: 34px;
  justify-content: center;
  padding: 7px 10px;
  border-color: rgba(206, 225, 255, 0.22);
  background: rgba(255, 255, 255, 0.105);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
}

.product-overview-page .product-ui-board {
  gap: 10px;
  padding: 22px;
  border-radius: 18px;
  border-color: rgba(211, 229, 255, 0.46);
  background:
    radial-gradient(circle at 84% 10%, rgba(34, 144, 255, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.96));
  box-shadow:
    0 34px 78px rgba(0, 15, 42, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.product-overview-page .product-ui-row {
  min-height: 50px;
  padding: 10px 13px;
  border-radius: 10px;
}

.product-overview-page .product-overview-hero .subpage-hero-summary {
  width: min(1360px, calc(100% - 96px));
  gap: 12px;
  margin-top: 18px;
}

.product-overview-page .product-overview-hero .subpage-hero-summary article {
  min-height: 104px;
  padding: 18px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
}

.product-overview-page .product-decision-section,
.product-overview-page .product-core-section,
.product-detail-page .detail-interface-section {
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 46%, #ffffff 100%);
}

.product-overview-page .product-decision-section {
  padding-top: 72px;
}

.product-overview-page .product-decision-matrix {
  width: min(100% - 96px, 1480px);
  margin-top: 34px;
  border-color: #d6e3f2;
  border-radius: 10px;
  box-shadow:
    0 18px 48px rgba(17, 42, 82, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.product-overview-page .product-decision-row {
  grid-template-columns: 146px 1.1fr 1.08fr 1.36fr 1fr;
  min-height: 76px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-overview-page .product-decision-row.is-head {
  min-height: 46px;
  color: #536278;
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  letter-spacing: 0;
}

.product-overview-page .product-decision-row strong,
.product-overview-page .product-decision-row span {
  padding: 14px 18px;
  border-left-color: #e3ebf5;
  font-size: 14px;
}

.product-overview-page .product-decision-row strong {
  color: #10213b;
  font-size: 16px;
}

.product-overview-page .product-decision-row:not(.is-head):hover {
  background: #f5f9ff;
  box-shadow: inset 3px 0 0 #1768ff;
}

.product-overview-page .product-core-grid,
.product-overview-page .product-combo-grid,
.product-overview-page .product-ui-grid,
.product-detail-page .detail-interface-grid {
  width: min(100% - 96px, 1320px);
}

.product-overview-page .product-core-grid {
  width: min(100% - 96px, 1440px);
  gap: 18px;
}

.product-overview-page .product-core-card,
.product-overview-page .product-support-grid article,
.product-overview-page .product-combo-grid article,
.product-overview-page .product-ui-grid article,
.product-detail-page .detail-interface-grid article {
  border-color: #dce7f4;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.96));
  box-shadow:
    0 14px 34px rgba(15, 35, 66, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.product-overview-page .product-core-card {
  min-height: 342px;
  padding: 30px 30px 26px;
  border-color: #dbeafe;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.98));
  box-shadow:
    0 1px 1.5px rgba(0, 0, 0, 0.1),
    0 1px 1px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.22s var(--ease-out),
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.product-overview-page .product-core-card span,
.product-overview-page .product-combo-grid span,
.product-detail-page .detail-interface-grid article > span {
  border: 1px solid #dbe8ff;
  background: #edf5ff;
  color: #0f5fc9;
}

.product-overview-page .product-core-card h3,
.product-detail-page .detail-interface-grid h3 {
  color: #111d33;
}

.product-overview-page .product-core-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 104, 255, 0.2);
  box-shadow:
    0 16px 34px rgba(15, 35, 66, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.product-overview-page .product-core-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
}

.product-overview-page .product-core-card p {
  margin: 12px 0 0;
  color: #506176;
  font-size: 14px;
  line-height: 1.72;
}

.product-overview-page .product-core-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.product-overview-page .product-core-check-list li {
  position: relative;
  min-width: 0;
  min-height: 20px;
  padding-left: 28px;
  color: #314158;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.product-overview-page .product-core-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border: 1.5px solid #19c37d;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 255, 249, 0.98));
  box-shadow: 0 6px 14px rgba(25, 195, 125, 0.12);
}

.product-overview-page .product-core-check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 5px;
  height: 3px;
  border-left: 2px solid #19c37d;
  border-bottom: 2px solid #19c37d;
  transform: rotate(-45deg);
}

.product-overview-page .product-core-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.product-overview-page .product-core-pill-grid span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #dbe8ff;
  border-radius: 999px;
  color: #1447e6;
  background: #eff6ff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.product-detail-page .detail-interface-grid {
  gap: 18px;
}

.product-detail-page .detail-interface-grid article {
  min-height: 206px;
  padding: 22px 22px 20px;
  transition:
    transform 0.22s var(--ease-out),
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.product-detail-page .detail-interface-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 104, 255, 0.28);
  box-shadow: 0 20px 46px rgba(20, 77, 154, 0.1);
}

.product-detail-page .detail-interface-grid dl {
  border: 1px solid #e4edf8;
  background:
    linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}

.product-detail-page .zego-detail-hero {
  background:
    linear-gradient(132deg, #06103d 0%, #09256f 46%, #125dff 100%);
}

.product-detail-page .zego-detail-hero-bg {
  opacity: 0.18;
  filter: saturate(0.92) contrast(1.08) blur(8px);
  transform: scale(1.08);
}

.product-detail-page .zego-detail-hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 10, 32, 0.98) 0%, rgba(7, 22, 64, 0.96) 42%, rgba(13, 70, 185, 0.5) 76%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 13, 44, 0.16), rgba(4, 11, 35, 0.8));
}

.product-detail-page .zego-detail-hero-visual,
.product-detail-page .detail-image-stage,
.marketing-page .marketing-growth-visual {
  box-sizing: border-box;
  padding: 36px 10px 10px;
  border: 1px solid rgba(202, 222, 250, 0.88);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94));
  box-shadow:
    0 28px 68px rgba(11, 35, 80, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset;
}

.product-detail-page .zego-detail-hero-visual {
  min-height: 0;
  backdrop-filter: blur(16px);
  animation: none;
}

.product-detail-page .zego-detail-hero-visual::before,
.product-detail-page .detail-image-stage::after,
.marketing-page .marketing-growth-visual::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 34px;
  border-bottom: 1px solid rgba(215, 226, 240, 0.92);
  background:
    radial-gradient(circle at 18px 17px, #ff6b6b 0 4px, transparent 4.5px),
    radial-gradient(circle at 34px 17px, #ffbd4a 0 4px, transparent 4.5px),
    radial-gradient(circle at 50px 17px, #30d158 0 4px, transparent 4.5px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.94));
}

.product-detail-page .zego-detail-hero-visual::after {
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.16));
}

.product-detail-page .zego-detail-hero-visual img,
.product-detail-page .detail-image-stage img,
.marketing-page .marketing-growth-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
  transform: none;
}

.product-detail-page .detail-image-stage:hover img {
  transform: scale(1.006);
}

.product-detail-page .detail-image-stage.wide,
.product-detail-page .detail-image-stage.ledger,
.marketing-page .marketing-visual-board {
  width: min(1120px, calc(100% - 96px));
}

.product-detail-page .detail-image-stage.wide,
.product-detail-page .detail-image-stage.ledger {
  margin-top: 42px;
}

.marketing-page .marketing-growth-visual {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.marketing-page .marketing-capability-strip {
  margin-top: -18px;
}

.product-overview-page .cta-section,
.product-detail-page .cta-section {
  padding-bottom: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.product-overview-page .cta-panel,
.product-detail-page .cta-panel {
  width: min(100% - 96px, 1320px);
  border-radius: 14px;
  color: #fff !important;
  background:
    radial-gradient(circle at 18% 22%, rgba(43, 216, 255, 0.28), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(91, 145, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #0d4fd6 0%, #1768ff 54%, #114a9c 100%) !important;
  box-shadow: 0 24px 60px rgba(20, 80, 190, 0.18) !important;
}

.product-overview-page .footer,
.product-detail-page .footer {
  margin-top: 0;
}

@media (min-width: 1281px) {
  .product-overview-page .section-heading,
  .product-overview-page .split-heading,
  .product-detail-page .section-heading,
  .product-detail-page .split-heading {
    width: min(1320px, calc(100% - 96px));
  }

  .product-detail-page .zego-detail-hero {
    min-height: 660px;
    padding-top: 104px;
    padding-bottom: 72px;
  }

  .product-detail-page .zego-detail-hero-inner {
    width: min(1360px, calc(100% - 96px));
    grid-template-columns: minmax(0, 0.94fr) minmax(560px, 1.06fr);
    gap: 62px;
  }

  .product-detail-page .zego-detail-hero h1 {
    font-size: clamp(44px, 3.7vw, 66px);
  }

  .product-detail-page .zego-payment-detail-hero h1 {
    font-size: clamp(50px, 4.3vw, 72px);
  }

  .product-detail-page .zego-detail-hero-copy > p:not(.eyebrow) {
    margin-top: 20px;
    line-height: 1.78;
  }

  .product-detail-page .zego-detail-hero-visual {
    justify-self: end;
    width: min(100%, 690px);
    min-height: 0;
    border-radius: 12px;
  }

  .product-detail-page .zego-detail-hero-visual img {
    height: auto;
  }

  .product-detail-page .detail-center-screen,
  .product-detail-page .detail-workflow-section,
  .product-detail-page .detail-ledger-section,
  .product-detail-page .detail-growth-section,
  .marketing-page .marketing-stack-section {
    padding-top: 86px;
    padding-bottom: 94px;
  }
}

@media (max-width: 1180px) {
  .product-overview-page .product-overview-hero .subpage-hero-shell,
  .product-overview-page .product-overview-hero .subpage-hero-summary,
  .product-overview-page .product-decision-matrix,
  .product-overview-page .product-core-grid,
  .product-overview-page .product-combo-grid,
  .product-overview-page .product-ui-grid,
  .product-detail-page .detail-interface-grid,
  .product-overview-page .cta-panel,
  .product-detail-page .cta-panel {
    width: min(100% - 48px, 1180px);
  }

  .product-overview-page .product-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Open platform redesign overrides */
.open-platform-page {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 28%);
}

.open-platform-hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 64px 0 40px;
  color: var(--open-ink);
  background:
    radial-gradient(circle at 50% 14%, rgba(23, 104, 255, 0.12), transparent 26%),
    radial-gradient(circle at 18% 18%, rgba(72, 160, 255, 0.08), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(91, 118, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #f9fcff 0%, #eef4ff 56%, #eaf1fb 100%) !important;
  border-bottom: 1px solid rgba(215, 225, 238, 0.72);
}

.open-platform-hero::before,
.open-platform-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.open-platform-hero::before {
  background:
    linear-gradient(rgba(23, 104, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 84px,
    linear-gradient(90deg, rgba(23, 104, 255, 0.03) 1px, transparent 1px) 0 0 / 84px 100%;
  opacity: 0.48;
}

.open-platform-hero::after {
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.96), transparent 18%),
    radial-gradient(circle at 50% 66%, rgba(23, 104, 255, 0.08), transparent 38%);
  opacity: 0.9;
}

.open-platform-hero-content {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: start;
  gap: 20px;
  margin: 0 auto;
  padding-top: 14px;
  padding-bottom: 4px;
}

.open-platform-hero-copy {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 920px);
  min-width: 0;
  text-align: center;
}

.open-platform-hero-copy .eyebrow {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(23, 104, 255, 0.16);
  border-radius: 999px;
  color: var(--blue-700);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(23, 104, 255, 0.08);
}

.open-platform-hero-copy h1 {
  max-width: 920px;
  margin: 0;
  color: var(--open-ink);
  font-size: clamp(38px, 3.9vw, 58px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.open-platform-hero-copy > p:not(.eyebrow) {
  max-width: 840px;
  margin: 0;
  color: var(--open-muted) !important;
  font-size: clamp(15px, 1.18vw, 17px);
  line-height: 1.75;
  text-shadow: none !important;
}

.open-platform-hero-copy .hero-actions {
  margin-top: 4px;
  justify-content: center;
}

.open-platform-hero-copy .ghost-button {
  color: var(--blue-700);
  border-color: rgba(23, 104, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 14px 34px rgba(23, 104, 255, 0.08) !important;
  backdrop-filter: none !important;
}

.open-platform-hero-copy .ghost-button:hover {
  border-color: rgba(23, 104, 255, 0.28) !important;
  background: #fff !important;
  box-shadow: 0 18px 40px rgba(23, 104, 255, 0.12) !important;
}

.open-platform-hero-visual {
  width: min(1280px, 100%);
}

.open-platform-diagram {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 470px;
  aspect-ratio: 1280 / 470;
  border: 1px solid rgba(201, 214, 229, 0.9);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 42%, rgba(23, 104, 255, 0.14), transparent 14%),
    radial-gradient(circle at 50% 56%, rgba(72, 160, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.94));
  box-shadow: 0 28px 72px rgba(15, 35, 66, 0.1);
}

.open-platform-diagram::before,
.open-platform-diagram::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.open-platform-diagram::before {
  background:
    linear-gradient(rgba(23, 104, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, rgba(23, 104, 255, 0.03) 1px, transparent 1px) 0 0 / 72px 100%;
  opacity: 0.38;
}

.open-platform-diagram::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 52%),
    radial-gradient(circle at 50% 50%, rgba(23, 104, 255, 0.05), rgba(255, 255, 255, 0) 60%);
}

.open-platform-diagram-ring {
  position: absolute;
  top: 50%;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(23, 104, 255, 0.16);
  background:
    radial-gradient(circle at center, rgba(23, 104, 255, 0.05) 0 36%, rgba(23, 104, 255, 0.02) 43%, transparent 44%);
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.18);
}

.open-platform-diagram-ring--left {
  left: 12%;
}

.open-platform-diagram-ring--right {
  right: 12%;
}

.open-platform-diagram-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(23, 104, 255, 0.28), rgba(23, 104, 255, 0.9), rgba(23, 104, 255, 0.28), transparent);
  box-shadow: 0 0 26px rgba(72, 160, 255, 0.34);
}

.open-platform-diagram-line--top {
  top: 15.5%;
  width: 2px;
  height: 94px;
  background: linear-gradient(180deg, transparent, rgba(23, 104, 255, 0.3), rgba(23, 104, 255, 0.92), rgba(23, 104, 255, 0.3), transparent);
}

.open-platform-diagram-line--mid {
  top: 50%;
  width: 70%;
  height: 2px;
}

.open-platform-diagram-line--bottom {
  bottom: 15.5%;
  width: 2px;
  height: 94px;
  background: linear-gradient(180deg, transparent, rgba(23, 104, 255, 0.3), rgba(23, 104, 255, 0.92), rgba(23, 104, 255, 0.3), transparent);
}

.open-platform-diagram-node {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 28%;
  min-width: 250px;
  height: 50%;
  padding: 28px 22px;
  border: 1px solid rgba(160, 183, 214, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94) 64%, rgba(233, 241, 252, 0.9) 100%);
  box-shadow: 0 24px 54px rgba(32, 69, 142, 0.1);
  transform: translateY(-50%);
  text-align: center;
}

.open-platform-diagram-node::before {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(23, 104, 255, 0.12), rgba(23, 104, 255, 0.02));
  transform: translateX(-50%);
  content: "";
}

.open-platform-diagram-node::after {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(23, 104, 255, 0.15);
  transform: translateX(-50%);
  content: "";
}

.open-platform-diagram-node strong,
.open-platform-diagram-node span {
  position: relative;
  z-index: 1;
}

.open-platform-diagram-node strong {
  display: block;
  color: var(--open-ink);
  font-size: clamp(18px, 1.62vw, 24px);
  line-height: 1.16;
  font-weight: 800;
}

.open-platform-diagram-node span {
  display: block;
  margin-top: 10px;
  color: var(--blue-700);
  font-size: clamp(13px, 1.08vw, 16px);
  line-height: 1.5;
  font-weight: 700;
}

.open-platform-diagram-node--left {
  left: 18%;
}

.open-platform-diagram-node--right {
  right: 18%;
}

.open-platform-diagram-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 220px;
  aspect-ratio: 1;
  padding: 28px;
  border: 1px solid rgba(23, 104, 255, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.95) 68%, rgba(235, 242, 251, 0.92) 100%);
  box-shadow: 0 32px 76px rgba(23, 104, 255, 0.16);
  transform: translate(-50%, -50%);
  text-align: center;
}

.open-platform-diagram-center::before {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(23, 104, 255, 0.1);
  background: radial-gradient(circle at 50% 46%, rgba(23, 104, 255, 0.04), transparent 60%);
  content: "";
}

.open-platform-diagram-center strong,
.open-platform-diagram-center span {
  position: relative;
  z-index: 1;
}

.open-platform-diagram-center strong {
  display: block;
  color: var(--blue-700);
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.08;
  font-weight: 900;
}

.open-platform-diagram-center span {
  display: block;
  margin-top: 12px;
  color: var(--open-ink);
  font-size: clamp(13px, 1.18vw, 18px);
  line-height: 1.55;
  font-weight: 700;
}

.open-platform-diagram-diamond {
  position: absolute;
  left: 50%;
  width: 180px;
  height: 108px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  transform: translateX(-50%);
}

.open-platform-diagram-diamond::before {
  position: absolute;
  inset: 14px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #3c86ff 0%, #1768ff 100%);
  box-shadow: 0 24px 48px rgba(23, 104, 255, 0.24);
  transform: rotate(45deg);
  content: "";
}

.open-platform-diagram-diamond--top {
  top: 64px;
}

.open-platform-diagram-diamond--bottom {
  bottom: 64px;
}

.open-platform-diagram-diamond > * {
  position: relative;
  z-index: 1;
}

.open-platform-diagram-chip,
.open-platform-diagram-rail-copy span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(166, 190, 223, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue-700);
  box-shadow: 0 12px 28px rgba(23, 104, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.open-platform-diagram-chip--left-top {
  left: 15%;
  top: 16%;
}

.open-platform-diagram-chip--left-mid {
  left: 8%;
  top: 34%;
}

.open-platform-diagram-chip--left-bottom {
  left: 12%;
  bottom: 18%;
}

.open-platform-diagram-chip--right-top {
  right: 15%;
  top: 16%;
}

.open-platform-diagram-chip--right-mid {
  right: 8%;
  top: 34%;
}

.open-platform-diagram-chip--right-bottom {
  right: 12%;
  bottom: 18%;
}

.open-platform-diagram-chip--outer-left {
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
}

.open-platform-diagram-chip--outer-right {
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
}

.open-platform-diagram-rail-copy {
  position: absolute;
  top: 22%;
  z-index: 2;
  display: grid;
  gap: 12px;
}

.open-platform-diagram-rail-copy--left {
  left: 4%;
}

.open-platform-diagram-rail-copy--right {
  right: 4%;
}

.open-platform-diagram-rail-copy--right span {
  text-align: right;
}

.open-platform-anchor-nav {
  top: 62px;
  width: min(1280px, calc(100% - 48px));
  margin: -28px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(212, 224, 239, 0.94);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(23, 48, 93, 0.08);
  backdrop-filter: blur(18px);
}

.open-platform-anchor-nav a {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 13px;
}

.open-platform-section {
  padding-top: clamp(64px, 5.4vw, 96px);
  padding-bottom: clamp(64px, 5.4vw, 96px);
}

.open-platform-band {
  background: linear-gradient(180deg, #f8fbff, #f3f7fc);
}

.open-platform-flow,
.open-platform-api-grid,
.open-platform-tool-grid,
.open-platform-support-grid,
.open-platform-split,
.open-platform-ledger {
  margin-top: clamp(28px, 3vw, 40px);
}

@media (max-width: 1180px) {
  .open-platform-hero-content {
    width: min(100% - 48px, 1180px);
  }

  .open-platform-hero-copy h1 {
    max-width: 760px;
  }

  .open-platform-diagram {
    min-height: 560px;
  }

  .open-platform-diagram-ring {
    width: 44%;
  }

  .open-platform-diagram-node {
    width: 31%;
    min-width: 220px;
  }

  .open-platform-diagram-center {
    width: 232px;
  }
}

@media (max-width: 820px) {
  .open-platform-hero {
    padding: 72px 0 44px;
  }

  .open-platform-hero-content {
    width: min(100% - 32px, 740px);
    gap: 22px;
    padding-top: 14px;
  }

  .open-platform-hero-copy h1 {
    font-size: clamp(34px, 7.4vw, 46px);
    line-height: 1.1;
  }

  .open-platform-hero-copy > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.75;
  }

  .open-platform-hero-copy .hero-actions {
    width: 100%;
  }

  .open-platform-hero-copy .primary-button,
  .open-platform-hero-copy .ghost-button {
    min-width: 180px;
  }

  .open-platform-diagram {
    min-height: 500px;
    border-radius: 28px;
    aspect-ratio: 1.18 / 1;
  }

  .open-platform-diagram-ring {
    width: 48%;
  }

  .open-platform-diagram-node {
    width: 34%;
    min-width: 180px;
    height: 54%;
  }

  .open-platform-diagram-node::before {
    top: 18px;
    width: 44px;
    height: 44px;
  }

  .open-platform-diagram-node::after {
    top: 20px;
    width: 34px;
    height: 34px;
  }

  .open-platform-diagram-center {
    width: 210px;
    padding: 22px;
  }

  .open-platform-diagram-diamond {
    width: 152px;
    height: 96px;
    font-size: 13px;
  }

  .open-platform-diagram-chip,
  .open-platform-diagram-rail-copy span {
    min-height: 34px;
    padding: 0 11px;
    font-size: 11px;
  }

  .open-platform-diagram-rail-copy {
    display: none;
  }

  .open-platform-diagram-chip--left-bottom,
  .open-platform-diagram-chip--right-bottom {
    display: none;
  }
}

@media (max-width: 620px) {
  .open-platform-hero {
    padding-top: 68px;
    padding-bottom: 36px;
  }

  .open-platform-hero-content {
    width: min(100% - 24px, 520px);
    gap: 18px;
  }

  .open-platform-hero-copy {
    gap: 14px;
  }

  .open-platform-hero-copy h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .open-platform-hero-copy > p:not(.eyebrow) {
    max-width: none;
    font-size: 14px;
  }

  .open-platform-hero-copy .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .open-platform-hero-copy .primary-button,
  .open-platform-hero-copy .ghost-button {
    width: 100%;
    min-width: 0;
  }

  .open-platform-diagram {
    min-height: 430px;
    aspect-ratio: 1 / 1.12;
    border-radius: 24px;
  }

  .open-platform-diagram-ring {
    width: 52%;
  }

  .open-platform-diagram-node {
    width: 40%;
    min-width: 0;
    height: 48%;
    padding: 20px 14px;
  }

  .open-platform-diagram-node strong {
    font-size: 16px;
  }

  .open-platform-diagram-node span {
    font-size: 11px;
  }

  .open-platform-diagram-node--left {
    left: 11%;
  }

  .open-platform-diagram-node--right {
    right: 11%;
  }

  .open-platform-diagram-center {
    width: 176px;
    padding: 18px;
  }

  .open-platform-diagram-center strong {
    font-size: 22px;
  }

  .open-platform-diagram-center span {
    font-size: 11px;
  }

  .open-platform-diagram-diamond {
    width: 130px;
    height: 78px;
    font-size: 12px;
  }

  .open-platform-diagram-diamond--top {
    top: 58px;
  }

  .open-platform-diagram-diamond--bottom {
    bottom: 58px;
  }

  .open-platform-diagram-chip {
    min-height: 30px;
    padding: 0 10px;
    font-size: 10px;
  }

  .open-platform-diagram-chip--left-mid,
  .open-platform-diagram-chip--right-mid,
  .open-platform-diagram-chip--outer-left,
  .open-platform-diagram-chip--outer-right {
    display: none;
  }

  .open-platform-diagram-chip--left-top {
    left: 12%;
    top: 14%;
  }

  .open-platform-diagram-chip--right-top {
    right: 12%;
    top: 14%;
  }

  .open-platform-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .open-platform-anchor-nav {
    top: 58px;
    width: min(100% - 24px, 620px);
    margin-top: -18px;
    padding: 8px;
    border-radius: 0 0 16px 16px;
  }

  .open-platform-anchor-nav a {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }
}

/* Homepage desktop layout unification: wider content rhythm, fuller trust rail, fewer competing visuals. */
@media (min-width: 1281px) {
  .home-page {
    --home-desktop-wide: min(1500px, calc(100% - 96px));
  }

  .home-page .section {
    width: 100%;
    padding-top: 88px;
  }

  .home-page .home-section-head {
    max-width: 860px;
    margin-bottom: 28px;
  }

  .home-page .home-section-head h2,
  .home-page .home-flow-copy h2,
  .home-page .home-developer-copy h2,
  .home-page .home-final-cta h2 {
    font-size: clamp(30px, 2.4vw, 42px);
    line-height: 1.16;
  }

  .home-page .home-payment-methods.home-partner-rail,
  .home-page .home-product-grid,
  .home-page .home-product-grid-md,
  .home-page .home-flow-card,
  .home-page .home-developer-card,
  .home-page .home-solutions .industry-heading,
  .home-page .home-solutions .industry-tabs,
  .home-page .home-solutions .solution-stage-inner,
  .home-page .home-security-section > .home-section-head,
  .home-page .home-security-section > .home-compliance-note,
  .home-page .home-security-section > .security-badge-row,
  .home-page .home-security-layout,
  .home-page .home-case-grid,
  .home-page .home-final-cta {
    width: var(--home-desktop-wide);
  }

  .home-page .home-payment-methods.home-partner-rail {
    width: min(1760px, calc(100% - 64px));
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
    gap: 24px;
    align-items: center;
    margin-top: -28px;
    padding: 16px 22px;
    border-radius: 10px;
    background: rgba(248, 251, 255, 0.98);
    box-shadow: 0 16px 36px rgba(23, 73, 140, 0.08);
  }

  .home-page .home-payment-methods.home-partner-rail .home-trust-copy strong {
    font-size: 14px;
    line-height: 1.38;
  }

  .home-page .home-payment-methods.home-partner-rail .home-trust-copy span {
    font-size: 12px;
    line-height: 1.5;
  }

  .home-page .home-partner-marquee {
    padding: 0;
  }

  .home-page .home-partner-track {
    gap: 16px;
    animation: homePartnerRailLoop 30s linear infinite;
  }

  @keyframes homePartnerRailLoop {
    from {
      transform: translate3d(0, 0, 0);
    }

    to {
      transform: translate3d(calc(-50% - 8px), 0, 0);
    }
  }

  .home-page .home-partner-logo-row {
    gap: 16px;
  }

  .home-page .home-partner-logo-row span {
    width: 118px;
    min-height: 46px;
    padding: 0 10px;
    border: 1px solid #e4ecf5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(16, 55, 110, 0.04);
  }

  .home-page .home-partner-logo-row span:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 104, 255, 0.14);
    background: #fff;
    box-shadow: 0 10px 20px rgba(16, 55, 110, 0.08);
  }

  .home-page .home-partner-logo-row img {
    width: 98px;
    height: 28px;
    max-width: none;
    max-height: none;
  }

  .home-page .home-product-grid-md {
    gap: 18px;
  }

  .home-page .home-product-card {
    min-height: 286px;
  }

  .home-page .home-flow-card {
    grid-template-columns: minmax(420px, 0.88fr) minmax(560px, 1.12fr);
    gap: 32px;
    padding: 34px;
    border-radius: 12px;
  }

  .home-page .home-flow-visual {
    min-height: 470px;
  }

  .home-page .home-flow-visual img {
    height: 470px;
  }

  .home-page .home-solutions .solution-stage-inner {
    grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
    gap: 24px;
    padding: 24px;
  }

  .home-page .home-solutions .industry-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .home-page .home-solutions .industry-solution-card {
    min-height: 182px;
    padding: 22px;
    border: 1px solid #e4ecf5;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(16, 55, 110, 0.06);
  }

  .home-page .home-solutions .industry-solution-card.is-wide,
  .home-page .home-solutions .industry-solution-card.is-compact {
    grid-column: auto;
  }

  .home-page .home-solutions .industry-solution-card.is-compact {
    grid-column: 1 / -1;
  }

  .home-page .home-solutions .industry-solution-card::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.28) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 82, 204, 0.03));
  }

  .home-page .home-solutions .industry-card-copy h4 {
    font-size: clamp(20px, 1.5vw, 24px);
  }

  .home-page .home-solutions .industry-card-copy p,
  .home-page .home-solutions .industry-card-copy span,
  .home-page .home-solutions .industry-card-copy em {
    color: rgba(8, 23, 47, 0.68) !important;
  }

  .home-page .solution-stage-image {
    min-height: 520px;
    border-radius: 12px;
  }

  .home-page .home-developer-card {
    grid-template-columns: minmax(430px, 0.98fr) minmax(600px, 1.02fr);
    gap: 32px;
    padding: 34px;
  }

  .home-page .developer-flow-image {
    height: 500px;
    border-radius: 12px;
  }

  .home-page .home-compliance-note {
    max-width: 1100px;
    margin-top: 2px;
  }

  .home-page .security-badge-row {
    gap: 12px;
  }

  .home-page .security-badge-row span {
    min-height: 48px;
    padding: 10px 16px;
  }

  .home-page .home-security-layout {
    grid-template-columns: minmax(560px, 1fr) minmax(0, 0.9fr);
    gap: 24px;
  }

  .home-page .home-security-layout > img {
    min-height: 500px;
    border-radius: 12px;
  }

  .home-page .home-security-section .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 14px;
  }

  .home-page .home-security-section .security-grid article {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px;
    border-radius: 10px;
  }

  .home-page .home-case-grid {
    gap: 18px;
  }

  .home-page .home-case-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .home-page .home-case-card img {
    height: 240px;
  }

  .home-page .home-case-card h3 {
    margin: 18px 18px 10px;
  }

  .home-page .home-case-card p {
    margin: 8px 18px;
  }

  .home-page .home-case-link {
    margin: auto 18px 18px;
  }

  .home-page .home-final-cta {
    padding: 36px 38px;
  }
}

.home-page .home-product-system {
  position: relative;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 50% 0%, rgba(23, 104, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 56%, #f4f8ff 100%);
}

.home-page .home-product-system::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(33, 185, 152, 0.08), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(23, 104, 255, 0.1), transparent 28%);
  content: "";
  pointer-events: none;
}

.home-page .home-product-system .home-section-head {
  width: min(920px, calc(100% - 48px));
  max-width: 920px;
  margin-bottom: 40px;
}

.home-page .home-product-system .home-section-head > span {
  border-color: rgba(36, 104, 242, 0.14);
  background: #eef6ff;
}

.home-page .home-product-system .home-section-head h2 {
  margin-top: 16px;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.12;
  font-weight: 900;
}

.home-page .home-product-system .home-section-head p {
  max-width: 860px;
  margin-top: 18px;
  color: rgba(9, 18, 33, 0.72) !important;
  font-size: 18px;
  line-height: 1.78;
}

.home-page .home-product-grid-md {
  width: min(1240px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin: 44px auto 0;
}

.home-page .home-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 442px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #dce6f3;
  border-radius: 8px;
  color: #10203a;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  box-shadow: 0 18px 40px rgba(16, 55, 110, 0.08);
  text-decoration: none;
  transition:
    transform 0.22s var(--ease-out),
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.home-page .home-product-card::before,
.home-page .home-product-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.home-page .home-product-card::before {
  background:
    radial-gradient(circle at 84% 16%, rgba(23, 104, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 42%);
}

.home-page .home-product-card::after {
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 255, 255, 0.22), transparent 24%),
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.08), transparent 34%);
}

.home-page .home-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 104, 255, 0.2);
  box-shadow: 0 26px 58px rgba(24, 91, 255, 0.12);
}

.home-page .home-product-card > * {
  position: relative;
  z-index: 1;
}

.home-page .home-product-card > span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(223, 231, 241, 0.92);
  background: rgba(255, 255, 255, 0.78);
  color: #1768ff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(16, 55, 110, 0.08);
}

.home-page .home-product-card.is-primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #10318c 0%, #1768ff 54%, #24b0ff 100%);
  box-shadow: 0 20px 44px rgba(18, 64, 158, 0.2);
}

.home-page .home-product-card.is-primary::before {
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 46%);
}

.home-page .home-product-card.is-primary::after {
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.18), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.12), transparent 24%);
}

.home-page .home-product-card.is-primary > span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.home-page .home-product-card:nth-child(1).is-primary {
  background: linear-gradient(135deg, #10318c 0%, #1768ff 54%, #255adf 100%);
}

.home-page .home-product-card:nth-child(2).is-primary {
  background: linear-gradient(135deg, #0d4bc2 0%, #1768ff 50%, #24b0ff 100%);
}

.home-page .home-product-card:nth-child(3) {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.home-page .home-product-card:nth-child(4) {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.home-page .home-product-card-shell {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(219, 230, 245, 0.92);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
}

.home-page .home-product-card:not(.is-primary) .home-product-card-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 255, 0.76));
  border-color: rgba(223, 231, 241, 0.92);
}

.home-page .home-product-card-shell h3 {
  margin: 0;
  color: inherit !important;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0;
}

.home-page .home-product-card-shell p {
  margin: 0;
  color: inherit !important;
  font-size: 14px;
  line-height: 1.74;
}

.home-page .home-product-card:not(.is-primary) .home-product-card-shell h3 {
  color: #10203a !important;
}

.home-page .home-product-card:not(.is-primary) .home-product-card-shell p {
  color: #59677c !important;
}

.home-page .home-product-card.is-primary .home-product-card-shell {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.14);
}

.home-page .home-product-card.is-primary .home-product-card-shell h3 {
  color: #fff !important;
}

.home-page .home-product-card.is-primary .home-product-card-shell p {
  color: rgba(255, 255, 255, 0.84) !important;
}

.home-page .home-product-card strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: inherit;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
  white-space: nowrap;
}

.home-page .home-product-card strong::after {
  content: "↗";
  font-size: 0.95em;
  line-height: 1;
}

.home-page .home-product-system .home-capability-tags {
  width: min(1240px, calc(100% - 48px));
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 20px auto 0;
}

.home-page .home-product-system .home-capability-tags span {
  min-height: 32px;
  padding: 0 14px;
  border-color: #d6e1ef;
  color: #35516f;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(15, 35, 66, 0.04);
}

.home-page .home-product-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.home-page .home-product-cta {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #dbe4f1;
  border-radius: 8px;
  color: #1768ff;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 104, 255, 0.08);
  font-size: 14px;
  font-weight: 800;
}

.home-page .home-product-cta:hover,
.home-page .home-product-cta:focus-visible {
  border-color: rgba(23, 104, 255, 0.26);
  color: #165ee5;
  background: #fff;
}

@media (max-width: 1180px) {
  .home-page .home-product-system {
    width: min(100% - 48px, 1200px);
  }

  .home-page .home-product-grid-md {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .home-page .home-product-system {
    width: min(100% - 36px, 720px);
    padding: 72px 0 76px;
  }

  .home-page .home-product-system .home-section-head {
    max-width: 720px;
    margin-bottom: 28px;
  }

  .home-page .home-product-system .home-section-head h2 {
    font-size: clamp(30px, 6vw, 38px);
    line-height: 1.18;
  }

  .home-page .home-product-system .home-section-head p {
    font-size: 16px;
    line-height: 1.75;
  }

  .home-page .home-product-grid-md {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 34px;
  }

  .home-page .home-product-card {
    min-height: 0;
    padding: 18px;
  }

  .home-page .home-product-card-top {
    min-height: 54px;
  }

  .home-page .home-product-card-icon {
    width: 48px;
    height: 48px;
  }

  .home-page .home-product-card-top h3 {
    font-size: 28px;
    line-height: 40px;
  }

  .home-page .home-product-card-shell {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin-left: 0;
    padding: 20px 20px 24px 16px;
  }

  .home-page .home-product-card-shell h3 {
    white-space: normal;
    font-size: 22px;
    line-height: 30px;
  }

  .home-page .home-product-card-shell p {
    font-size: 16px;
    line-height: 28px;
  }

  .home-page .home-product-card strong {
    margin-top: 12px;
    font-size: 16px;
    line-height: 28px;
  }

  .home-page .home-product-system .home-capability-tags {
    margin-top: 18px;
  }

  .home-page .home-product-system .home-capability-tags span {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  .home-page .home-product-actions {
    margin-top: 18px;
  }
}

@media (max-width: 520px) {
  .home-page .home-product-system .home-section-head h2 {
    font-size: 28px;
  }

  .home-page .home-product-card-shell {
    padding-right: 18px;
  }
}

.home-page .home-security-section.home-security-figma {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  scroll-margin-top: 88px;
  background: #f0f9ff;
}

.home-page .home-security-top-bg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 595px;
  pointer-events: none;
  overflow: hidden;
}

.home-page .home-security-top-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.home-page .home-security-bottom-bg {
  position: absolute;
  left: 0;
  top: 595px;
  z-index: 1;
  width: 100%;
  height: 390px;
  overflow: hidden;
  pointer-events: none;
}

.home-page .home-security-bottom-bg img {
  position: absolute;
  left: -25%;
  top: -2.11%;
  width: 150%;
  height: 104.22%;
  max-width: none;
  object-fit: fill;
}

.home-page .home-security-figma-shell {
  position: relative;
  z-index: 2;
  width: min(1440px, 100%);
  height: 985px;
  margin: 0 auto;
  padding-top: 104px;
}

.home-page .home-security-figma-copy {
  width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.home-page .home-security-figma-copy > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(47, 128, 255, 0.24);
  border-radius: 999px;
  color: #1768ff;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  backdrop-filter: blur(8px);
}

.home-page .home-security-figma-copy h2 {
  margin: 18px 0 0;
  color: #12213e;
  font-size: 48px;
  line-height: 67px;
  font-weight: 900;
  letter-spacing: 0;
}

.home-page .home-security-figma-copy p {
  width: 100%;
  margin: 16px auto 0;
  color: rgba(52, 67, 94, 0.72);
  font-size: 20px;
  line-height: 30px;
}

.home-page .home-security-feature-grid {
  width: 1200px;
  margin: 20px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.home-page .home-security-feature {
  flex: 0 0 auto;
  min-width: 0;
}

.home-page .home-security-feature:nth-child(1) {
  width: 224px;
  margin-right: 80px;
}

.home-page .home-security-feature:nth-child(2) {
  width: 272px;
  margin-right: 80px;
}

.home-page .home-security-feature:nth-child(3) {
  width: 224px;
  margin-right: 80px;
}

.home-page .home-security-feature:nth-child(4) {
  width: 240px;
  margin-right: 0;
}

.home-page .home-security-feature > span {
  display: block;
  color: #1f82ff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.home-page .home-security-feature h3 {
  margin: 12px 0 0;
  color: #13223d;
  font-size: 26px;
  line-height: 30px;
  font-weight: 900;
  letter-spacing: 0;
}

.home-page .home-security-feature p {
  margin: 12px 0 0;
  color: rgba(60, 76, 101, 0.78);
  font-size: 16px;
  line-height: 19px;
}

.home-page .home-security-cert-strip {
  position: absolute;
  left: 0;
  top: 465px;
  width: 1440px;
  height: 278px;
  margin: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 30px 100px;
  border: 1px solid rgba(190, 214, 245, 0.78);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 34px rgba(16, 45, 89, 0.07);
}

.home-page .home-security-cert {
  width: 162px;
  height: 218px;
  flex: 0 0 auto;
}

.home-page .home-security-cert img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-page .home-security-bottom-cta {
  position: absolute;
  left: 0;
  top: 595px;
  width: 1440px;
  height: 390px;
  margin: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: 150px 52px 49px 0;
}

.home-page .home-security-bottom-cta::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("https://qn.shangfutong.net/image/figma-security/bottom-figma.png") left -25% top -2.11% / 150% 104.22% no-repeat;
  pointer-events: none;
  content: "";
}

@media (min-width: 1181px) {
  .home-page .home-security-bottom-cta::before {
    content: none;
  }
}

.home-page .home-security-bottom-cta > * {
  position: relative;
  z-index: 1;
}

.home-page .home-security-bottom-cta-copy {
  max-width: 1008px;
}

.home-page .home-security-bottom-cta-copy h3 {
  margin: 0;
  color: #12213e;
  font-size: 48px;
  line-height: 67px;
  font-weight: 900;
  letter-spacing: 0;
}

.home-page .home-security-bottom-cta-copy p {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(61, 77, 104, 0.78);
  font-size: 16px;
  line-height: 30px;
}

.home-page .home-security-bottom-cta-button {
  position: absolute;
  right: 0;
  top: calc(50% + 50px);
  flex: 0 0 auto;
  min-width: 136px;
  height: 48px;
  padding: 0 40px;
  border-radius: 8px;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 21px;
  box-shadow: 0 16px 28px rgba(23, 104, 255, 0.24);
}

@media (max-width: 1180px) {
  .home-page .home-security-section.home-security-figma {
    padding: 100px 0 88px;
    height: auto;
  }

  .home-page .home-security-top-bg {
    height: 520px;
  }

  .home-page .home-security-bottom-bg {
    display: none;
  }

  .home-page .home-security-figma-shell {
    width: min(100% - 48px, 1120px);
    height: auto;
    padding-top: 0;
    display: grid;
    gap: 38px;
  }

  .home-page .home-security-figma-copy {
    width: 100%;
  }

  .home-page .home-security-figma-copy h2 {
    font-size: clamp(30px, 4.6vw, 42px);
    line-height: 1.18;
  }

  .home-page .home-security-figma-copy p {
    font-size: 15px;
    line-height: 1.74;
  }

  .home-page .home-security-feature-grid {
    width: 100%;
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
  }

  .home-page .home-security-feature {
    width: auto !important;
    margin-right: 0 !important;
  }

  .home-page .home-security-feature h3 {
    font-size: 24px;
    line-height: 1.18;
  }

  .home-page .home-security-feature p {
    font-size: 15px;
    line-height: 1.58;
  }

  .home-page .home-security-cert-strip {
    position: relative;
    left: auto;
    top: auto;
    width: min(100% - 6px, 920px);
    height: auto;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .home-page .home-security-cert {
    width: min(160px, 100%);
    height: auto;
    aspect-ratio: 162 / 218;
  }

  .home-page .home-security-bottom-cta {
    position: relative;
    left: auto;
    top: auto;
    width: min(100% - 6px, 920px);
    height: auto;
    padding: 44px 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .home-page .home-security-bottom-cta::before {
    inset: -28px -16px -14px;
    background-size: min(780px, 112vw) auto;
  }

  .home-page .home-security-bottom-cta-copy {
    max-width: none;
  }

  .home-page .home-security-bottom-cta-copy h3 {
    font-size: clamp(26px, 4.4vw, 38px);
    line-height: 1.16;
  }

  .home-page .home-security-bottom-cta-copy p {
    font-size: 15px;
    line-height: 1.74;
  }

  .home-page .home-security-bottom-cta-button {
    position: static;
    transform: none;
    width: 100%;
    height: 44px;
    min-width: 0;
    padding: 0 22px;
    font-size: 16px;
    line-height: 1;
  }
}

@media (max-width: 820px) {
  .home-page .home-security-section.home-security-figma {
    padding: 84px 0 74px;
    height: auto;
  }

  .home-page .home-security-top-bg {
    height: 440px;
  }

  .home-page .home-security-figma-shell {
    width: min(100% - 32px, 720px);
    height: auto;
    padding-top: 0;
    gap: 32px;
  }

  .home-page .home-security-figma-copy {
    width: 100%;
  }

  .home-page .home-security-figma-copy h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .home-page .home-security-figma-copy p {
    font-size: 15px;
    line-height: 1.74;
  }

  .home-page .home-security-feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-page .home-security-feature:nth-child(n) {
    width: auto !important;
    margin-right: 0 !important;
  }

  .home-page .home-security-feature h3 {
    font-size: 20px;
  }

  .home-page .home-security-cert-strip {
    width: min(100% - 4px, 560px);
    padding: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .home-security-bottom-cta {
    width: min(100% - 4px, 560px);
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 38px 2px 14px;
  }

  .home-page .home-security-bottom-cta::before {
    inset: -28px -16px -14px;
    background-size: min(780px, 112vw) auto;
  }

  .home-page .home-security-bottom-cta-copy {
    max-width: none;
  }

  .home-page .home-security-bottom-cta-copy h3 {
    font-size: clamp(26px, 7.2vw, 34px);
  }

  .home-page .home-security-bottom-cta-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .home-page .home-security-section.home-security-figma {
    padding: 72px 0 66px;
    height: auto;
  }

  .home-page .home-security-top-bg {
    height: 360px;
  }

  .home-page .home-security-figma-shell {
    width: min(100% - 28px, 520px);
    height: auto;
  }

  .home-page .home-security-figma-copy > span {
    min-height: 28px;
    padding: 0 12px;
    font-size: 12px;
  }

  .home-page .home-security-figma-copy h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .home-page .home-security-feature > span {
    font-size: 16px;
  }

  .home-page .home-security-feature h3 {
    font-size: 18px;
  }

  .home-page .home-security-feature p,
  .home-page .home-security-bottom-cta-copy p {
    font-size: 13px;
  }

  .home-page .home-security-cert-strip {
    gap: 12px;
    padding: 14px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .home-security-cert {
    width: min(148px, 100%);
    height: auto;
  }

  .home-page .home-security-bottom-cta {
    width: 100%;
  }
}

.home-page .developer-interface-board {
  position: relative;
  min-height: 430px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(191, 211, 240, 0.96);
  border-radius: 12px;
  color: #0b2350;
  background:
    linear-gradient(135deg, rgba(23, 104, 255, 0.11), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  box-shadow: 0 18px 42px rgba(16, 55, 110, 0.15);
}

.home-page .developer-interface-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(23, 104, 255, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(23, 104, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 104, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.18));
}

.home-page .developer-interface-board > * {
  position: relative;
  z-index: 1;
}

.home-page .developer-interface-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid #dce8f8;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(23, 73, 140, 0.08);
}

.home-page .developer-interface-header span {
  width: max-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: #1768ff;
  background: #eef6ff;
  font-size: 12px;
  font-weight: 900;
}

.home-page .developer-interface-header strong {
  grid-column: 1;
  color: #071b3f;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  font-weight: 950;
}

.home-page .developer-interface-header em {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #d9e8ff;
  border-radius: 999px;
  color: #0f4fbe;
  background: #f7fbff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.home-page .developer-interface-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.home-page .developer-interface-flow span {
  min-height: 66px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid #dce8f8;
  border-radius: 8px;
  color: #173f77;
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.home-page .developer-interface-flow i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #1768ff, #14b8e6);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.home-page .developer-interface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-page .developer-interface-grid article {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid #dce8f8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(23, 73, 140, 0.07);
}

.home-page .developer-interface-grid strong {
  color: #071b3f;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 950;
}

.home-page .developer-interface-grid span {
  color: #5c6f8b;
  font-size: 12px;
  line-height: 1.55;
}

.home-page .developer-interface-support {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #dce8f8;
  border-radius: 10px;
  background: rgba(244, 249, 255, 0.94);
}

.home-page .developer-interface-support span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #0f4fbe;
  background: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #d9e8ff;
}

@media (min-width: 1500px) {
  .home-page .home-developer-card .developer-interface-board {
    min-height: 520px;
  }
}

@media (max-width: 1180px) {
  .home-page .developer-interface-board {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .home-page .developer-interface-board {
    min-height: 0;
    padding: 20px;
  }

  .home-page .developer-interface-header {
    grid-template-columns: 1fr;
  }

  .home-page .developer-interface-header em {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

  .home-page .developer-interface-flow,
  .home-page .developer-interface-grid {
    grid-template-columns: 1fr;
  }

  .home-page .developer-interface-flow span,
  .home-page .developer-interface-grid article {
    min-height: 0;
  }
}


.home-page .home-security-section.home-security-figma {
  padding: 76px 0 70px;
  background: #f3f9ff;
}

.home-page .home-security-top-bg {
  inset: 0;
  height: auto;
}

.home-page .home-security-bottom-bg {
  top: auto;
  bottom: 0;
  height: 330px;
  opacity: 0.78;
}

.home-page .home-security-figma-shell {
  width: min(1500px, calc(100% - 64px));
  height: auto;
  display: grid;
  gap: 30px;
  padding-top: 0;
}

.home-page .home-security-figma-copy {
  width: 100%;
  text-align: center;
}

.home-page .home-security-figma-copy h2 {
  margin-top: 0;
  font-size: clamp(34px, 2.75vw, 48px);
  line-height: 1.12;
}

.home-page .home-security-figma-copy p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.72;
}

.home-page .home-security-feature-grid {
  width:100%;
  text-align: left;

  gap: 24px;
  margin: 2px auto 0;
}

.home-page .home-security-feature:nth-child(n) {
  width: 280px;
  margin-right: 0;
}

.home-page .home-security-feature > span {
  font-size: 16px;
}

.home-page .home-security-feature h3 {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.home-page .home-security-feature p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.56;
}

.home-page .home-security-cert-strip {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin: 4px auto 0;
  padding: 20px 24px;
  justify-items: center;
}

.home-page .home-security-cert {
  width: min(150px, 100%);
  height: auto;
  aspect-ratio: 162 / 218;
}

.home-page .home-security-bottom-cta {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  padding: 22px 4px 0;
}

.home-page .home-security-bottom-cta::before {
  inset: -80px -8vw -70px;
}

.home-page .home-security-bottom-cta-copy {
  max-width: 890px;
}

.home-page .home-security-bottom-cta-copy h3 {
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1.14;
}

.home-page .home-security-bottom-cta-copy p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.72;
}

.home-page .home-security-bottom-cta-button {
  position: static;
  min-width: 150px;
  height: 48px;
  padding: 0 24px;
  transform: none;
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 1180px) {
  .home-page .home-security-section.home-security-figma {
    padding: 82px 0 76px;
  }

  .home-page .home-security-figma-shell {
    width: min(100% - 48px, 1120px);
    gap: 28px;
  }
}

@media (max-width: 820px) {
  .home-page .home-security-section.home-security-figma {
    padding: 68px 0 62px;
  }

  .home-page .home-security-figma-shell {
    width: min(100% - 32px, 720px);
    gap: 24px;
  }

  .home-page .home-security-feature-grid {
    /* grid-template-columns: 1fr; */
    gap: 18px;
  }

  .home-page .home-security-cert-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
  }

  .home-page .home-security-bottom-cta {
    display: grid;
    gap: 16px;
    padding-top: 18px;
  }

  .home-page .home-security-bottom-cta::before {
    inset: -24px 0 -18px;
  }

  .home-page .home-security-bottom-cta-button {
    width: 100%;
  }
}

/* Homepage hero banner refresh: allinpay-style full-width video top section. */
.home-page .hero.home-hero.home-hero-md {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #fff;
  background: linear-gradient(135deg, #061323 0%, #0b2558 48%, #1768ff 100%) !important;
}

.home-page .hero.home-hero.home-hero-md .home-hero-shell {
  position: relative;
  width: 100%;
  height: clamp(560px, 49vw, 1355px);
  margin: 0;
  display: block;
}

.home-page .hero.home-hero.home-hero-md .home-hero-proof {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #061323;
  overflow: hidden;
  box-shadow: none;
}

.home-page .hero.home-hero.home-hero-md .home-hero-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 12, 28, 0.72) 0%, rgba(5, 12, 28, 0.46) 34%, rgba(5, 12, 28, 0.14) 58%, rgba(5, 12, 28, 0.02) 74%, rgba(5, 12, 28, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 12, 28, 0.08), rgba(5, 12, 28, 0.12));
}

.home-page .hero.home-hero.home-hero-md .home-hero-video-rotator,
.home-page .hero.home-hero.home-hero-md .home-hero-video-stage {
  position: absolute;
  inset: 0;
  height: 100%;
}

.home-page .hero.home-hero.home-hero-md .home-hero-video-rotator {
  display: block;
}

.home-page .hero.home-hero.home-hero-md .home-hero-video-stage {
  min-height: 0;
  width: 100%;
  border-radius: 0;
  aspect-ratio: auto;
  background: #061323;
  box-shadow: none;
}

.home-page .hero.home-hero.home-hero-md .home-hero-video-slide {
  width: 100%;
  height: 100%;
}

.home-page .hero.home-hero.home-hero-md .home-hero-video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .hero.home-hero.home-hero-md .home-hero-video-slide::after {
  background:
    linear-gradient(180deg, rgba(5, 12, 28, 0.05), rgba(5, 12, 28, 0.14) 52%, rgba(5, 12, 28, 0.22)),
    linear-gradient(90deg, rgba(5, 12, 28, 0.2), transparent 36%);
}

.home-page .hero.home-hero.home-hero-md .home-hero-video-tabs {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  padding-top: 0;
  transform: translateX(-50%);
}

.home-page .hero.home-hero.home-hero-md .home-hero-video-tabs button {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.home-page .hero.home-hero.home-hero-md .home-hero-video-tabs button.is-active {
  width: 28px;
  background: linear-gradient(90deg, #2f92ff, #16b8ec);
  box-shadow: 0 12px 24px rgba(12, 67, 176, 0.26);
}

.home-page .hero.home-hero.home-hero-md .home-hero-copy {
  position: absolute;
  left: clamp(28px, 8.5vw, 128px);
  top: 50%;
  z-index: 3;
  width: min(577px, calc(100% - 256px));
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(-50%);
}

.home-page .hero.home-hero.home-hero-md .home-hero-kicker {
  margin-bottom: 18px;
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.08);
}

.home-page .hero.home-hero.home-hero-md h1 {
  max-width: 577px;
  color: #fff !important;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.06;
  font-weight: 950;
  text-wrap: balance;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.home-page .hero.home-hero.home-hero-md h1 span + span {
  width: min(577px, 100%);
  height: 100px;
  margin-top: 8px;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.14;
  font-weight: 400;
  letter-spacing: 0;
}

.home-page .hero.home-hero.home-hero-md .hero-lead {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.84) !important;
  font-size: 16px;
  line-height: 1.82;
}

.home-page .hero.home-hero.home-hero-md .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
}

.home-page .hero.home-hero.home-hero-md .primary-button {
  min-width: 126px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #1768ff, #12a9e8);
  box-shadow: 0 16px 32px rgba(23, 104, 255, 0.22);
}

.home-page .hero.home-hero.home-hero-md .home-hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.home-page .hero.home-hero.home-hero-md .home-hero-position {
  max-width: 560px;
  margin-top: 18px;
  padding-left: 12px;
  border-left: 3px solid rgba(25, 191, 232, 0.76);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.72;
}

@media (max-width: 1180px) {
  .home-page .hero.home-hero.home-hero-md .home-hero-shell {
    height: clamp(540px, 56vw, 660px);
  }

  .home-page .hero.home-hero.home-hero-md .home-hero-copy {
    left: clamp(24px, 5vw, 72px);
    width: min(540px, calc(100% - 144px));
  }

  .home-page .hero.home-hero.home-hero-md h1 {
    font-size: clamp(38px, 4vw, 54px);
  }

  .home-page .hero.home-hero.home-hero-md h1 span + span {
    width: auto;
    height: auto;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
  }
}

@media (max-width: 820px) {
  .home-page .hero.home-hero.home-hero-md .home-hero-shell {
    height: clamp(520px, 86vw, 620px);
  }

  .home-page .hero.home-hero.home-hero-md .home-hero-copy {
    left: 24px;
    width: calc(100% - 48px);
  }

  .home-page .hero.home-hero.home-hero-md h1 {
    max-width: 520px;
    font-size: clamp(34px, 5.8vw, 44px);
  }

  .home-page .hero.home-hero.home-hero-md h1 span + span {
    width: auto;
    height: auto;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
  }

  .home-page .hero.home-hero.home-hero-md .hero-lead {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.72;
  }

  .home-page .hero.home-hero.home-hero-md .hero-actions {
    margin-top: 22px;
  }

  .home-page .hero.home-hero.home-hero-md .home-hero-position {
    margin-top: 16px;
  }
}

@media (max-width: 520px) {
  .home-page .hero.home-hero.home-hero-md .home-hero-shell {
    height: clamp(520px, 124vw, 620px);
  }

  .home-page .hero.home-hero.home-hero-md .home-hero-copy {
    left: 20px;
    width: calc(100% - 40px);
  }

  .home-page .hero.home-hero.home-hero-md .home-hero-kicker {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }

  .home-page .hero.home-hero.home-hero-md h1 {
    max-width: none;
    font-size: clamp(30px, 8.8vw, 38px);
    line-height: 1.1;
  }

  .home-page .hero.home-hero.home-hero-md h1 span + span {
    width: auto;
    height: auto;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
  }

  .home-page .hero.home-hero.home-hero-md .hero-lead {
    font-size: 14px;
    line-height: 1.65;
  }

  .home-page .hero.home-hero.home-hero-md .hero-actions {
    gap: 10px;
  }

  .home-page .hero.home-hero.home-hero-md .primary-button {
    min-width: 120px;
    min-height: 44px;
    padding: 0 20px;
  }

  .home-page .hero.home-hero.home-hero-md .home-hero-link {
    font-size: 13px;
  }

  .home-page .hero.home-hero.home-hero-md .home-hero-position {
    font-size: 12px;
    line-height: 1.62;
  }

  .home-page .hero.home-hero.home-hero-md .home-hero-video-tabs {
    bottom: 20px;
    gap: 8px;
  }
}

.home-page .home-solutions {
  overflow: hidden;
  padding: 100px 0 120px;
  background: #f0f7ff;
}

.home-page .home-solutions .home-solutions-shell {
  width: min(1400px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  margin: 0 auto;
}

.home-page .home-solutions .industry-heading {
  width: 100%;
  margin: 0;
  text-align: center;
}

.home-page .home-solutions .industry-heading h2 {
  color: #262947 !important;
  font-size: 40px;
  line-height: 56px;
  font-weight: 900;
}

.home-page .home-solutions .industry-heading p {
  max-width: none;
  margin: 0;
  color: rgba(16, 53, 126, 0.7) !important;
  font-size: 18px;
  line-height: 28.8px;
  font-weight: 700;
}

.home-page .home-solutions .solution-tabs {
  width: fit-content;
  max-width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-page .home-solutions .solution-tabs::-webkit-scrollbar {
  display: none;
}

.home-page .home-solutions .solution-tabs button {
  min-width: 0;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9.5px 20px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  color: #262947;
  background: #ffffff;
  box-shadow: none;
  font-size: 18px;
  line-height: 26.1px;
  font-weight: 900;
  transition:
    transform 0.24s ease,
    color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
}

.home-page .home-solutions .solution-tabs button.active {
  color: #ffffff;
  background: #1766ff;
}

.home-page .home-solutions .solution-showcase {
  width: 100%;
  margin: 0;
  padding: 0;
  background: none !important;
  box-shadow: none !important;
}

.home-page .home-solutions .home-solution-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 714px) minmax(0, 686px);
  min-height: 518px;
  border-radius: 16px;
  background:
    url("https://qn.shangfutong.net/image/home-visual-upgrade-20260602/figma-solutions/bg-soft.png") center / cover no-repeat,
    #ffffff;
  box-shadow: 0 18px 40px rgba(16, 53, 126, 0.08);
}

.home-page .home-solutions .home-solution-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 58px 100px 54px;
}

.home-page .home-solutions .home-solution-copy h3 {
  position: relative;
  margin: 0;
  padding-bottom: 16px;
  color: #262947 !important;
  font-size: 28px;
  line-height: 40.6px;
  font-weight: 900;
}

.home-page .home-solutions .home-solution-copy h3::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 138px;
  height: 10px;
  content: "";
  background: linear-gradient(90deg, rgba(23, 102, 255, 0.2) 0%, rgba(23, 102, 255, 0) 100%);
}

.home-page .home-solutions .home-solution-divider {
  height: 1px;
  margin-top: 1px;
  background: #dddddd;
}

.home-page .home-solutions .home-solution-copy p {
  max-width: 516px;
  margin: 20px 0 0;
  color: rgba(16, 53, 126, 0.7) !important;
  font-size: 18px;
  line-height: 28.8px;
  font-weight: 700;
}

.home-page .home-solutions .home-solution-bullets {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.home-page .home-solutions .home-solution-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 29px;
}

.home-page .home-solutions .home-solution-bullets img {
  width: 24px;
  height: 25px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.home-page .home-solutions .home-solution-bullets span {
  color: #333333;
  font-size: 18px;
  line-height: 28.8px;
  font-weight: 700;
}

.home-page .home-solutions .home-solution-media {
  min-width: 0;
  display: flex;
}

.home-page .home-solutions .home-solution-media-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #ffffff;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    filter 0.22s ease;
}

.home-page .home-solutions .home-solution-media-image.is-contain {
  object-fit: contain;
  background: linear-gradient(180deg, #f8f6f7 0%, #f2f0f1 100%);
}

.home-page .home-solutions .solution-showcase.is-switching .home-solution-copy,
.home-page .home-solutions .solution-showcase.is-switching .home-solution-media-image {
  opacity: 0.22;
  transform: translateY(10px);
}

@media (max-width: 1180px) {
  .home-page .home-solutions .home-solutions-shell {
    width: min(100% - 36px, 920px);
  }

  .home-page .home-solutions .home-solution-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-page .home-solutions .home-solution-copy {
    padding: 44px 36px 0;
  }

  .home-page .home-solutions .home-solution-media-image {
    min-height: 320px;
  }
}

@media (max-width: 820px) {
  .home-page .home-solutions {
    padding: 72px 0 88px;
  }

  .home-page .home-solutions .home-solutions-shell {
    width: min(100% - 32px, 680px);
    gap: 32px;
  }

  .home-page .home-solutions .industry-heading h2 {
    font-size: 28px;
    line-height: 38px;
    white-space: normal;
  }

  .home-page .home-solutions .industry-heading p {
    font-size: 15px;
    line-height: 24px;
  }

  .home-page .home-solutions .solution-tabs {
    gap: 8px;
  }

  .home-page .home-solutions .solution-tabs button {
    padding: 8px 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .home-page .home-solutions .home-solution-copy {
    padding: 32px 24px 0;
  }

  .home-page .home-solutions .home-solution-copy h3 {
    padding-bottom: 14px;
    font-size: 24px;
    line-height: 34px;
  }

  .home-page .home-solutions .home-solution-copy h3::after {
    width: 112px;
    height: 8px;
  }

  .home-page .home-solutions .home-solution-copy p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 24px;
  }

  .home-page .home-solutions .home-solution-bullets {
    gap: 14px;
    margin-top: 22px;
  }

  .home-page .home-solutions .home-solution-bullets li {
    gap: 10px;
  }

  .home-page .home-solutions .home-solution-bullets img {
    width: 20px;
    height: 21px;
  }

  .home-page .home-solutions .home-solution-bullets span {
    font-size: 15px;
    line-height: 24px;
  }

  .home-page .home-solutions .home-solution-media-image {
    min-height: 250px;
  }
}

/* Homepage open capability module: Figma 183:4270 */
.home-page .home-open-capability-section {
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding: 20px 0 0;
  background: #f0f7ff;
}

.home-page .home-open-capability-shell {
  position: relative;
  width: min(1440px, 100%);
  min-height: 801.5px;
  margin: 0 auto;
}

.home-page .home-open-capability-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.home-page .home-open-capability-head h2 {
  margin: 0;
  color: #262947 !important;
  font-size: 40px;
  line-height: 56px;
  font-weight: 900;
}

.home-page .home-open-capability-head p {
  margin: 0;
  color: rgba(102, 102, 102, 0.8) !important;
  font-size: 18px;
  line-height: 31.5px;
  font-weight: 700;
}

.home-page .home-open-capability-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: #1766ff;
  text-decoration: none;
  font-size: 18px;
  line-height: 31.5px;
  font-weight: 900;
}

.home-page .home-open-capability-more img {
  width: 7px;
  height: 11.66px;
  object-fit: contain;
}

.home-page .home-open-capability-visual {
  position: relative;
  isolation: isolate;
  width: min(1240px, calc(100% - 72px));
  height: 610px;
  display: grid;
  grid-template-columns: 108px 392px 256px 392px 108px;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 18px auto 0;
  color: #1766ff;
}

.home-page .home-open-capability-visual::before {
  position: absolute;
  inset: 60px 108px 78px;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 26% 50%, rgba(23, 102, 255, 0.1) 0 15%, transparent 15.4%),
    radial-gradient(circle at 74% 50%, rgba(23, 102, 255, 0.1) 0 15%, transparent 15.4%),
    radial-gradient(circle at 26% 50%, rgba(23, 102, 255, 0.08) 0 31%, transparent 31.4%),
    radial-gradient(circle at 74% 50%, rgba(23, 102, 255, 0.08) 0 31%, transparent 31.4%);
}

.home-page .home-open-side-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  color: #1766ff;
  font-size: 13px;
  line-height: 17px;
  font-weight: 800;
}

.home-page .home-open-side-list-left {
  justify-items: end;
}

.home-page .home-open-side-list-right {
  justify-items: start;
}

.home-page .home-open-side-list span {
  position: relative;
  width: 78px;
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 6px 6px 5px;
  background: rgba(255, 255, 255, 0.36);
  clip-path: polygon(18% 0, 100% 18%, 82% 100%, 0 82%);
  text-align: center;
}

.home-page .home-open-side-list span::before {
  width: 20px;
  height: 16px;
  display: block;
  margin-bottom: 1px;
  border: 2px solid currentColor;
  border-radius: 6px;
  content: "";
}

.home-page .home-open-side-list span i {
  font-style: normal;
}

.home-page .home-open-ring {
  position: relative;
  width: 392px;
  height: 392px;
  border-radius: 50%;
  color: #1766ff;
  background:
    radial-gradient(circle, #eef7ff 0 33%, transparent 33.4%),
    radial-gradient(circle, rgba(23, 102, 255, 0.12) 0 54%, transparent 54.4%),
    radial-gradient(circle, rgba(23, 102, 255, 0.08) 0 72%, transparent 72.4%);
}

.home-page .home-open-ring::before,
.home-page .home-open-ring::after {
  position: absolute;
  inset: 74px;
  border: 1.5px solid rgba(23, 102, 255, 0.28);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  content: "";
}

.home-page .home-open-ring::after {
  inset: 43px;
  border-color: rgba(23, 102, 255, 0.16);
  border-right-color: transparent;
  transform: rotate(34deg);
}

.home-page .home-open-ring-left {
  margin-left: -4px;
}

.home-page .home-open-ring-right {
  margin-right: -4px;
}

.home-page .home-open-orbit-label {
  position: absolute;
  z-index: 3;
  top: 50%;
  color: #1766ff;
  font-size: 18px;
  line-height: 24px;
  font-weight: 900;
  transform: translateY(-50%);
}

.home-page .home-open-orbit-label-left {
  left: 28px;
}

.home-page .home-open-orbit-label-right {
  right: 28px;
}

.home-page .home-open-flow-dot {
  position: absolute;
  z-index: 4;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.3), transparent 33%),
    #1766ff;
  box-shadow: 0 13px 24px rgba(23, 102, 255, 0.2);
  font-size: 14px;
  line-height: 18px;
  font-weight: 900;
}

.home-page .home-open-flow-dot-top {
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
}

.home-page .home-open-flow-dot-bottom {
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
}

.home-page .home-open-wedge {
  position: absolute;
  z-index: 4;
  min-width: 118px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2785ff 0%, #1766ff 100%);
  box-shadow: 0 14px 24px rgba(23, 102, 255, 0.16);
  font-size: 14px;
  line-height: 18px;
  font-weight: 900;
  transform-origin: center;
}

.home-page .home-open-ring-left .home-open-wedge-top {
  top: 37px;
  left: 48px;
  transform: rotate(-20deg);
}

.home-page .home-open-ring-left .home-open-wedge-bottom {
  left: 48px;
  bottom: 37px;
  transform: rotate(-20deg);
}

.home-page .home-open-ring-right .home-open-wedge-top {
  top: 37px;
  right: 48px;
  transform: rotate(20deg);
}

.home-page .home-open-ring-right .home-open-wedge-bottom {
  right: 48px;
  bottom: 37px;
  transform: rotate(20deg);
}

.home-page .home-open-arc-label {
  position: absolute;
  z-index: 5;
  color: #113b8e;
  opacity: 0.78;
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.home-page .home-open-ring-left .home-open-arc-label-a {
  top: 54px;
  left: 14px;
  transform: rotate(-58deg);
}

.home-page .home-open-ring-left .home-open-arc-label-b {
  top: 25px;
  left: 75px;
  transform: rotate(-32deg);
}

.home-page .home-open-ring-left .home-open-arc-label-c {
  top: 8px;
  left: 150px;
  transform: rotate(-20deg);
}

.home-page .home-open-ring-left .home-open-arc-label-d {
  left: 25px;
  bottom: 70px;
  transform: rotate(63deg);
}

.home-page .home-open-ring-left .home-open-arc-label-e {
  left: 86px;
  bottom: 27px;
  transform: rotate(28deg);
}

.home-page .home-open-ring-left .home-open-arc-label-f {
  left: 160px;
  bottom: 8px;
  transform: rotate(18deg);
}

.home-page .home-open-ring-right .home-open-arc-label-a {
  top: 9px;
  right: 150px;
  transform: rotate(20deg);
}

.home-page .home-open-ring-right .home-open-arc-label-b {
  top: 25px;
  right: 74px;
  transform: rotate(32deg);
}

.home-page .home-open-ring-right .home-open-arc-label-c {
  top: 56px;
  right: 14px;
  transform: rotate(58deg);
}

.home-page .home-open-ring-right .home-open-arc-label-d {
  right: 23px;
  bottom: 70px;
  transform: rotate(-63deg);
}

.home-page .home-open-ring-right .home-open-arc-label-e {
  right: 86px;
  bottom: 27px;
  transform: rotate(-28deg);
}

.home-page .home-open-ring-right .home-open-arc-label-f {
  right: 160px;
  bottom: 8px;
  transform: rotate(-18deg);
}

.home-page .home-open-inner-disc {
  position: absolute;
  inset: 118px;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
  border-radius: 50%;
  color: #262947;
  background: rgba(255, 255, 255, 0.58);
  font-size: 18px;
  line-height: 28px;
  font-weight: 900;
}

.home-page .home-open-inner-disc svg {
  width: 44px;
  height: 44px;
  color: #1766ff;
}

.home-page .home-open-center {
  position: relative;
  z-index: 8;
  width: 256px;
  height: 392px;
  display: grid;
  place-items: center;
}

.home-page .home-open-center-disc {
  position: relative;
  z-index: 3;
  width: 222px;
  height: 222px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  border: 1.5px solid rgba(23, 102, 255, 0.7);
  border-radius: 50%;
  color: #262947;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 24px 52px rgba(23, 102, 255, 0.11),
    inset 0 0 0 1px rgba(255, 255, 255, 0.85);
}

.home-page .home-open-center-disc::before {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(23, 102, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.home-page .home-open-center-disc svg {
  width: 48px;
  height: 48px;
  color: #1766ff;
}

.home-page .home-open-center-disc strong {
  color: #262947;
  font-size: 20px;
  line-height: 24px;
  font-weight: 900;
}

.home-page .home-open-center-disc em {
  color: #1766ff;
  font-size: 20px;
  line-height: 24px;
  font-style: normal;
  font-weight: 900;
}

.home-page .home-open-diamond {
  position: absolute;
  z-index: 4;
  left: 50%;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2785ff 0%, #1766ff 100%);
  box-shadow: 0 16px 28px rgba(23, 102, 255, 0.18);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  text-align: center;
  font-size: 16px;
  line-height: 20px;
  font-weight: 900;
  transform: translateX(-50%);
}

.home-page .home-open-diamond-top {
  top: 12px;
}

.home-page .home-open-diamond-bottom {
  bottom: 12px;
}

@media (max-width: 1180px) {
  .home-page .home-open-capability-shell {
    width: min(100% - 32px, 920px);
    min-height: 0;
    padding-bottom: 72px;
  }

  .home-page .home-open-capability-visual {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 34px;
  }

  .home-page .home-open-side-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
    order: 4;
    width: 100%;
  }

  .home-page .home-open-side-list-left,
  .home-page .home-open-side-list-right {
    justify-items: stretch;
  }

  .home-page .home-open-side-list span {
    width: auto;
    clip-path: none;
    border: 1px solid rgba(23, 102, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
  }

  .home-page .home-open-ring,
  .home-page .home-open-center {
    justify-self: center;
  }

  .home-page .home-open-center {
    height: 260px;
  }
}

@media (max-width: 640px) {
  .home-page .home-open-capability-section {
    padding-top: 56px;
  }

  .home-page .home-open-capability-head h2 {
    font-size: 30px;
    line-height: 40px;
  }

  .home-page .home-open-capability-head p {
    max-width: 320px;
    font-size: 15px;
    line-height: 24px;
  }

  .home-page .home-open-capability-more {
    margin-top: 8px;
    font-size: 15px;
    line-height: 24px;
  }

  .home-page .home-open-ring {
    width: min(100%, 330px);
    height: auto;
    aspect-ratio: 1;
  }

  .home-page .home-open-flow-dot {
    width: 58px;
    height: 58px;
    font-size: 12px;
    line-height: 16px;
  }

  .home-page .home-open-wedge {
    min-width: 98px;
    height: 40px;
    font-size: 12px;
    line-height: 16px;
  }

  .home-page .home-open-inner-disc {
    inset: 99px;
    gap: 8px;
    font-size: 15px;
    line-height: 22px;
  }

  .home-page .home-open-inner-disc svg {
    width: 34px;
    height: 34px;
  }

  .home-page .home-open-arc-label {
    display: none;
  }

  .home-page .home-open-orbit-label {
    font-size: 15px;
  }

  .home-page .home-open-center {
    width: 100%;
  }

  .home-page .home-open-center-disc {
    width: 198px;
    height: 198px;
  }

  .home-page .home-open-center-disc strong,
  .home-page .home-open-center-disc em {
    font-size: 17px;
    line-height: 22px;
  }

  .home-page .home-open-diamond {
    width: 82px;
    height: 82px;
    font-size: 13px;
    line-height: 17px;
  }

  .home-page .home-open-side-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Use the confirmed Figma raster for the open capability diagram. */
.home-page .home-open-capability-section .home-open-capability-visual {
  width: min(1440px, 100%);
  height: auto;
  display: block;
  margin: 31px auto 0;
}

.home-page .home-open-capability-section .home-open-capability-visual::before {
  content: none;
}

.home-page .home-open-capability-image {
  width: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 1180px) {
  .home-page .home-open-capability-section .home-open-capability-visual {
    width: min(1200px, calc(100% + 220px));
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .home-page .home-open-capability-section .home-open-capability-visual {
    width: 920px;
    margin-top: 24px;
  }
}

/* Homepage content rail unification: keep primary content cards aligned. */
.home-page {
  --home-main-rail: min(1400px, calc(100% - 40px));
  --home-main-rail-mobile: calc(100vw - 64px);
}

.home-page .home-product-system {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.home-page .home-product-grid-md,
.home-page .home-flow-card,
.home-page .home-solutions .home-solutions-shell,
.home-page .home-open-capability-shell,
.home-page .home-case-grid,
.home-page .home-security-figma-shell {
  width: var(--home-main-rail);
  max-width: var(--home-main-rail);
  margin-left: auto;
  margin-right: auto;
}

.home-page .home-open-capability-visual {
  width: min(1240px, 100%);
}

.home-page .home-security-cert-strip,
.home-page .home-security-bottom-cta {
  width: 100%;
}

@media (min-width: 1281px) {
  .home-page .home-flow-card {
    grid-template-columns: minmax(360px, 0.56fr) minmax(0, 1fr);
  }

  .home-page .home-security-figma-shell {
    width: var(--home-main-rail);
    max-width: var(--home-main-rail);
  }

  .home-page .home-security-figma-copy,
  .home-page .home-security-feature-grid,
  .home-page .home-security-cert-strip,
  .home-page .home-security-bottom-cta {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 1180px) {
  .home-page .home-open-capability-shell {
    width: min(var(--home-main-rail-mobile), 920px);
    max-width: min(var(--home-main-rail-mobile), 920px);
  }
}

@media (max-width: 820px) {
  .home-page .home-product-grid-md,
  .home-page .home-flow-card,
  .home-page .home-solutions .home-solutions-shell,
  .home-page .home-case-grid,
  .home-page .home-security-figma-shell {
    width: var(--home-main-rail-mobile);
    max-width: var(--home-main-rail-mobile);
  }
}

/* Homepage case-to-security spacing: keep the case cards from touching the next section. */
.home-page .home-clients-section {
  padding-bottom: clamp(56px, 4.5vw, 78px);
}

@media (max-width: 820px) {
  .home-page .home-clients-section {
    padding-bottom: 48px;
  }
}

@media (max-width: 520px) {
  .home-page .home-clients-section {
    padding-bottom: 40px;
  }
}

/* Homepage partner rail alignment: keep the copy on the same content rail as the sections below. */
.home-page .logo-strip.logo-strip-brand {
  --logo-strip-left: max(20px, calc((100vw - 1400px) / 2));
  grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.home-page .logo-strip.logo-strip-brand .logo-strip-copy {
  display: grid;
  gap: 4px;
  align-content: start;
  padding-top: 2px;
}

.home-page .logo-strip.logo-strip-brand .logo-strip-title {
  font-size: 16px;
  line-height: 1.45;
}

.home-page .logo-strip.logo-strip-brand .logo-strip-note {
  max-width: 300px;
  color: #5f6f89;
}

@media (min-width: 821px) {
  .home-page .logo-strip.logo-strip-brand .logo-strip-note {
    white-space: nowrap;
  }
}

@media (max-width: 820px) {
  .home-page .logo-strip.logo-strip-brand {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 18px 14px;
  }

  .home-page .logo-strip.logo-strip-brand .logo-strip-copy {
    gap: 3px;
    padding-top: 0;
  }

  .home-page .logo-strip.logo-strip-brand .logo-strip-title {
    font-size: 15px;
    line-height: 1.4;
  }

  .home-page .logo-strip.logo-strip-brand .logo-strip-note {
    max-width: none;
    font-size: 12px;
    line-height: 1.5;
  }
}

/* Restore the shared site header on the homepage after the home-only redesign pass. */
.home-page .site-header {
  padding: 0 max(32px, calc((100vw - 1180px) / 2));
  color: #172033;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
  box-shadow: 0 10px 28px rgba(24, 91, 255, 0.08);
  backdrop-filter: blur(18px);
}

.home-page .site-header.is-scrolled,
.home-page .site-header.menu-open {
  color: #172033;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
  box-shadow: 0 10px 28px rgba(24, 91, 255, 0.08);
  backdrop-filter: blur(18px);
}

.home-page .brand {
  gap: 8px;
  font-weight: 800;
}

.home-page .site-header .brand,
.home-page .zego-footer-logo,
.home-page .zego-footer-mobile-logo {
  gap: 0;
}

.home-page .brand-full-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.home-page .site-header .brand-full-logo {
  width: 168px;
}

.home-page .zego-footer-logo .brand-full-logo {
  width: 196px;
}

.home-page .zego-footer-mobile-logo .brand-full-logo {
  width: 176px;
}

.home-page .nav-links {
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.home-page .nav-links > a,
.home-page .nav-trigger {
  color: inherit;
  opacity: 0.92;
  font-weight: inherit;
}

.home-page .nav-links > a.is-active,
.home-page .nav-trigger.is-active {
  color: var(--blue-600);
}

.home-page .header-actions {
  gap: 12px;
  font-size: 13px;
}

.home-page .platform-login-trigger,
.home-page .demo-link {
  min-width: 104px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
}

.home-page .platform-login-trigger {
  min-width: 126px;
  padding: 0 15px 0 12px;
  color: var(--blue-700);
  border: 1px solid rgba(23, 104, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.92));
  box-shadow:
    0 10px 24px rgba(23, 104, 255, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  gap: 6px;
  font-weight: 800;
}

.home-page .platform-login-trigger::before {
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: url("https://qn.shangfutong.net/image/platform-login/login-platform.svg") center / contain no-repeat !important;
  box-shadow: none;
}

.home-page .demo-link {
  color: #fff;
  background: var(--blue-700);
  box-shadow: 0 10px 24px rgba(15, 35, 66, 0.12);
}

.home-page .platform-login-menu {
  top: calc(100% + 8px);
  right: -10px;
  width: 248px;
  padding: 50px 12px 12px;
  border: 1px solid rgba(223, 231, 243, 0.96);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 10%, rgba(56, 165, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95));
  box-shadow:
    0 26px 64px rgba(15, 35, 66, 0.14),
    0 10px 20px rgba(23, 104, 255, 0.08);
  backdrop-filter: blur(22px);
}

.home-page .platform-login-menu a {
  min-height: 60px;
  padding: 12px 34px 12px 48px;
  border-radius: 16px;
}

.home-page .platform-login-menu a::before {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.home-page .platform-login-menu a:first-child::before {
  background: url("https://qn.shangfutong.net/image/platform-login/merchant-badge.png?v=20260529-5") center / cover no-repeat !important;
}

.home-page .platform-login-menu a:last-child::before {
  background: url("https://qn.shangfutong.net/image/platform-login/provider-badge.png?v=20260529-3") center / cover no-repeat !important;
}

.home-page .platform-login-menu a::after {
  background: none !important;
}

.home-page .menu-icon-light {
  display: none;
}

.home-page .menu-icon-dark {
  display: block;
}

@media (max-width: 820px) {
  .home-page .site-header .brand-full-logo {
    width: 150px;
  }

  .home-page .zego-footer-logo .brand-full-logo,
  .home-page .zego-footer-mobile-logo .brand-full-logo {
    width: 164px;
  }
}

/* Remove the retired homepage promo strip and reset the floating service entry spacing. */
.home-page .floating-contact {
  bottom: 28px;
}

@media (max-width: 1180px) {
  .home-page .floating-contact {
    right: 16px;
    bottom: 24px;
  }
}

/* Homepage product system final polish: align the four feature cards to the reference layout. */
#products.home-product-system {
  width: 100%;
  max-width: none;
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 128, 255, 0.06), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 52%, #f6f9ff 100%);
}

#products.home-product-system::before {
  background:
    radial-gradient(circle at 14% 10%, rgba(47, 128, 255, 0.08), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(24, 182, 140, 0.05), transparent 26%);
  opacity: 1;
}

#products.home-product-system .home-section-head {
  width: min(860px, calc(100% - 48px));
  margin-bottom: 34px;
}

#products.home-product-system .home-section-head h2 {
  margin-top: 14px;
  font-size: clamp(34px, 3.15vw, 44px);
  line-height: 1.16;
}

#products.home-product-system .home-section-head p {
  max-width: 800px;
  margin-top: 14px;
  color: rgba(9, 18, 33, 0.68) !important;
  font-size: 15px;
  line-height: 1.7;
}

#products.home-product-system .home-product-grid-md {
  width: min(1240px, calc(100% - 48px));
  max-width: 1240px;
  gap: 14px;
  margin-top: 34px;
}

#products .home-product-card {
  min-height: 382px;
  padding: 18px 18px 14px;
  border: 1px solid rgba(221, 229, 239, 0.96);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(16, 42, 85, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 250, 255, 0.98));
  transition:
    transform 0.22s var(--ease-out),
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

#products .home-product-card::before,
#products .home-product-card::after {
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

#products .home-product-card::before {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.9), transparent 38%),
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.52), transparent 24%);
  opacity: 1;
}

#products .home-product-card::after {
  background:
    radial-gradient(circle at 84% 0%, rgba(255, 255, 255, 0.32), transparent 24%),
    radial-gradient(circle at 70% 16%, rgba(255, 255, 255, 0.18), transparent 30%);
  opacity: 0.8;
}

#products .home-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 104, 255, 0.18);
  box-shadow: 0 18px 36px rgba(23, 104, 255, 0.1);
}

#products .home-product-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin-bottom: 12px;
}

#products .home-product-card-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

#products .home-product-card-top h3 {
  margin: 0;
  color: #1b2535;
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
}

#products .home-product-card:not(.is-primary) .home-product-card-shell {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  margin-top: 0;
  padding: 16px 16px 14px;
  border: 1px solid rgba(221, 229, 239, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 20px rgba(16, 42, 85, 0.04);
  backdrop-filter: blur(8px);
}

#products .home-product-card:not(.is-primary) .home-product-card-shell h3 {
  margin: 0;
  color: #17325f !important;
  font-size: 17px;
  line-height: 1.24;
}

#products .home-product-card:not(.is-primary) .home-product-card-shell p {
  margin: 0;
  color: rgba(60, 78, 105, 0.92) !important;
  font-size: 13px;
  line-height: 1.72;
}

#products .home-product-card strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: #1768ff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}

#products .home-product-card-collect {
  background: linear-gradient(180deg, rgba(202, 233, 255, 0.98) 0%, rgba(246, 251, 255, 0.98) 100%);
}

#products .home-product-card-split {
  background: linear-gradient(180deg, rgba(231, 230, 255, 0.98) 0%, rgba(249, 247, 255, 0.98) 100%);
}

#products .home-product-card-payout {
  background: linear-gradient(180deg, rgba(209, 244, 255, 0.98) 0%, rgba(246, 253, 255, 0.98) 100%);
}

#products .home-product-card-fund {
  background: linear-gradient(180deg, rgba(219, 236, 255, 0.98) 0%, rgba(246, 250, 255, 0.98) 100%);
}

#products .home-product-card-collect::before {
  background:
    radial-gradient(circle at 84% 10%, rgba(84, 158, 255, 0.16), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.6), transparent 24%);
}

#products .home-product-card-split::before {
  background:
    radial-gradient(circle at 84% 10%, rgba(165, 132, 255, 0.14), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.6), transparent 24%);
}

#products .home-product-card-payout::before {
  background:
    radial-gradient(circle at 84% 10%, rgba(73, 196, 232, 0.16), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.6), transparent 24%);
}

#products .home-product-card-fund::before {
  background:
    radial-gradient(circle at 84% 10%, rgba(84, 158, 255, 0.15), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.6), transparent 24%);
}

#products.home-product-system .home-capability-tags {
  width: min(1240px, calc(100% - 48px));
  gap: 8px;
  margin-top: 18px;
}

#products.home-product-system .home-capability-tags span {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  color: #41546e;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 35, 66, 0.04);
  font-size: 12px;
  font-weight: 800;
}

#products.home-product-system .home-product-actions {
  margin-top: 18px;
}

#products .home-product-cta {
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid rgba(23, 104, 255, 0.14);
  border-radius: 10px;
  color: #1768ff;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 20px rgba(23, 104, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

#products .home-product-cta:hover,
#products .home-product-cta:focus-visible {
  border-color: rgba(23, 104, 255, 0.24);
  color: #165ee5;
  background: #fff;
}

@media (max-width: 1180px) {
  #products.home-product-system {
    padding: 72px 0 68px;
  }

  #products.home-product-system .home-section-head {
    width: min(760px, calc(100% - 48px));
    margin-bottom: 28px;
  }

  #products.home-product-system .home-section-head h2 {
    font-size: clamp(30px, 5.5vw, 38px);
  }

  #products.home-product-system .home-section-head p {
    font-size: 15px;
  }

  #products.home-product-system .home-product-grid-md {
    width: min(100% - 48px, 1200px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
  }
}

@media (max-width: 900px) {
  #products.home-product-system .home-product-grid-md {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 720px);
    gap: 16px;
  }

  #products .home-product-card {
    min-height: 0;
    padding: 16px 16px 14px;
  }

  #products .home-product-card-top {
    gap: 8px;
    min-height: 32px;
    margin-bottom: 10px;
  }

  #products .home-product-card-icon {
    width: 30px;
    height: 30px;
  }

  #products .home-product-card-top h3 {
    font-size: 16px;
  }

  #products .home-product-card:not(.is-primary) .home-product-card-shell {
    padding: 14px 14px 12px;
  }

  #products .home-product-card:not(.is-primary) .home-product-card-shell h3 {
    font-size: 16px;
  }

  #products .home-product-card:not(.is-primary) .home-product-card-shell p {
    font-size: 13px;
  }

  #products .home-product-card strong {
    margin-top: 12px;
  }

  #products.home-product-system .home-capability-tags {
    width: min(100% - 36px, 720px);
    margin-top: 16px;
  }
}

@media (max-width: 520px) {
  #products.home-product-system {
    padding: 64px 0 60px;
  }

  #products.home-product-system .home-section-head {
    width: min(100% - 32px, 560px);
  }

  #products.home-product-system .home-section-head h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  #products.home-product-system .home-section-head p {
    font-size: 14px;
  }

  #products.home-product-system .home-product-grid-md,
  #products.home-product-system .home-capability-tags {
    width: min(100% - 32px, 560px);
  }

  #products .home-product-cta {
    min-height: 34px;
    padding: 0 16px;
    font-size: 12px;
  }
}

/* Homepage loads after style.css, so keep its login icons aligned with other pages. */
.home-page .platform-login-menu {
  z-index: 45 !important;
  width: 248px !important;
  max-width: min(248px, calc(100vw - 32px)) !important;
  box-sizing: border-box !important;
}

.home-page .platform-login-trigger::before {
  border-radius: 999px !important;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 3.5 20.5 12 12 20.5 3.5 12 12 3.5Zm0 4.2L7.7 12l4.3 4.3 4.3-4.3L12 7.7Z'/%3E%3C/svg%3E") center / 14px 14px no-repeat,
    linear-gradient(135deg, #1768ff, #22c7f5) !important;
  box-shadow: none !important;
}

.home-page .platform-login-menu a::before {
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px, cover !important;
}

.home-page .platform-login-menu a:first-child::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M5 10.5h14l-1.1-3.3A2 2 0 0 0 16 5.8H8a2 2 0 0 0-1.9 1.4L5 10.5Zm1 1.8V18a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-5.7h-3v1.9a2 2 0 1 1-4 0v-1.9h-1v1.9a2 2 0 1 1-4 0v-1.9H6Z'/%3E%3C/svg%3E") center / 18px 18px no-repeat,
    linear-gradient(135deg, #1768ff, #20c8f3) !important;
}

.home-page .platform-login-menu a:last-child::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 7.2c.8-3.2 3.6-5.4 7-5.4s6.2 2.2 7 5.4c.1.5-.3.8-.8.8H5.8c-.5 0-.9-.3-.8-.8Zm10.6-5.1 1.2 1.1-2.7 3.2-1.8-1.7.9-1 1 .9 1.4-2.5Z'/%3E%3C/svg%3E") center / 18px 18px no-repeat,
    linear-gradient(135deg, #14b8a6, #72e0cf) !important;
}

/* Keep the homepage header background identical to the shared page header. */
.home-page .site-header,
.home-page .site-header.is-scrolled,
.home-page .site-header.menu-open {
  color: #172033 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.88) !important;
  box-shadow: 0 10px 28px rgba(24, 91, 255, 0.08) !important;
  backdrop-filter: blur(18px) !important;
}

