:root {
  --bg: #eef4ff;
  --paper: #fbfdff;
  --ink: #121a2a;
  --text: #3c4558;
  --muted: #768094;
  --line: #d7deeb;
  --pink: #ea3f86;
  --violet: #8a35c9;
  --blue: #536ff0;
  --radius: 12px;
  --content: 1120px;
  --shadow: 0 24px 80px rgba(29, 42, 74, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(18, 26, 42, 0.04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(rgba(18, 26, 42, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
}

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

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

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e7effc;
  pointer-events: none;
}

.intro-loader__mark {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  animation: loaderMark 0.65s 0.12s ease forwards;
}

.intro-loader__mark img {
  width: 110px;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(83, 111, 240, 0.18);
}

.intro-loader__mark span {
  font-size: 18px;
  font-weight: 800;
}

.intro-loader__wipe {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--blue));
  transform: translateX(-100%);
  animation: loaderWipe 1.2s 0.72s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.intro-loader.is-done {
  animation: loaderExit 0.38s 1.65s forwards;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content), calc(100% - 32px));
  min-height: 60px;
  padding: 10px 12px;
  border: 1px solid rgba(18, 26, 42, 0.1);
  border-radius: var(--radius);
  background: rgba(251, 253, 255, 0.82);
  box-shadow: 0 16px 48px rgba(29, 42, 74, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.nav {
  gap: 4px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text);
  font-size: 14px;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(138, 53, 201, 0.09);
  color: var(--ink);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: center;
  width: min(var(--content), calc(100% - 32px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 118px 0 74px;
}

.hero__content {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.contact h2 {
  margin: 0;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.12;
}

.hero__lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(18, 26, 42, 0.18);
  border-radius: 10px;
  font-weight: 800;
}

.btn--primary {
  background: var(--ink);
  color: white;
}

.btn--plain {
  background: rgba(251, 253, 255, 0.72);
}

.hero__panel {
  position: relative;
  min-height: 520px;
}

.panel-card,
.panel-grid {
  border: 1px solid rgba(18, 26, 42, 0.1);
  border-radius: var(--radius);
  background: rgba(251, 253, 255, 0.84);
  box-shadow: var(--shadow);
}

.panel-card--brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.panel-card--brand img {
  width: 76px;
  border-radius: 16px;
}

.panel-card--brand strong,
.panel-card--brand span,
.panel-card--metric span,
.panel-card--metric strong {
  display: block;
}

.panel-card--brand strong {
  font-size: 22px;
}

.panel-card--brand span,
.panel-card--metric span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.panel-card--metric {
  position: absolute;
  left: 32px;
  right: 0;
  top: 128px;
  z-index: 1;
  padding: 26px;
}

.panel-card--metric strong {
  margin-top: 14px;
  font-size: 25px;
  line-height: 1.35;
}

.panel-grid {
  position: absolute;
  inset: 250px 0 0 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(234, 63, 134, 0.12), rgba(83, 111, 240, 0.1)),
    rgba(251, 253, 255, 0.86);
}

.panel-grid span {
  min-height: 54px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(234, 63, 134, 0.18), rgba(83, 111, 240, 0.14));
}

.section {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-head {
  max-width: 720px;
}

.section-head--center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.contact h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.22;
}

.section-head p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.85;
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 70px;
  align-items: start;
}

.profile-copy {
  display: grid;
  gap: 18px;
}

.profile-copy p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.9;
}

.scope-table {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(18, 26, 42, 0.1);
  border-radius: var(--radius);
  background: rgba(251, 253, 255, 0.78);
  box-shadow: 0 20px 60px rgba(29, 42, 74, 0.08);
}

.scope-table article {
  display: grid;
  grid-template-rows: 34px 64px 1fr;
  min-height: 260px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

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

.scope-table span {
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
}

.scope-table h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

.scope-table p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

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

.system-item {
  display: grid;
  grid-template-rows: 34px 40px 1fr;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(18, 26, 42, 0.1);
  border-radius: var(--radius);
  background: rgba(251, 253, 255, 0.76);
}

.system-item strong {
  color: var(--violet);
}

.system-item h3 {
  margin: 0;
  font-size: 22px;
}

.system-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 118px;
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: stretch;
}

.contact-card {
  display: grid;
  align-content: space-between;
  min-height: 250px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.contact-card img {
  width: 82px;
  border-radius: 16px;
}

.contact-card span {
  margin-top: 24px;
  font-size: 22px;
  font-weight: 900;
}

.contact-card a {
  color: #e5ebff;
  font-size: 20px;
  font-weight: 900;
}

[data-reveal-section] .eyebrow,
[data-reveal-section] h2,
[data-reveal-section] .profile-copy,
[data-stagger] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-stagger] {
  transition-delay: calc(var(--stagger, 0) * 70ms);
}

[data-reveal-section].is-visible .eyebrow,
[data-reveal-section].is-visible h2,
[data-reveal-section].is-visible .profile-copy,
[data-reveal-section].is-visible [data-stagger] {
  opacity: 1;
  transform: translateY(0);
}

@keyframes loaderMark {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loaderWipe {
  0% {
    transform: translateX(-100%);
  }
  48% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes loaderExit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .profile,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__panel {
    min-height: 430px;
  }

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

  .scope-table article {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

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

@media (min-width: 981px) and (max-width: 1180px) {
  .scope-table {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .scope-table article {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand span {
    font-size: 15px;
  }

  .hero,
  .section,
  .contact {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__lead,
  .section-head p:not(.eyebrow),
  .profile-copy p {
    font-size: 16px;
  }

  .hero__panel {
    min-height: auto;
  }

  .panel-card--metric,
  .panel-grid {
    position: static;
    margin-top: 14px;
  }

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

  .scope-table,
  .system-grid {
    grid-template-columns: 1fr;
  }

  .scope-table article {
    min-height: 210px;
    border-right: 0;
  }

  .contact-card a {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .intro-loader {
    display: none;
  }

  [data-reveal-section] .eyebrow,
  [data-reveal-section] h2,
  [data-reveal-section] .profile-copy,
  [data-stagger] {
    opacity: 1;
    transform: none;
  }
}
