html {
  scroll-behavior: smooth;
}

body.site-home {
  margin: 0;
  color: #0f172a;
  font-family: "Aptos", "Segoe UI Variable Text", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), transparent 28%),
    linear-gradient(180deg, #f5f7fb 0%, #eef2f7 100%);
  -webkit-font-smoothing: antialiased;
}

.home-shell {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 32px;
}

.site-header,
.hero-panel,
.content-section,
.site-footer {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 0 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #0f172a;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;

}

.site-brand-mark img {
  
  height: 52px;
  object-fit: contain;
}

.site-brand-copy strong,
.hero-copy h1,
.section-heading h2,
.feature-copy h3,
.download-copy h3,
.download-card h3,
.portal-card h3 {
  font-family: "Bahnschrift", "Segoe UI Variable Display", "PingFang SC", sans-serif;
}

.site-brand-copy strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.site-brand-copy span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}

.site-nav-link,
.site-pill-link,
.hero-primary,
.hero-secondary,
.ghost-button,
.mini-link,
.portal-link,
.preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.site-nav-link,
.site-pill-link {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav-link {
  color: #334155;
  border: 1px solid transparent;
}

.site-nav-link:hover {
  transform: translateY(-1px);
  color: #0f172a;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.12);
}

.site-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.site-pill-link {
  color: #0f172a;
  border: 1px solid #d8e1ee;
  background: rgba(255, 255, 255, 0.94);
}

.site-pill-link.is-solid {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
}

.site-pill-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.site-main {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 18px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.15), transparent 24%),
    linear-gradient(135deg, #0b1728 0%, #13243f 58%, #1e40af 100%);
  color: #f8fafc;
}

.section-kicker,
.feature-copy span,
.download-copy span,
.download-card span,
.portal-card span,
.preview-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-kicker {
  color: rgba(248, 250, 252, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-copy h1 {
  margin: 20px 0 0;
  font-size: clamp(42px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-summary {
  margin: 14px 0 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
}

.hero-description {
  max-width: 540px;
  margin: 14px 0 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-primary,
.hero-secondary,
.ghost-button,
.mini-link,
.portal-link,
.preview-link {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.hero-primary,
.portal-link.is-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 0;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.22);
}

.hero-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.ghost-button,
.mini-link,
.portal-link,
.preview-link {
  color: #0f172a;
  border: 1px solid #d8e1ee;
  background: #ffffff;
}

.hero-primary:hover,
.hero-secondary:hover,
.ghost-button:hover,
.mini-link:hover,
.portal-link:hover,
.preview-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.ghost-button {
  outline: 0;
}

.hero-quick-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-quick-item {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-quick-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.hero-quick-item span {
  display: block;
  margin-top: 8px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.hero-preview {
  display: grid;
  gap: 14px;
}

.preview-screen {
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #edf3fb 100%);
  overflow: hidden;
}

.preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.preview-head span,
.feature-copy span,
.download-copy span,
.download-card span,
.portal-card span {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
}

.preview-head strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.preview-screen img {
  width: 100%;
  max-height: 440px;
  margin-top: 26px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(37, 99, 235, 0.14));
}

.preview-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.preview-note {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 251, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.preview-note strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.preview-note span {
  display: block;
  margin-top: 10px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.content-section {
  padding: 28px;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.section-heading p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
}

.feature-stack {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 251, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.feature-row-reverse {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
}

.feature-row-reverse .feature-copy {
  order: 1;
}

.feature-row-reverse .feature-media {
  order: 2;
}

.feature-copy h3 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.feature-copy p {
  max-width: 440px;
  margin: 12px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.85;
}

.feature-media {
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eaf0f8 100%);
  display: grid;
  place-items: center;
}

.feature-media img {
  width: min(100%, 760px);
  max-height: 340px;
  object-fit: contain;
}

.feature-media.is-skin img {
  width: min(100%, 820px);
}

.feature-row-dark {
  grid-template-columns: minmax(300px, 1fr) 360px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 24%),
    linear-gradient(135deg, #0b1728 0%, #13243f 100%);
  color: #f8fafc;
}

.feature-row-dark .feature-copy span {
  color: rgba(248, 250, 252, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.feature-row-dark .feature-copy p {
  color: rgba(226, 232, 240, 0.78);
}

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

.feature-tags span {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16px;
  font-weight: 700;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.58fr));
  gap: 16px;
  margin-top: 24px;
}

.download-primary,
.download-card,
.portal-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 251, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.download-primary {
  grid-column: span 1;
  display: grid;
  gap: 18px;
}

.download-copy h3,
.download-card h3,
.portal-card h3 {
  margin: 14px 0 0;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.download-copy p,
.download-card p,
.portal-card p {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
}

.download-media {
  min-height: 220px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eaf0f8 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.download-media img {
  width: min(100%, 520px);
  max-height: 220px;
  object-fit: contain;
}

.download-card {
  display: flex;
  flex-direction: column;
}

.mini-link,
.portal-link {
  width: 100%;
  margin-top: auto;
  padding: 0 18px;
  box-sizing: border-box;
}

.portal-section {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.06), transparent 22%),
    rgba(255, 255, 255, 0.88);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.portal-card {
  display: flex;
  flex-direction: column;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding: 20px 24px;
}

.site-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #64748b;
  font-size: 13px;
}

.site-footer-links a,
.site-footer-copy {
  color: #64748b;
  font-size: 13px;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: #0f172a;
}

@media (max-width: 1280px) {
  .hero-panel,
  .feature-row,
  .feature-row-dark {
    grid-template-columns: 1fr;
  }

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

  .download-primary {
    grid-column: span 2;
  }

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

@media (max-width: 920px) {
  .home-shell {
    width: min(100%, calc(100% - 24px));
    padding-top: 12px;
  }

  .site-header {
    position: static;
    padding: 18px;
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .site-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-copy,
  .content-section,
  .site-footer {
    padding: 22px;
  }

  .hero-quick-list,
  .preview-notes,
  .download-grid,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .download-primary {
    grid-column: auto;
  }

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

  .feature-copy h3,
  .download-copy h3,
  .download-card h3,
  .portal-card h3 {
    font-size: 28px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-brand-copy strong {
    font-size: 26px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-summary {
    font-size: 20px;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
  }

  .hero-primary,
  .hero-secondary,
  .ghost-button {
    width: 100%;
  }

  .preview-head {
    flex-direction: column;
  }

  .preview-screen img,
  .feature-media img,
  .feature-media.is-skin img,
  .download-media img {
    width: 100%;
  }
}
