:root {
  --ink: #10242f;
  --hero: #183868;
  --paper: #f6f5f0;
  --surface: #e9e8e1;
  --line: rgba(16, 36, 47, 0.18);
  --cyan: #4bcbd0;
  --muted: #51656d;
  --warm: #ed6d4a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* 首页锚点以可见视口为最小高度；内容较多时仍由文档流向下展开。 */
html.home-page { scroll-snap-type: y mandatory; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-160%); background: var(--paper); box-shadow: 0 4px 14px rgba(16, 36, 47, 0.18); color: var(--ink); font-size: 14px; font-weight: 700; transition: transform 0.2s ease; }
.skip-link:focus-visible { transform: translateY(0); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 72px;
  margin: auto;
  align-items: center;
  background: rgba(246, 245, 240, 0.96);
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.site-header.is-on-dark { background: rgba(24, 56, 104, 0.94); border-bottom-color: rgba(246, 245, 240, 0.22); color: var(--paper); }

.brand { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; letter-spacing: 0.04em; }
.brand-mark { display: inline-flex; width: 24px; height: 24px; align-items: flex-end; gap: 2px; transform: skewY(-24deg); }
.brand-mark i { display: block; width: 6px; background: var(--cyan); }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 24px; }
.site-nav { display: flex; gap: 34px; font-size: 14px; }
.site-nav a { padding: 6px 0; color: rgba(16, 36, 47, 0.72); transition: color 0.2s ease; }
.site-nav a:hover { color: var(--ink); }
.site-header.is-on-dark .site-nav a { color: rgba(246, 245, 240, 0.84); }
.site-header.is-on-dark .site-nav a:hover { color: var(--paper); }
.menu-button { display: none; }

.hero {
  position: relative;
  display: grid;
  min-height: clamp(760px, 100dvh, 1020px);
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  overflow: hidden;
  padding: 72px max(32px, calc((100vw - 1380px) / 2)) 44px;
  background: var(--hero);
  color: var(--paper);
}
.hero::before { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; content: ""; background: rgba(246, 245, 240, 0.1); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow,
.section-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.eyebrow { display: flex; align-items: center; gap: 10px; color: rgba(246, 245, 240, 0.78); }
.eyebrow span { width: 30px; height: 1px; background: var(--cyan); }
h1, h2, h3, p { margin: 0; }
h1,
h2,
h3 { font-family: "STSong", "Songti SC", SimSun, serif; }
h1 {
  max-width: 700px;
  margin: 32px 0 28px;
  font-size: clamp(60px, 7vw, 116px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.07em;
}
h1 em, h2 em { font: inherit; font-style: italic; letter-spacing: -0.04em; }
.hero-summary { max-width: 430px; color: rgba(246, 245, 240, 0.9); font-size: 18px; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 38px; padding: 0 0 9px; border-bottom: 1px solid var(--cyan); font-size: 14px; font-weight: 700; }
.text-link span { color: var(--cyan); font-size: 17px; }

.hero-art { position: relative; height: min(570px, 62dvh); margin-left: 5vw; }
.grid-lines { position: absolute; inset: 6%; background: linear-gradient(rgba(75, 203, 208, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 203, 208, 0.1) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle, black 15%, transparent 68%); }
.core { position: absolute; top: 50%; left: 50%; display: grid; width: 125px; height: 125px; place-content: center; transform: translate(-50%, -50%); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 13px rgba(75, 203, 208, 0.08); color: var(--ink); text-align: center; }
.core span { font-size: 17px; font-weight: 700; letter-spacing: -0.08em; }
.core small { margin-top: 5px; font-size: 9px; font-weight: 700; }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(75, 203, 208, 0.4); border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }
.orbit-one { width: 260px; height: 260px; }
.orbit-two { width: 420px; height: 280px; }
.orbit-three { width: 550px; height: 410px; border-color: rgba(246, 245, 240, 0.18); }
.signal { position: absolute; display: flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 10px; font-weight: 700; letter-spacing: 0.05em; }
.signal b { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); }
.signal-a { top: 19%; left: 12%; }
.signal-b { top: 73%; right: 5%; }
.signal-c { bottom: 9%; left: 27%; color: rgba(246, 245, 240, 0.75); }
.signal-c b { background: var(--cyan); }

