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

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

body {
  min-height: 100vh;
  font-family: "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: #111111;
  background: #F7F9FB;
}

ul {
  list-style: none;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 900;
  color: #111111;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

:focus-visible {
  outline: 2px solid #39FF88;
  outline-offset: 3px;
}

::selection {
  background: #39FF88;
  color: #111111;
}

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

  .scroll-progress {
    display: none;
  }
}

:root {
  color-scheme: light;
  --c-deep-space: #0B1B2B;
  --c-fluo: #39FF88;
  --c-silver: #C0C8D0;
  --c-graphite: #111111;
  --c-paper: #F7F9FB;
  --c-data: #00A8FF;
  --c-shadow: #0F2740;
  --c-muted: #5A6B7B;
  --font-display: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  --font-mono: "Roboto Mono", "SFMono", Consolas, monospace;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --content-max: 1440px;
  --z-header: 100;
  --ease-fast: 150ms ease;
  --ease-base: 250ms ease;
}

.skip-link {
  position: absolute;
  top: -200%;
  left: 1rem;
  z-index: calc(var(--z-header) + 10);
  padding: 0.7rem 1.2rem;
  background: #39FF88;
  color: #111111;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 12px rgba(11, 27, 43, 0.3);
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--content-max));
  margin-inline: auto;
}

.content-container {
  max-width: 880px;
  margin-inline: auto;
  padding: var(--space-5) var(--space-3);
}

.site-header {
  position: relative;
  background: var(--c-deep-space);
  color: #F7F9FB;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #39FF88 0 14px,
    #00A8FF 14px 22px,
    #39FF88 22px 36px
  );
}

.header-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 0.75rem 1.5rem 0;
}

.header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(192, 200, 208, 0.2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5A6B7B;
  white-space: nowrap;
}

.meta-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #39FF88;
  box-shadow: 0 0 8px #39FF88;
  vertical-align: middle;
}

.header-masthead {
  padding: 2rem 0 1.2rem;
  text-align: center;
}

.brand-lockup {
  display: inline-block;
}

.brand-main {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #F7F9FB;
}

.brand-asia {
  color: #39FF88;
}

.brand-sub {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: #C0C8D0;
}

.site-nav {
  border-top: 2px solid #39FF88;
  background: rgba(15, 39, 64, 0.65);
}

.nav-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 0 1rem;
}

.nav-toggle {
  display: none;
}

.nav-list {
  display: flex;
  align-items: stretch;
}

.nav-item {
  flex: 1;
}

.nav-link {
  display: block;
  padding: 1rem 0.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: #C0C8D0;
  transition: color 150ms ease, background 150ms ease;
}

.nav-link:hover {
  color: #F7F9FB;
  background: rgba(57, 255, 136, 0.1);
}

.nav-link[aria-current="page"] {
  color: #39FF88;
  box-shadow: inset 0 -3px 0 #39FF88;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: calc(var(--z-header) + 5);
  background: linear-gradient(90deg, #39FF88, #00A8FF);
  pointer-events: none;
}

.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-body);
  color: #39FF88;
  background: #0B1B2B;
  border: 1px solid rgba(192, 200, 208, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease, background 150ms ease;
  z-index: var(--z-header);
}

.scroll-top:hover {
  background: #0F2740;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-icon {
  display: block;
  font-size: 1.1rem;
  line-height: 1;
}

.site-footer {
  background: #111111;
  color: #C0C8D0;
  border-top: 3px solid #39FF88;
}

.footer-stream {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 1.5rem 1.5rem 0;
}

.stream-line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    #5A6B7B 0 6px,
    transparent 6px 12px
  );
}

.stream-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: #5A6B7B;
  white-space: nowrap;
}

.footer-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.footer-brand {
  max-width: 42ch;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: #F7F9FB;
}

.footer-brand-asia {
  color: #39FF88;
}

.footer-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: #5A6B7B;
}

.footer-trust {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #5A6B7B;
}

.footer-heading {
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C0C8D0;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-list li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.9rem;
  color: #C0C8D0;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5A6B7B;
}

.footer-link {
  color: #C0C8D0;
  transition: color 150ms ease, padding-left 150ms ease;
}

.footer-link:hover {
  color: #39FF88;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(192, 200, 208, 0.15);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #5A6B7B;
}

.footer-icp {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #5A6B7B;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  color: #111111;
  background: transparent;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, transparent 8px, #39FF88 0);
  border-color: #39FF88;
}

.btn-primary:hover {
  background: linear-gradient(135deg, transparent 8px, #b8ffd2 0);
  border-color: #b8ffd2;
}

.btn-outline {
  border: 1px solid #00A8FF;
  color: #00A8FF;
}

.btn-outline:hover {
  background: rgba(0, 168, 255, 0.08);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  font-weight: 400;
  color: #5A6B7B;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: #C0C8D0;
}

.breadcrumb a {
  color: #00A8FF;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #F7F9FB;
  border: 1px solid rgba(192, 200, 208, 0.6);
  border-top: 3px solid #C0C8D0;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(11, 27, 43, 0.06);
  transition: box-shadow 250ms ease, transform 250ms ease;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(11, 27, 43, 0.12);
  transform: translateY(-3px);
}

.panel {
  padding: 2rem;
  background: #F7F9FB;
  border: 1px solid rgba(192, 200, 208, 0.6);
}

.panel-dark {
  padding: 2rem;
  background: #0F2740;
  color: #F7F9FB;
}

.panel-cut {
  padding: 2rem;
  background:
    linear-gradient(135deg, transparent 14px, #0B1B2B 0) top left,
    linear-gradient(225deg, transparent 14px, #0B1B2B 0) top right,
    linear-gradient(315deg, transparent 14px, #0B1B2B 0) bottom right,
    linear-gradient(45deg, transparent 14px, #0B1B2B 0) bottom left;
  background-size: 51% 51%;
  background-repeat: no-repeat;
  color: #F7F9FB;
}

.figure-container {
  position: relative;
  overflow: hidden;
  background: #0F2740;
}

.figure-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure-container::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20%;
  height: 3px;
  background: #39FF88;
}

.figure-16x9 {
  aspect-ratio: 16 / 9;
}

.figure-4x3 {
  aspect-ratio: 4 / 3;
}

.figure-1x1 {
  aspect-ratio: 1 / 1;
}

.figure-masthead {
  aspect-ratio: 21 / 9;
}

.figure-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background:
    linear-gradient(45deg, rgba(192, 200, 208, 0.1) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(192, 200, 208, 0.1) 25%, transparent 25%),
    #0B1B2B;
  background-size: 32px 32px;
  background-position: 0 0, 16px 0;
  color: #C0C8D0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #00A8FF;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: #39FF88;
}

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

  .header-masthead {
    padding: 1.5rem 0 1rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(192, 200, 208, 0.35);
    background: transparent;
    cursor: pointer;
  }

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

  .nav-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    margin-top: 0.75rem;
  }

  .site-nav[data-open="true"] .nav-list {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid rgba(192, 200, 208, 0.12);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    padding: 0.9rem 0.25rem;
    text-align: left;
    font-size: 1.05rem;
  }

  .nav-link[aria-current="page"] {
    box-shadow: inset 3px 0 0 #39FF88;
  }
}

@media (max-width: 640px) {
  .header-meta {
    font-size: 0.6rem;
  }

  .brand-main {
    font-size: 2.2rem;
  }

  .brand-sub {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }

  .footer-inner {
    padding: 2rem 1rem 1.5rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .scroll-top {
    width: 38px;
    height: 38px;
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
