*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

:root {
  --color-bg: #F4F6F8;
  --color-bg-alt: #EDF0F3;
  --color-text: #102A43;
  --color-text-sub: #5A6B7B;
  --color-blue: #0055FF;
  --color-yellow: #FFD400;
  --color-orange: #FF5C00;
  --color-purple: #B72E6F;
  --color-line: #C4CBD2;
  --color-dark: #1E222D;
  --color-white: #FFFFFF;
  --font-head: 'Inter','Noto Sans SC',system-ui,-apple-system,'Segoe UI',Roboto,'PingFang SC','Microsoft YaHei',sans-serif;
  --font-body: 'Inter','Noto Sans SC',system-ui,-apple-system,'Segoe UI',Roboto,'PingFang SC','Microsoft YaHei',sans-serif;
  --header-h: 72px;
  --gutter: 24px;
  --content-w: 780px;
}

@media (max-width: 560px) {
  :root {
    --header-h: 64px;
    --gutter: 16px;
  }
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 900; line-height: 1.12; color: var(--color-text); overflow-wrap: break-word; }
p { overflow-wrap: break-word; }
a { color: var(--color-blue); }
button { font-family: inherit; font-size: inherit; cursor: pointer; border-radius: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--color-yellow); color: var(--color-dark); }

#main-content { scroll-margin-top: calc(var(--header-h) + 8px); }

:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 2px; }

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.container { width: calc(100% - var(--gutter) * 2); max-width: 1280px; margin-inline: auto; }
.container--narrow { max-width: var(--content-w); }
.content-narrow { max-width: var(--content-w); margin-inline: auto; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(28px, 4vw, 56px) 0; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-300%);
  background: var(--color-yellow);
  color: var(--color-dark);
  font-weight: 800;
  padding: 12px 20px;
  text-decoration: none;
  transition: transform .2s ease;
}
.skip-link:focus-visible { transform: translateY(0); outline: 2px solid var(--color-dark); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background-color: transparent;
  border-bottom: 1px solid rgba(255,255,255,.16);
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30,34,45,.72), rgba(30,34,45,0));
  opacity: 1;
  transition: opacity .3s ease;
  pointer-events: none;
}
.site-header[data-scrolled="true"] {
  background-color: var(--color-dark);
  border-bottom-color: rgba(255,255,255,.12);
}
.site-header[data-scrolled="true"]::before { opacity: 0; }

.header-shell {
  position: relative;
  z-index: 1;
  width: calc(100% - var(--gutter) * 2);
  max-width: 1280px;
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--color-white);
  text-decoration: none;
}
.site-brand__name {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
}
.site-brand__zh {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--color-yellow);
  border-left: 2px solid var(--color-yellow);
  padding-left: 10px;
  line-height: 1;
}

.site-nav { position: relative; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { list-style: none; }
.nav-link {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: rgba(255,255,255,.86);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--color-white); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: var(--color-yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--color-white); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.32);
}
.nav-toggle-bar { display: block; width: 100%; height: 2px; background: var(--color-white); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: var(--color-dark);
    padding: clamp(24px, 6vw, 48px) clamp(20px, 6vw, 56px) 64px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid rgba(255,255,255,.14); }
  .nav-link {
    padding: 16px 2px;
    font-size: 1.5rem;
    color: rgba(255,255,255,.88);
    display: flex;
    align-items: center;
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--color-yellow); }
  .nav-link[aria-current="page"]::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--color-yellow);
    margin-right: 14px;
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  color: rgba(255,255,255,.72);
  border-top: 3px solid var(--color-orange);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 240px;
  height: 3px;
  background: var(--color-yellow);
  z-index: 1;
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-panel { min-width: 0; }
.footer-panel--brand, .footer-panel--contact, .footer-panel--legal { display: block; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--color-white);
  text-decoration: none;
  margin-bottom: 18px;
}
.footer-brand__name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
}
.footer-brand__zh {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--color-yellow);
  border-left: 2px solid var(--color-yellow);
  padding-left: 10px;
  line-height: 1;
}

.footer-claim {
  font-size: .9375rem;
  line-height: 1.8;
  max-width: 42em;
  margin-bottom: 16px;
}
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: .875rem;
  line-height: 1.75;
  color: rgba(255,255,255,.58);
}

.footer-title {
  position: relative;
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-title::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--color-orange);
  margin-right: 10px;
  vertical-align: middle;
}

.footer-list { display: grid; gap: 12px; }
.footer-list__item { display: flex; gap: 12px; font-size: .9375rem; line-height: 1.65; overflow-wrap: anywhere; }
.footer-list__key { flex-shrink: 0; min-width: 44px; font-size: .8125rem; font-weight: 800; color: var(--color-yellow); }
.footer-list--links .footer-list__item { display: block; }
.footer-list--links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  position: relative;
}
.footer-list--links a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-orange);
  transition: transform .2s ease;
}
.footer-list--links a:hover,
.footer-list--links a:focus-visible { color: var(--color-white); }
.footer-list--links a:hover::before,
.footer-list--links a:focus-visible::before { transform: translateX(3px); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; }
.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.footer-copy, .footer-icp { font-size: .8125rem; color: rgba(255,255,255,.5); }

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(32px, 6vw, 72px); padding: 72px 0 56px; }
  .footer-bottom__inner { flex-direction: row; }
}

