:root {
  --c-deep: #0F1B2E;
  --c-green: #39FF14;
  --c-orange: #FF6A00;
  --c-white: #FFFFFF;
  --c-fog: #E8F0F8;
  --c-teal: #0A3D3F;
  --c-wine: #7B1E3F;
  --c-indigo: #3F51B5;
  --c-text: #1F2937;
  --c-muted: #6B7280;
  --c-border: rgba(15, 27, 46, 0.12);
  --font-heading: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Open Sans", "Noto Sans SC", Arial, sans-serif;
  --font-mono: "Roboto Mono", SFMono-Regular, monospace;
  --fs-h1: clamp(2.1rem, 5vw, 2.5rem);
  --fs-h2: clamp(1.5rem, 3.5vw, 1.8rem);
  --fs-h3: 1.3rem;
  --fs-body: 1rem;
  --fs-caption: 0.875rem;
  --space-section: clamp(4.5rem, 10vw, 8rem);
  --space-panel: clamp(1.75rem, 4vw, 3.5rem);
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow-float: 0 14px 40px rgba(15, 27, 46, 0.18);
  --shadow-capsule: 0 10px 30px rgba(15, 27, 46, 0.36);
  --container-w: 1216px;
  --header-h: 72px;
}

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

* {
  margin: 0;
}

html {
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding-top: calc(var(--header-h) + 28px);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  background: var(--c-white);
  color: var(--c-text);
}

#main-content {
  flex: 1 0 auto;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-deep);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--c-green);
  color: var(--c-deep);
}

:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--c-deep);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - clamp(1.5rem, 6vw, 4rem), var(--container-w));
  margin-inline: auto;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-green) 0%, var(--c-orange) 100%);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.7);
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--c-deep);
  color: var(--c-white);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(calc(-100% - 24px));
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  padding: 14px clamp(16px, 4vw, 40px);
  pointer-events: none;
}

.nav-capsule {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(100%, 1256px);
  padding: 9px 10px 9px 18px;
  background: linear-gradient(125deg, rgba(63, 81, 181, 0.96) 0%, rgba(15, 27, 46, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: var(--shadow-capsule), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-white);
  text-decoration: none;
  white-space: nowrap;
}

.brand__logo {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 3px 6px rgba(15, 27, 46, 0.35));
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  bottom: -6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links__link {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links__link:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-links__link[aria-current="page"] {
  color: var(--c-deep);
  background: var(--c-green);
}

.nav-panel__meta {
  display: none;
}

.mobile-dock {
  display: none;
}

.site-footer {
  position: relative;
  margin-top: var(--space-section);
  background: linear-gradient(150deg, var(--c-deep) 0%, var(--c-teal) 140%);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.footer__accent {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--c-green) 0 10px,
    var(--c-deep) 10px 20px,
    var(--c-orange) 20px 30px,
    var(--c-deep) 30px 40px
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 4rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2.5rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-white);
  text-decoration: none;
}

.footer__logo {
  width: 46px;
  height: 46px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
}

.footer__tagline {
  color: var(--c-green);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer__trust {
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col-title {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--c-white);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__links a:hover {
  color: var(--c-green);
  padding-left: 4px;
}

.footer__links--plain {
  color: rgba(255, 255, 255, 0.68);
}

.footer__note {
  margin-top: 4px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--c-green);
  border-radius: 0 10px 10px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.8rem;
}

.footer__copy,
.footer__icp {
  margin: 0;
}

.section-panel {
  margin: var(--space-panel) 0;
  padding: var(--space-panel);
  background: var(--c-fog);
  border: 1px solid rgba(15, 27, 46, 0.06);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-float);
}

.section-panel--cut {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 2rem, 100% 100%, 0 100%);
}

