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

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

body {
  background: #F5F7FA;
  color: #121212;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: 'DIN Alternate', 'Bebas Neue', 'Noto Sans SC', 'PingFang SC', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: #264D7E;
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

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

::selection {
  background: #FF4F1A;
  color: #F5F7FA;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #A3FF12;
  outline-offset: 2px;
}

:root {
  --orange: #FF4F1A;
  --deep: #0A1D3A;
  --lime: #A3FF12;
  --signal: #F5F7FA;
  --ink: #121212;
  --blue: #264D7E;
  --teal: #00C2D7;
  --peach: #FFD1B8;
  --line: #D0D7E2;
  --container: 1240px;
  --font-heading: 'DIN Alternate', 'Bebas Neue', 'Noto Sans SC', 'PingFang SC', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'SF Mono', 'Roboto Mono', ui-monospace, monospace;
}

main {
  display: block;
}

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

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.site-grid,
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: 1 / -1; }

.section {
  padding: clamp(64px, 9vw, 120px) 24px;
}

.section--compact {
  padding: clamp(32px, 5vw, 64px) 24px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.section-index {
  display: inline-block;
  width: fit-content;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--deep);
  background: var(--lime);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--orange);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 16em;
}

.section-desc {
  max-width: 60ch;
  color: rgba(18, 18, 18, 0.75);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button--primary {
  background: var(--orange);
  color: var(--deep);
  border-color: var(--orange);
  box-shadow: 4px 4px 0 var(--deep);
}

.button--primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--deep);
  background: var(--lime);
  border-color: var(--lime);
}

.button--ghost {
  border-color: var(--blue);
  color: var(--deep);
  background: transparent;
}

.button--ghost:hover {
  background: var(--peach);
  border-color: var(--orange);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--orange);
  margin-right: 8px;
}

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

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

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
}

.blueprint-bg {
  background-image:
    linear-gradient(rgba(10, 29, 58, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 29, 58, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--blue);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(10, 29, 58, 0.2);
}

.media-frame--wide {
  aspect-ratio: 16 / 8;
}

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

.media-frame::before {
  content: attr(data-caption);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4px 8px;
  background: rgba(10, 29, 58, 0.85);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  z-index: 2;
}

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

.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  background: linear-gradient(135deg, rgba(0, 194, 215, 0.2), rgba(255, 79, 26, 0.1));
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 600;
  display: inline-block;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(10, 29, 58, 0.25);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.header-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--lime));
  z-index: 260;
  pointer-events: none;
  transition: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 29, 58, 0.96);
  border-bottom-color: rgba(163, 255, 18, 0.45);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime) 30%, transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.header-shell {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #F5F7FA;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--orange);
  color: var(--deep);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  border: 2px solid #F5F7FA;
  box-shadow: 4px 4px 0 var(--lime);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.brand-name span {
  color: var(--lime);
}

.brand-note {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--peach);
}

.site-nav {
  margin-left: auto;
}

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

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 0.875rem;
  color: rgba(245, 247, 250, 0.92);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.nav-link:hover {
  color: #F5F7FA;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  background: var(--lime);
}

.nav-link[aria-current="page"] {
  color: var(--lime);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: var(--orange);
  color: var(--deep);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border: 2px solid var(--orange);
  box-shadow: 4px 4px 0 var(--lime);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.header-action:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--lime);
  background: var(--lime);
  border-color: var(--lime);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(10, 29, 58, 0.35);
  border: 2px solid rgba(245, 247, 250, 0.8);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #F5F7FA;
  transition: transform 0.2s ease, opacity 0.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);
}

.site-footer {
  position: relative;
  margin-top: 80px;
  background: var(--deep);
  color: rgba(245, 247, 250, 0.9);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: repeating-linear-gradient(90deg, var(--orange) 0 24px, transparent 24px 48px, var(--lime) 48px 72px, transparent 72px 96px);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 56px 24px 24px;
}