.hero-dark {
  position: relative;
  background: var(--color-dark);
  color: var(--color-white);
  padding: calc(var(--header-h) + 88px) 0 88px;
  overflow: hidden;
}
.hero-dark::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -60px;
  width: 520px;
  height: 340px;
  background: linear-gradient(135deg, rgba(0,85,255,.55) 0%, rgba(183,46,111,.4) 100%);
  clip-path: polygon(14% 0, 100% 0, 100% 86%, 0 100%);
  opacity: .55;
  pointer-events: none;
}
.hero-dark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-yellow) 45%, transparent 75%);
  pointer-events: none;
}
.hero-dark > .container { position: relative; z-index: 1; }
.hero-dark--short { padding: calc(var(--header-h) + 48px) 0 56px; }
.hero-dark--short .hero-dark__title { font-size: clamp(2.25rem, 5vw, 4.5rem); }
.hero-dark__title {
  font-family: var(--font-head);
  font-size: clamp(3.125rem, 9vw, 7.5rem);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--color-white);
  max-width: 12em;
  margin-bottom: 24px;
}
.hero-dark__lead {
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  line-height: 1.8;
  color: rgba(255,255,255,.72);
  max-width: 38em;
  margin-bottom: 20px;
}
.hero-dark__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--color-yellow);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 2px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--color-text-sub);
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--color-line); }
.breadcrumb a { color: var(--color-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.hero-dark .breadcrumb { color: rgba(255,255,255,.6); }
.hero-dark .breadcrumb a { color: rgba(255,255,255,.92); }
.hero-dark .breadcrumb a:hover { color: var(--color-yellow); text-decoration: none; }
.hero-dark .breadcrumb li + li::before { color: rgba(255,255,255,.4); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: #E35500; color: var(--color-white); }
.btn:focus-visible { outline-color: var(--color-dark); }
.btn--ghost { background: transparent; border-color: var(--color-line); color: var(--color-text); }
.btn--ghost:hover { background: var(--color-bg-alt); border-color: var(--color-text); color: var(--color-text); }
.btn--blue { background: var(--color-blue); }
.btn--blue:hover { background: #0046D6; }
.btn--dark { background: var(--color-dark); color: var(--color-white); }
.btn--dark:hover { background: #12151C; }

.tag {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--color-line);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .08em;
}
.tag--yellow { background: var(--color-yellow); border-color: var(--color-yellow); color: var(--color-dark); }
.tag--orange { background: var(--color-orange); border-color: var(--color-orange); color: var(--color-white); }
.tag--blue { background: var(--color-blue); border-color: var(--color-blue); color: var(--color-white); }

.panel {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  padding: 24px;
}
.panel--alt { background: var(--color-bg-alt); }
.panel--dark { background: var(--color-dark); color: rgba(255,255,255,.76); }
.panel--dark .panel__title { color: var(--color-white); }
.panel__title { font-size: 1.125rem; font-weight: 900; line-height: 1.3; margin-bottom: 8px; }
.panel__meta { font-size: .8125rem; color: var(--color-text-sub); margin-bottom: 12px; }
.panel p + p { margin-top: 12px; }

.index-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.index-line__no {
  font-family: var(--font-head);
  font-size: .9375rem;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--color-blue);
}
.index-line__title {
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.index-line__rule { flex: 1; height: 1px; min-width: 32px; background: var(--color-line); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.grid__item { grid-column: 1 / -1; min-width: 0; }

@media (min-width: 720px) {
  .grid__item--span4 { grid-column: span 4; }
  .grid__item--span6 { grid-column: span 6; }
  .grid__item--span8 { grid-column: span 8; }
}

.media {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
}
.media::before { content: ""; display: block; padding-top: 56.25%; }
.media--4x3::before { padding-top: 75%; }
.media--portrait::before { padding-top: 125%; }
.media > img,
.media > video,
.media .media__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.045) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, var(--color-dark), #303A4C);
  color: rgba(255,255,255,.55);
  font-size: .8125rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.media__placeholder::before { content: attr(data-label); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 130;
  background: linear-gradient(90deg, var(--color-blue), var(--color-purple), var(--color-orange));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.top-link {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 1.375rem;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(16,42,67,.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background-color .2s ease;
}
.top-link[data-visible="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.top-link:hover { background: #E35500; }
.top-link:focus-visible { outline-color: var(--color-dark); }

html.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
html.js-enabled [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.js-enabled [data-reveal] { opacity: 1; transform: none; }
}
