:root {
  --primary-blue: #0B1F3A;
  --secondary-blue: #1D4ED8;
  --accent-orange: #FF6B1A;
  --white: #FFFFFF;
  --light-gray: #F2F4F7;
  --mid-gray: #D0D5DD;
  --dark-gray: #1D2939;
  --info-yellow: #FACC15;
  --success-green: #10B981;
  --danger-red: #EF4444;
  --max-width: 1240px;
  --shadow-soft: 0 8px 24px rgba(11, 31, 58, 0.08);
  --shadow-hover: 0 14px 32px rgba(11, 31, 58, 0.14);
  --font-title: "Inter", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Source Sans Pro", "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--dark-gray);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.8em;
  color: var(--primary-blue);
  font-family: var(--font-title);
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--secondary-blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

a:hover {
  color: var(--primary-blue);
}

:focus-visible {
  outline: 3px solid var(--accent-orange);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 2000;
  display: inline-block;
  padding: 12px 20px;
  background: var(--white);
  color: var(--primary-blue);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: var(--shadow-hover);
}

.skip-link:focus {
  top: 12px;
  color: var(--primary-blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-blue);
  background-image: linear-gradient(110deg, rgba(255, 255, 255, 0.04) 0, transparent 42%);
  color: var(--white);
}

.site-header a {
  color: var(--white);
}

.header-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 12px 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  color: var(--white);
  text-decoration: none;
}

.brand-mark:hover {
  color: var(--white);
}

.brand-mark__symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  background: var(--accent-orange);
  color: var(--primary-blue);
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--white);
}

.brand-tag {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.live-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--accent-orange);
  color: var(--primary-blue);
  font-family: var(--font-title);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.live-bar:hover {
  background: #ff7d33;
  color: var(--primary-blue);
}

.live-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.18);
  animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(11, 31, 58, 0.3);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(11, 31, 58, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(11, 31, 58, 0);
  }
}

.live-bar__text {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  letter-spacing: 0.01em;
}

.live-bar__text strong {
  margin-right: 2px;
  font-size: 0.7rem;
}

.header-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.header-search:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-orange);
  color: var(--white);
}

.header-search__icon {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
}

.header-search__icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.header-search__icon::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 6px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: right center;
  border-radius: 2px;
}

.header-search__label {
  line-height: 1;
}

.site-nav {
  justify-self: end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list__item {
  margin: 0;
  padding: 0;
}

.nav-list__link {
  display: block;
  padding: 9px 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-list__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-list__link[aria-current="page"] {
  border-bottom-color: var(--accent-orange);
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle__box {
  display: grid;
  gap: 5px;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s 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);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--info-yellow));
  pointer-events: none;
}

.main-content {
  min-height: 70vh;
}

#main-content {
  scroll-margin-top: 96px;
}

.page-container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 40px 24px;
}

.page-section {
  padding: 64px 0;
}

.page-section--alt {
  background: var(--light-gray);
}

.section-heading {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-blue);
}

.section-intro {
  margin: 0 0 28px;
  max-width: 70ch;
  color: var(--dark-gray);
  font-size: 1.0625rem;
}

.lead {
  font-size: 1.15rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--mid-gray);
}

.breadcrumbs a {
  color: var(--primary-blue);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--secondary-blue);
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--dark-gray);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--primary-blue);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn--primary {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--primary-blue);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn--primary:hover {
  background: #ff7d33;
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--white);
  border-color: var(--mid-gray);
  color: var(--primary-blue);
}

.btn--ghost:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn--block {
  display: flex;
  width: 100%;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--mid-gray);
}

.panel--cut {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.card {
  position: relative;
  padding: 24px;
  background: var(--white);
  border-top: 4px solid var(--accent-orange);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card__title {
  font-size: 1.15rem;
}

.card__text {
  color: var(--dark-gray);
}

.stat-block {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 18px;
  padding: 20px;
  background: var(--light-gray);
  border-left: 4px solid var(--accent-orange);
}

.stat-block__value {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-blue);
}

.stat-block__label {
  font-size: 0.875rem;
  color: var(--dark-gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.6;
}

.tag--success {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.tag--danger {
  background: rgba(239, 68, 68, 0.14);
  color: #b91c1c;
}

.tag--warn {
  background: rgba(250, 204, 21, 0.2);
  color: #854d0e;
}

.tag--info {
  background: rgba(29, 78, 216, 0.12);
  color: var(--secondary-blue);
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--mid-gray);
}

.data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--mid-gray);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  background: var(--primary-blue);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.data-table tbody tr:nth-child(even) {
  background: var(--light-gray);
}

.data-table tbody tr:hover {
  background: #E8EDF4;
}

.image-frame {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: var(--light-gray);
  border: 1px solid var(--mid-gray);
  color: var(--mid-gray);
  font-size: 0.875rem;
}

.image-frame::before {
  content: attr(data-label);
  display: block;
  padding: 12px;
  text-align: center;
}

.image-frame--16-9 {
  aspect-ratio: 16 / 9;
}

.image-frame--4-3 {
  aspect-ratio: 4 / 3;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-shown {
  opacity: 1;
  transform: none;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--primary-blue);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  background: var(--accent-orange);
  opacity: 0.08;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  pointer-events: none;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 60px 24px 40px;
}

.footer-primary {
  display: grid;
  align-content: start;
  gap: 20px;
}

.brand-mark--footer .brand-name {
  color: var(--white);
}

.brand-mark--footer .brand-tag {
  color: rgba(255, 255, 255, 0.5);
}

.footer-mission {
  margin: 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.68);
}

.footer-note {
  margin: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--accent-orange);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
}

.footer-contact {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact__item {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
}

.footer-contact__label {
  flex: none;
  min-width: 3em;
  color: var(--accent-orange);
  font-weight: 800;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-content: start;
}

.footer-column {
  min-width: 0;
}

.footer-heading {
  margin: 0 0 16px;
  padding-left: 10px;
  border-left: 3px solid var(--accent-orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
}

.footer-copy,
.footer-icp {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.8125rem;
}

.footer-copy span {
  font-weight: 800;
}

@media (max-width: 960px) {
  .header-shell {
    grid-template-columns: auto 1fr auto;
    column-gap: 10px;
    padding: 10px 16px;
  }

  .brand-mark {
    grid-column: 1;
  }

  .header-tools {
    grid-column: 2;
    justify-self: end;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 3;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    justify-self: stretch;
    margin: 6px -16px -10px;
    padding: 0 16px 6px;
    background: rgba(0, 0, 0, 0.14);
  }

  .site-nav[data-open] {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list__link {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-list__item:last-child .nav-list__link {
    border-bottom: 0;
  }

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

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 24px 32px;
  }

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

@media (max-width: 680px) {
  .header-search {
    display: none;
  }

  .header-tools {
    gap: 4px;
    padding: 2px;
  }

  .live-bar {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .brand-tag {
    display: none;
  }

  .brand-mark__symbol {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .page-section {
    padding: 44px 0;
  }

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

@media (max-width: 520px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .page-container {
    padding: 32px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