.section { padding: 112px max(32px, calc((100vw - 1380px) / 2)); }
.home-page main > section {
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.section-label { color: var(--muted); }
.intro { min-height: 520px; border-bottom: 1px solid var(--line); }
.intro-content { display: grid; margin-top: 64px; grid-template-columns: 1.25fr 0.75fr; align-items: start; gap: 72px; }
.intro-main { display: flex; min-width: 0; align-self: stretch; flex-direction: column; justify-content: flex-start; }
.intro h2,
.ecosystem h2,
.closing h2 { font-size: clamp(38px, 4.1vw, 64px); font-weight: 600; line-height: 1.18; letter-spacing: -0.06em; }
.intro-side { padding-bottom: 5px; }
.intro-side p { color: #29414b; font-size: 16px; line-height: 2; }
.intro-side p + p { margin-top: 18px; }
.about-facts { display: grid; margin: 48px 0 0; padding: 16px 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-facts div { min-width: 0; }
.about-facts dt { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }
.about-facts dd { margin: 8px 0 0; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.5; }
.about-art-frame { margin-top: 26px; overflow: hidden; }
.about-art { display: block; width: 118%; max-width: none; height: auto; margin-left: -18%; }

.capability { position: relative; overflow: hidden; background: var(--hero); color: var(--paper); }
.capability::after { position: absolute; inset: 0 auto 0 -35%; width: 22%; content: ""; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(75, 203, 208, 0.1), transparent); opacity: 0; pointer-events: none; }
.capability.is-active::after { animation: capability-scan 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
.capability .section-label { color: rgba(246, 245, 240, 0.7); }
.section-heading { max-width: 520px; padding-bottom: 56px; }
.section-caption { margin-top: 20px; color: rgba(246, 245, 240, 0.86); font-size: 16px; line-height: 1.8; }
.capability-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.capability-item { position: relative; display: flex; min-height: 292px; padding: 34px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 30px; overflow: hidden; border: 1px solid rgba(246, 245, 240, 0.2); border-radius: 14px; background: rgba(246, 245, 240, 0.035); transition: background-color 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1); }
.capability-item::before { position: absolute; top: 0; left: 34px; width: 46px; height: 2px; content: ""; transform: scaleX(0); transform-origin: left; background: var(--cyan); transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1); }
.capability-item::after { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; height: 58%; content: ""; background: linear-gradient(to bottom, transparent, rgba(10, 26, 54, 0.9)); pointer-events: none; }
.capability-title,
.capability-item > p { position: relative; z-index: 2; transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), color 0.32s ease; }
.capability-art { position: absolute; z-index: 0; right: -6%; bottom: -13%; width: 84%; aspect-ratio: 1; object-fit: cover; object-position: right bottom; opacity: 0.62; pointer-events: none; transition: opacity 0.32s ease, transform 0.48s cubic-bezier(0.16, 1, 0.3, 1); }
.capability-title h3 { font-size: clamp(28px, 3vw, 46px); font-weight: 600; line-height: 1.1; letter-spacing: -0.055em; }
.capability-action { display: block; margin-top: 16px; color: rgba(246, 245, 240, 0.72); font-size: 13px; font-weight: 700; transition: color 0.32s ease; }
.capability-item > p { max-width: 31ch; margin-top: auto; color: rgba(246, 245, 240, 0.86); font-size: 15px; line-height: 1.85; }
@media (hover: hover) and (pointer: fine) {
  .capability-item:hover { border-color: rgba(75, 203, 208, 0.72); background-color: rgba(75, 203, 208, 0.1); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16); transform: translateY(-4px); }
  .capability-item:hover::before { transform: scaleX(1); }
  .capability-item:hover .capability-title { transform: translateY(4px); }
  .capability-item:hover .capability-action { color: var(--cyan); }
  .capability-item:hover > p { transform: none; color: var(--paper); }
  .capability-item:hover .capability-art { opacity: 0.78; transform: scale(1.035); }
}