.panel--deep {
  background: linear-gradient(140deg, var(--c-deep) 0%, #16283f 100%);
  color: var(--c-white);
}

.panel--teal {
  background: linear-gradient(140deg, var(--c-teal) 0%, #0e4a4c 100%);
  color: var(--c-white);
}

.panel--wine {
  background: linear-gradient(140deg, var(--c-wine) 0%, #57152c 100%);
  color: var(--c-white);
}

.panel--indigo {
  background: linear-gradient(140deg, var(--c-indigo) 0%, #25347a 100%);
  color: var(--c-white);
}

.panel--deep h1,
.panel--deep h2,
.panel--deep h3,
.panel--teal h1,
.panel--teal h2,
.panel--teal h3,
.panel--wine h1,
.panel--wine h2,
.panel--wine h3,
.panel--indigo h1,
.panel--indigo h2,
.panel--indigo h3 {
  color: var(--c-white);
}

.panel--deep .section-desc,
.panel--teal .section-desc,
.panel--wine .section-desc,
.panel--indigo .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.tracks {
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 16px);
}

.section-heading {
  max-width: 60ch;
  margin-bottom: 2rem;
}

.over-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--c-orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.over-label::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--c-green);
  transform: skewX(-30deg);
}

.section-title {
  font-size: var(--fs-h2);
}

.section-desc {
  margin-top: 8px;
  color: var(--c-muted);
  line-height: 1.7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 3vw, 1.75rem);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 1.25rem;
  background: var(--c-white);
  border: 1px solid rgba(15, 27, 46, 0.08);
  border-radius: var(--radius-m);
  box-shadow: 0 4px 14px rgba(15, 27, 46, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card__title {
  font-size: 1.05rem;
}

.card__data {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-deep);
  font-variant-numeric: tabular-nums;
}

.card__meta {
  color: var(--c-muted);
  font-size: var(--fs-caption);
}

.card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn--primary {
  background: var(--c-green);
  color: var(--c-deep);
  box-shadow: 0 6px 20px rgba(57, 255, 20, 0.28);
}

.btn--primary:hover {
  background: #5dff40;
}

.btn--ghost {
  background: transparent;
  color: var(--c-deep);
  border-color: var(--c-deep);
}

.btn--ghost:hover {
  background: var(--c-deep);
  color: var(--c-white);
}

.btn--light {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(15, 27, 46, 0.08);
  color: var(--c-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tag--green {
  background: rgba(57, 255, 20, 0.16);
  color: #165f08;
}

.tag--orange {
  background: rgba(255, 106, 0, 0.14);
  color: #a84a00;
}

.tag--wine {
  background: rgba(123, 30, 63, 0.12);
  color: var(--c-wine);
}

.data-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.divider-line {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-green) 0%, var(--c-orange) 60%, transparent 100%);
}

.motion-track {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(-65deg, var(--c-green) 0 8px, transparent 8px 16px);
  opacity: 0.85;
}

.media-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--c-fog);
  border-radius: var(--radius-m);
  overflow: hidden;
}

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

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

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame--cut {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), calc(100% - 1.5rem) 100%, 0 100%);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  padding: 10px 12px;
  background: var(--c-deep);
  color: var(--c-white);
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: left;
}

.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 27, 46, 0.08);
}

.data-table tbody tr:hover {
  background: rgba(57, 255, 20, 0.06);
}

.data-table .data-num {
  font-size: 1rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.75rem;
}

.filter-btn {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 16px;
  border: 1px solid rgba(15, 27, 46, 0.18);
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-deep);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--c-deep);
  transform: translateY(-1px);
}

.filter-btn[aria-pressed="true"] {
  background: var(--c-deep);
  border-color: var(--c-deep);
  color: var(--c-green);
}

[data-filter-item] {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

[data-filter-item][data-hidden="true"] {
  display: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--c-muted);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.breadcrumbs a {
  color: var(--c-deep);
  font-weight: 600;
  text-decoration: none;
}

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

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-enabled [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

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

@media (max-width: 1023px) {
  body {
    padding-top: 88px;
  }

  .nav-capsule {
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: linear-gradient(155deg, rgba(15, 27, 46, 0.98) 0%, rgba(63, 81, 181, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    box-shadow: var(--shadow-capsule);
  }

  .nav-panel[data-open] {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .nav-links__link {
    padding: 13px 12px;
    text-align: center;
    font-size: 1rem;
  }

  .nav-links__link[aria-current="page"] {
    background: rgba(57, 255, 20, 0.14);
    color: var(--c-green);
  }

  .nav-panel__meta {
    display: block;
    margin-top: 10px;
    padding: 12px 14px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    text-align: center;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(54px + env(safe-area-inset-bottom));
  }

  .mobile-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 75;
    display: flex;
    background: rgba(15, 27, 46, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-dock__link {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 2px calc(8px + env(safe-area-inset-bottom));
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    border-top: 2px solid transparent;
  }

  .mobile-dock__link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.8;
  }

  .mobile-dock__link:hover {
    color: var(--c-white);
  }

  .mobile-dock__link[aria-current="page"] {
    color: var(--c-green);
    border-top-color: var(--c-green);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .footer__bottom {
    align-items: flex-start;
  }
}

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

  .progress-bar {
    display: none;
  }

  .js-enabled [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
