:root {
  --ink-900: #041513;
  --ink-800: #0B2A24;
  --cyan: #00F0C8;
  --cyan-dim: #00B89C;
  --orange: #FF8A3D;
  --ice: #DDE6EF;
  --paper: #F7F5EF;
  --mist: #6F8C86;
  --steel: #9AA8A5;
  --rust: #7A4A1F;
  --header-h: 72px;
  --font-display: "Arial Narrow", "Helvetica Neue Condensed", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", Inter, sans-serif;
  --font-data: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shadow-brutal: 10px 10px 0 rgba(0, 0, 0, 0.24);
  --shadow-cyan: 10px 10px 0 rgba(0, 240, 200, 0.16);
  --shadow-orange: 10px 10px 0 rgba(255, 138, 61, 0.22);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink-800);
  color: var(--ice);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--cyan);
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 2px solid var(--ink-900);
  box-shadow: 6px 6px 0 var(--orange);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

.narrow {
  width: min(100%, 760px);
}

.page-top-space {
  padding-top: clamp(96px, 14vw, 160px);
}

.section {
  padding-block: clamp(48px, 8vw, 112px);
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.stack > * + * {
  margin-top: var(--stack, 1.25rem);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cluster-gap, 12px);
  align-items: center;
}

.grid {
  display: grid;
  gap: var(--gap, clamp(18px, 3vw, 32px));
}

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

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

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

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--cyan);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  content: "";
  inline-size: 34px;
  block-size: 2px;
  background: var(--orange);
}

.display-title {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 110px);
  font-weight: 200;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-title {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
  color: var(--ice);
}

.note {
  max-width: 46ch;
  color: var(--mist);
  font-size: 13px;
  line-height: 1.8;
}

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

.index-num {
  color: var(--steel);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid currentColor;
  background: transparent;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
  box-shadow: 6px 6px 0 rgba(255, 138, 61, 0.35);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 rgba(255, 138, 61, 0.35);
}

.btn-secondary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink-900);
  box-shadow: 6px 6px 0 rgba(0, 240, 200, 0.24);
}

.btn-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 rgba(0, 240, 200, 0.24);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(247, 245, 239, 0.42);
  color: var(--paper);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid currentColor;
  background: rgba(0, 240, 200, 0.06);
  color: var(--cyan);
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.tag-hot {
  background: rgba(255, 138, 61, 0.08);
  border-color: var(--orange);
  color: var(--orange);
}

.tag-muted {
  background: transparent;
  border-color: rgba(154, 168, 165, 0.5);
  color: var(--steel);
}

.card,
.panel,
.edge-card {
  position: relative;
  border: 2px solid rgba(0, 240, 200, 0.3);
  background: rgba(221, 230, 239, 0.08);
  color: var(--ice);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-brutal);
}

.edge-card {
  border-color: var(--cyan);
  box-shadow: var(--shadow-orange);
}

.panel--light {
  background: var(--paper);
  border-color: var(--steel);
  color: var(--ink-900);
}

.panel--light .note,
.panel--light .metric-label {
  color: var(--rust);
}

.data-card {
  border: 2px solid var(--ink-900);
  background: var(--ice);
  color: var(--ink-900);
  padding: 18px;
  box-shadow: 8px 8px 0 var(--cyan);
}

.metric {
  display: grid;
  gap: 6px;
}

.metric-label {
  color: var(--mist);
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.metric-value {
  color: var(--ink-900);
  font-family: var(--font-data);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.1;
}

.breadcrumbs {
  margin: 0 0 24px;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.6;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
}

.breadcrumbs a {
  color: var(--ice);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--cyan);
  border-bottom-color: currentColor;
}

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

.toc {
  display: grid;
  gap: 8px;
  list-style: none;
}

