:root {
  --ink: #0A1F44;
  --ink-deep: #060F2B;
  --ink-soft: rgba(10, 31, 68, 0.6);
  --accent: #FF6B35;
  --accent-soft: #FF8C5A;
  --paper: #FFFFFF;
  --paper-gray: #F5F7FA;
  --line: #2C3E50;
  --line-soft: rgba(10, 31, 68, 0.08);
  --font-display: Impact, 'Arial Narrow', 'Noto Sans SC', sans-serif;
  --font-body: Roboto, 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-data: 'Roboto Mono', 'Courier New', monospace;
  --header-h: 72px;
  --container-w: 1200px;
  --radius: 6px;
  --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.08);
  --shadow-md: 0 12px 32px rgba(10, 31, 68, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

ul, ol {
  list-style: none;
}

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

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1rem;
}

p {
  max-width: 70ch;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bg-ink {
  background: var(--ink);
  color: #fff;
}

.bg-ink h1,
.bg-ink h2,
.bg-ink h3 {
  color: #fff;
}

.bg-paper {
  background: var(--paper);
}

.bg-gray {
  background: var(--paper-gray);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65em 1.4em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-align: center;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
  background: var(--accent-soft);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--paper-gray);
  border-color: var(--accent);
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, var(--ink-deep), var(--ink) 70%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.site-header-inner {
  position: relative;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  pointer-events: none;
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  z-index: 5;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  background: var(--accent);
  border-radius: 0 10px 0 10px;
  letter-spacing: 0.02em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-sub {
  display: block;
  font-size: 0.625rem;
  font-family: var(--font-data);
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.nav-item {
  flex-shrink: 0;
}

.nav-link {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-link[aria-current="page"] {
  background: var(--accent);
  color: #fff;
}

.nav-cta {
  flex-shrink: 0;
  border-radius: 0 10px 0 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) 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(-6px) rotate(-45deg);
}

.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--ink-deep), var(--ink));
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4rem;
}

.footer-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft) 40%, transparent);
}

.footer-top {
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand-block,
.footer-links-block,
.footer-contact-block {
  min-width: 0;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
  font-size: 0.75rem;
}

.footer-brand .brand-name {
  font-size: 1rem;
}

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

.footer-trust {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.5rem;
}

.footer-heading {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.925rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 0.4rem;
}

.footer-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer-contact-list li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  padding: 0.9rem 0;
  font-size: 0.8rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-icp {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  font-family: var(--font-data);
}

.prose {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
}

.prose p + p {
  margin-top: 1rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-block: 1rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: rgba(10, 31, 68, 0.3);
}

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-gray);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-sm);
}

.media-frame > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.data-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-family: var(--font-data);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.stat-value.accent {
  color: var(--accent);
}

.panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.tab-list {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--line-soft);
  overflow-x: auto;
}

.tab-item {
  flex-shrink: 0;
}

.tab-button {
  display: inline-block;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.tab-button:hover {
  color: var(--ink);
}

.tab-button[aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.eyebrow {
  display: block;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 90;
    display: block;
    width: 100%;
    background: linear-gradient(180deg, var(--ink), var(--ink-deep));
    padding: 0.5rem clamp(1rem, 4vw, 2rem) 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
  }

  .nav-link {
    display: block;
    padding: 0.8rem 0.75rem;
    border-radius: 0;
    font-size: 1rem;
    border-left: 3px solid transparent;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-link[aria-current="page"] {
    background: rgba(255, 107, 53, 0.15);
    color: #fff;
    border-left-color: var(--accent);
  }

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

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@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;
  }

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

  .nav-toggle-bar {
    transition: none;
  }
}