.footer-brand {
  grid-column: span 5;
}

.footer-links {
  grid-column: span 3;
}

.footer-contact {
  grid-column: span 4;
}

.footer-description {
  margin: 16px 0;
  max-width: 42ch;
  color: rgba(245, 247, 250, 0.7);
}

.footer-trust {
  margin-top: 20px;
  padding: 10px 12px;
  border-left: 4px solid var(--orange);
  background: rgba(38, 77, 126, 0.35);
  color: rgba(245, 247, 250, 0.85);
  font-size: 0.8125rem;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(163, 255, 18, 0.4);
}

.footer-list {
  list-style: none;
}

.footer-list li + li {
  margin-top: 8px;
}

.footer-link {
  position: relative;
  display: inline-block;
  padding-left: 14px;
  color: rgba(245, 247, 250, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-link::before {
  content: "/";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-family: var(--font-mono);
}

.footer-link:hover {
  color: var(--lime);
}

.footer-contact-line {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: rgba(245, 247, 250, 0.8);
}

.contact-label {
  min-width: 3em;
  font-family: var(--font-mono);
  color: var(--teal);
}

.footer-statement {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: calc(100% - 48px);
  max-width: var(--container);
  margin: 0 auto 24px;
  padding: 18px 20px;
  border: 1px solid rgba(163, 255, 18, 0.45);
  background: rgba(38, 77, 126, 0.3);
}

.statement-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(163, 255, 18, 0.2);
}

.footer-statement p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(245, 247, 250, 0.85);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 16px 24px 28px;
  border-top: 1px solid rgba(208, 215, 226, 0.2);
  font-size: 0.8125rem;
  color: rgba(245, 247, 250, 0.65);
}

.footer-copy {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.footer-legal a {
  color: rgba(245, 247, 250, 0.75);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--lime);
}

.footer-sep {
  color: var(--orange);
}

.footer-icp {
  font-family: var(--font-mono);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 180;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--deep);
  font-size: 1.25rem;
  font-weight: 700;
  border: 2px solid var(--deep);
  box-shadow: 6px 6px 0 rgba(10, 29, 58, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--lime);
  color: var(--ink);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

@media (max-width: 1100px) {
  .header-shell {
    padding-right: 20px;
    padding-left: 20px;
  }

  .nav-link {
    padding: 6px 6px;
    font-size: 0.8125rem;
  }

  .header-action {
    padding: 8px 10px;
    font-size: 0.8125rem;
  }
}

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

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(76vw, 300px);
    height: 100vh;
    padding: 96px 24px 24px;
    margin-left: 0;
    background: var(--deep);
    border-left: 4px solid var(--orange);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 120;
  }

  .site-nav[data-open] {
    transform: translateX(0);
    box-shadow: -8px 0 0 rgba(163, 255, 18, 0.4);
  }

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

  .nav-item {
    border-bottom: 1px solid rgba(245, 247, 250, 0.1);
  }

  .nav-link {
    width: 100%;
    min-height: 46px;
    padding: 12px 4px;
    font-size: 1rem;
    color: rgba(245, 247, 250, 0.95);
  }

  .header-action {
    margin-left: auto;
  }

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

  .footer-brand {
    grid-column: span 2;
  }

  .footer-links,
  .footer-contact {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .container,
  .footer-grid,
  .footer-statement,
  .footer-bottom {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .header-shell {
    padding: 10px 16px;
  }

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

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .header-action {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

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

  .footer-brand,
  .footer-links,
  .footer-contact {
    grid-column: span 1;
  }

  .footer-statement {
    flex-direction: column;
    gap: 8px;
  }

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

  .footer-legal {
    margin-left: 0;
  }

  .site-grid,
  .grid-12 {
    grid-template-columns: 1fr;
  }

  .span-3,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8 {
    grid-column: span 12;
  }
}

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

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

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

  .to-top {
    transition: none !important;
  }
}