.toc a {
  display: block;
  padding-left: 10px;
  border-left: 2px solid transparent;
  color: var(--ice);
  font-size: 14px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.toc a:hover {
  border-left-color: var(--cyan);
  color: var(--cyan);
}

.callout {
  border-left: 4px solid var(--orange);
  background: rgba(255, 138, 61, 0.1);
  color: var(--ice);
  padding: 16px 18px;
}

.quote {
  margin: 0;
  border-left: 4px solid var(--cyan);
  padding-left: 20px;
  color: var(--paper);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 300;
  line-height: 1.5;
}

.divider {
  height: 2px;
  border: 0;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(0, 240, 200, 0.35);
  background: var(--ink-900);
  box-shadow: 12px 12px 0 rgba(4, 21, 19, 0.55);
  aspect-ratio: 16 / 10;
}

.media-frame img,
.media-frame picture,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

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

.media-caption {
  margin-top: 10px;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.7;
}

.timeline {
  display: grid;
  gap: 0;
  list-style: none;
  border-left: 2px solid rgba(0, 240, 200, 0.35);
}

.timeline-item {
  position: relative;
  padding: 0 0 28px 28px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border: 2px solid var(--ink-900);
  box-shadow: 0 0 0 2px var(--orange);
}

.timeline-date {
  color: var(--cyan);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  border: 1px solid rgba(0, 240, 200, 0.32);
  background: rgba(221, 230, 239, 0.06);
}

.accordion-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--paper);
  padding: 16px 18px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.accordion-trigger::after {
  content: "+";
  color: var(--cyan);
  font-family: var(--font-data);
  font-size: 18px;
}

.accordion-trigger[aria-expanded="true"]::after {
  content: "−";
}

.accordion-panel {
  border-top: 1px solid rgba(111, 140, 134, 0.25);
  color: var(--ice);
  padding: 0 18px 18px;
  line-height: 1.8;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(4, 21, 19, 0.94), rgba(4, 21, 19, 0.4) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-solid {
  background: var(--ink-900);
  border-bottom-color: rgba(0, 240, 200, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  width: min(100%, 1320px);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 12px clamp(16px, 4vw, 32px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
}

.brand-mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border: 2px solid var(--cyan);
  background: linear-gradient(135deg, rgba(0, 240, 200, 0.18), transparent);
  box-shadow: 6px 6px 0 rgba(255, 138, 61, 0.22);
  transform: rotate(45deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--orange);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.1;
}

.brand-tagline {
  color: var(--mist);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

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

.brand--footer .brand-tagline {
  color: var(--mist);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.5vw, 28px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 26px);
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  color: rgba(247, 245, 239, 0.78);
  font-size: 13px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transition: right 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--paper);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  right: 0;
}

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

.nav-link[aria-current="page"]::after {
  right: 0;
  background: var(--orange);
}

.nav-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  justify-self: end;
  border: 1px solid rgba(0, 240, 200, 0.5);
  background: transparent;
  color: var(--paper);
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
}

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 20px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
}

.nav-toggle-label {
  font-family: var(--font-data);
}

.header-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
  pointer-events: none;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--cyan);
  background: var(--ink-900);
  color: var(--ice);
  padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 32px) 24px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 240, 200, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 240, 200, 0.35) 1px, transparent 1px);
  background-size: 44px 44px;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(0, 1.6fr) minmax(240px, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  width: min(100%, 1320px);
  margin-inline: auto;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-intro {
  max-width: 32ch;
  margin: 0;
  color: var(--mist);
  line-height: 1.8;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.footer-title {
  margin: 0 0 16px;
  color: var(--cyan);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  color: rgba(221, 230, 239, 0.78);
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--orange);
  border-bottom-color: currentColor;
}

.footer-contact {
  border: 1px solid rgba(0, 240, 200, 0.28);
  background: rgba(221, 230, 239, 0.06);
  padding: 18px;
  box-shadow: 8px 8px 0 rgba(0, 240, 200, 0.08);
}

.contact-line {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--ice);
  font-size: 13px;
  line-height: 1.6;
}

.contact-label {
  color: var(--steel);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-note {
  margin: 16px 0 0;
  border-top: 1px dashed rgba(111, 140, 134, 0.5);
  padding-top: 14px;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.8;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1320px);
  margin: 40px auto 0;
  border-top: 1px solid rgba(111, 140, 134, 0.35);
  padding-top: 18px;
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.footer-meta,
.footer-icp {
  margin: 0;
}

@media (max-width: 980px) {
  :root {
    --header-h: 64px;
  }

  .header-inner {
    grid-template-columns: auto auto;
  }

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

  body.nav-open {
    overflow: hidden;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    border-top: 1px solid rgba(0, 240, 200, 0.35);
    background: var(--ink-900);
    padding: 24px clamp(16px, 5vw, 32px) 40px;
  }

  .site-header[data-open] .primary-nav,
  .primary-nav[data-open] {
    display: flex;
  }

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

  .nav-list li {
    border-bottom: 1px solid rgba(111, 140, 134, 0.25);
  }

  .nav-link {
    display: flex;
    padding: 16px 0;
    color: var(--paper);
    font-size: 16px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    margin-top: 18px;
  }

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

  .footer-contact {
    grid-column: 1 / -1;
  }
}

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1320px);
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .contact-line {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