/* 短屏桌面端将两行能力卡片纳入一个视口，移动端仍使用自然纵向阅读。 */
@media (min-width: 761px) and (max-height: 900px) {
  .home-page main > section.intro { display: grid; height: 100dvh; min-height: 0; padding-top: 92px; padding-bottom: 32px; grid-template-rows: auto minmax(0, 1fr); }
  .intro-content { min-height: 0; margin-top: 28px; align-self: center; }
  .about-art-frame { margin-top: 18px; }
  .about-art { width: 132%; margin-left: -16%; }
  .home-page main > section.capability { display: grid; height: 100dvh; min-height: 0; padding-top: 92px; padding-bottom: 32px; grid-template-rows: auto minmax(0, 1fr); }
  .capability .section-heading { padding-bottom: 24px; }
  .capability-list { min-height: 0; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .capability-item { min-height: 0; padding: 20px 22px; gap: 14px; }
  .capability-item::before { left: 22px; }
  .capability-title h3 { font-size: clamp(26px, 2.75vw, 38px); }
  .capability-action { margin-top: 10px; }
  .capability-item > p { font-size: 14px; line-height: 1.6; }
  .capability-art { width: 78%; }
}

.detail-hero { min-height: 500px; padding-top: 184px; padding-bottom: 96px; }
.detail-hero .hero-copy { max-width: 900px; }
.detail-hero h1 { max-width: 860px; margin: 24px 0; font-size: clamp(54px, 6vw, 92px); }
.detail-hero .hero-summary { max-width: 620px; }
.detail-nav { margin-top: 42px; }
.detail-nav a { padding-bottom: 8px; border-bottom: 1px solid var(--cyan); font-size: 14px; font-weight: 700; }
.service-detail { padding-top: 0; }
.service-section { max-width: 1000px; padding: 96px 0; border-bottom: 1px solid var(--line); }
.service-section h2 { margin-bottom: 30px; font-size: clamp(34px, 3.8vw, 56px); font-weight: 600; line-height: 1.18; letter-spacing: -0.055em; }
.service-section > p { max-width: 760px; color: #29414b; font-size: 17px; line-height: 1.9; }
.service-section > p + p { margin-top: 20px; }
.service-groups { display: grid; margin-top: 42px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.service-group { min-height: 178px; padding: 26px; background: var(--paper); }
.service-group h3 { margin-bottom: 14px; font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.45; }
.service-group p { color: #40565e; font-size: 15px; line-height: 1.8; }
.service-list { display: grid; margin-top: 38px; gap: 0; border-top: 1px solid var(--line); }
.service-list li { display: grid; padding: 20px 0; grid-template-columns: minmax(180px, 0.35fr) minmax(0, 0.65fr); gap: 32px; border-bottom: 1px solid var(--line); color: #40565e; font-size: 16px; line-height: 1.8; list-style: none; }
.service-list strong { color: var(--ink); font-weight: 700; }
.service-cta { display: flex; min-height: 360px; flex-direction: column; justify-content: space-between; background: var(--surface); }
.service-cta h2 { max-width: 760px; font-size: clamp(38px, 4.2vw, 64px); font-weight: 600; line-height: 1.18; letter-spacing: -0.06em; }
.service-cta .contact-details { max-width: 430px; }

.ecosystem { display: grid; min-height: 700px; grid-template-columns: 0.78fr 1.22fr; align-items: center; gap: clamp(55px, 10vw, 170px); border-bottom: 1px solid var(--line); }
.ecosystem h2 { margin: 30px 0; font-size: clamp(38px, 3.9vw, 60px); }
.ecosystem-copy > p:last-child { max-width: 360px; color: #344c55; font-size: 16px; line-height: 1.9; }
.flow-diagram { position: relative; height: 410px; }
.flow-diagram::before { position: absolute; z-index: 0; top: 52%; left: 50%; width: min(360px, 100%); aspect-ratio: 1; transform: translate(-50%, -50%) scale(0.78); border-radius: 50%; background: radial-gradient(circle, transparent 0 18.5%, rgba(16, 36, 47, 0.18) 18.8% 19.2%, transparent 19.5% 33%, rgba(16, 36, 47, 0.13) 33.3% 33.7%, transparent 34% 47.7%, rgba(16, 36, 47, 0.08) 48% 48.4%, transparent 48.7%); content: ""; opacity: 0; }
.flow-diagram.is-visible::before { animation: ripple-expand 0.8s cubic-bezier(0.16, 0.8, 0.25, 1) both; }
.flow-node { position: absolute; z-index: 1; display: flex; width: 185px; min-height: 118px; flex-direction: column; padding: 18px; border: 1px solid var(--line); background: rgba(246, 245, 240, 0.92); }
.flow-node span { color: var(--warm); font-size: 11px; font-weight: 700; }
.flow-node strong { margin: auto 0 3px; font-family: inherit; font-size: 18px; font-weight: 700; }
.flow-node small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.operator { top: 10%; left: 2%; }
.license { top: 10%; right: 3%; }
.provider { bottom: 0; left: 28%; }
.flow-hub { position: absolute; z-index: 1; top: 52%; left: 50%; display: grid; width: 125px; height: 125px; place-content: center; transform: translate(-50%, -50%); border: 8px solid var(--paper); outline: 1px solid var(--ink); border-radius: 50%; background: var(--ink); color: var(--paper); text-align: center; }
.flow-hub span { font-size: 16px; font-weight: 700; }
.flow-hub small { margin-top: 7px; color: var(--cyan); font-size: 10px; font-weight: 700; }

.closing { display: flex; min-height: 540px; flex-direction: column; justify-content: space-between; background: var(--surface); }
.closing-content { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.closing-side { max-width: 360px; }
.closing-side > p { color: #344c55; font-size: 16px; line-height: 1.9; }
.contact-details { display: grid; gap: 12px; margin-top: 28px; color: var(--ink); font-size: 14px; font-style: normal; line-height: 1.75; }
.contact-details a { width: fit-content; padding-bottom: 4px; border-bottom: 1px solid var(--cyan); font-size: 18px; font-weight: 700; letter-spacing: 0.03em; }
.closing-footer { display: flex; margin-top: 78px; padding-top: 18px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.closing-footer a:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; transition: none; }
.capability-item.reveal {
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    background-color 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

@keyframes capability-scan {
  0% { left: -35%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 113%; opacity: 0; }
}
@keyframes ripple-expand {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.78); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

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

@media (max-width: 760px) {
  .site-header { width: 100%; height: 65px; padding: 0 20px; }
  .site-nav { position: fixed; z-index: 3; top: 0; right: 0; bottom: 0; left: 0; display: none; padding: 104px 22px 32px; flex-direction: column; gap: 0; background: rgba(16, 36, 47, 0.98); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 18px 0; border-bottom: 1px solid rgba(246, 245, 240, 0.2); color: var(--paper); font-size: 19px; font-weight: 700; }
  .menu-button { position: relative; z-index: 4; display: flex; padding: 8px 0 8px 12px; flex-direction: column; gap: 5px; border: 0; background: none; }
  .menu-button span { width: 22px; height: 1px; background: var(--paper); }
  .site-header:not(.is-on-dark) .menu-button span { background: var(--ink); }
  body.menu-open .menu-button span { background: var(--paper); }
  .hero { min-height: 760px; grid-template-columns: 1fr; padding: 108px 20px 44px; }
  .hero::before { display: none; }
  h1 { margin: 28px 0 24px; font-size: clamp(54px, 17vw, 72px); }
  .hero-summary { max-width: 340px; font-size: 16px; }
  .text-link { margin-top: 30px; }
  .hero-art { height: 320px; margin: 10px 0 0; }
  .orbit-one { width: 190px; height: 190px; }
  .orbit-two { width: 310px; height: 220px; }
  .orbit-three { width: 390px; height: 290px; }
  .core { width: 94px; height: 94px; }
  .signal-a { left: 0; }
  .signal-b { right: 0; }
  .section { padding: 84px 20px; }
  .intro-content { margin-top: 42px; grid-template-columns: 1fr; gap: 34px; }
  .intro-main { display: block; }
  .about-facts { grid-template-columns: 1fr; gap: 0; }
  .about-facts div { display: flex; padding: 11px 0; align-items: baseline; justify-content: space-between; gap: 20px; }
  .about-facts div + div { border-top: 1px solid var(--line); }
  .about-facts dd { margin-top: 0; text-align: right; }
  .about-art { width: 100%; margin-left: 0; }
  .desktop-break { display: none; }
  .intro h2, .ecosystem h2, .closing h2 { font-size: clamp(38px, 10vw, 46px); text-wrap: balance; }
  .section-heading { padding-bottom: 40px; }
  .capability-list { grid-template-columns: 1fr; gap: 12px; }
  .capability-item { min-height: 250px; gap: 24px; padding: 28px; }
  .capability-item::before { left: 28px; }
  .capability-art { right: -10%; bottom: -17%; width: 94%; opacity: 0.48; }
  .capability-title h3 { font-size: 34px; }
  .capability-action { margin-top: 12px; }
  .detail-hero { min-height: 460px; padding-top: 138px; padding-bottom: 70px; }
  .detail-hero h1 { font-size: clamp(48px, 13vw, 64px); }
  .detail-nav { margin-top: 30px; }
  .service-section { padding: 68px 0; }
  .service-section h2 { margin-bottom: 24px; font-size: clamp(34px, 10vw, 46px); }
  .service-section > p { font-size: 16px; }
  .service-groups { grid-template-columns: 1fr; }
  .service-group { min-height: 0; padding: 22px; }
  .service-list li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; font-size: 15px; }
  .service-cta { min-height: 330px; }
  .ecosystem { min-height: 0; grid-template-columns: 1fr; }
  .flow-diagram { height: 350px; margin-top: 8px; }
  .flow-node { width: 145px; min-height: 103px; padding: 14px; }
  .flow-node strong { font-size: 15px; }
  .operator { left: 0; }
  .license { right: 0; }
  .provider { left: 18%; }
  .flow-hub { width: 105px; height: 105px; }
  .closing { min-height: 480px; }
  .closing-content { display: block; }
  .closing-side { margin-top: 30px; }
  .closing-footer { margin-top: 58px; flex-wrap: wrap; gap: 14px 22px; }
}
