@import url('https://db.onlinewebfonts.com/c/0d49fc455f4a8951a42daf952412a713?family=Helvetica+Neue+Regular');

:root {
  color-scheme: dark;
  --surface: #0a0a0a;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.18);
  --paper: rgba(10, 10, 10, 0.66);
  --soft: rgba(10, 10, 10, 0.56);
}

* {
  letter-spacing: 0 !important;
}

html {
  background: #0a0a0a;
}

body {
  color: #ffffff;
  font-family: 'Helvetica Neue Regular', 'Helvetica Neue', Helvetica, Arial, 'PingFang SC',
    'Microsoft YaHei', sans-serif;
  background: #0a0a0a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after,
.ambient-scene,
.ambient-token,
.burst-dot {
  display: none !important;
}

::selection {
  background: rgba(255, 255, 255, 0.2);
}

.cinematic-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #0a0a0a;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.cinematic-backdrop video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  filter: saturate(0.78) contrast(1.08);
}

.cinematic-backdrop::before,
.cinematic-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
}

.cinematic-backdrop::before {
  background: rgba(0, 0, 0, 0.38);
}

.cinematic-backdrop::after {
  box-shadow: inset 0 -280px 220px -120px rgba(0, 0, 0, 0.92);
}

.scroll-progress {
  z-index: 80;
  height: 2px;
  background: #ffffff;
  box-shadow: none;
}

a,
button,
input,
summary {
  outline-color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: 1360px;
  padding: 16px 32px;
}

.brand {
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 3px;
  background: #ffffff;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 6px;
  width: 24px;
  height: 4px;
  border: 0;
  border-radius: 0;
  background: #0a0a0a;
}

.brand-mark::before {
  transform: rotate(48deg);
}

.brand-mark::after {
  inset: auto;
  top: 16px;
  left: 6px;
  transform: rotate(-48deg);
}

.brand strong {
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
}

.brand small {
  color: rgba(255, 255, 255, 0.52);
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.68);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.hero,
.section,
.page-title {
  max-width: 1360px;
  padding-left: 32px;
  padding-right: 32px;
}

.hero {
  min-height: calc(100svh - 69px);
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 64px;
  align-items: end;
  padding-top: 136px;
  padding-bottom: 64px;
}

.eyebrow {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
}

h1,
h2,
h3 {
  color: #ffffff;
}

h1 {
  max-width: 800px;
  font-size: clamp(46px, 6.2vw, 84px);
  font-weight: 600;
  line-height: 1.04;
  text-wrap: balance;
}

h2 {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.08;
}

h3 {
  font-weight: 600;
}

.lead,
.section-header p:last-child,
.card p,
.mini-card span,
details p,
.muted {
  color: rgba(255, 255, 255, 0.64);
}

.lead {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.7;
}

.button {
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  padding: 10px 18px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.24);
  box-shadow: none;
}

.button.primary {
  border-color: #ffffff;
  color: #0a0a0a;
  background: #ffffff;
}

.button:hover,
.filter-button:hover,
.tab-button:hover,
.copy-button:hover {
  box-shadow: none;
}

.hero-visual {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: none;
  animation: none;
  backdrop-filter: blur(8px);
}

.hero-visual img {
  padding: 20px;
  opacity: 0.9;
  filter: invert(1) grayscale(1) contrast(0.9);
}

.hero-visual figcaption {
  border-top-color: rgba(255, 255, 255, 0.16);
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.56);
}

.metrics {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  gap: 0;
}

.metric {
  min-height: 104px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  padding: 18px 18px 12px 0;
  color: #ffffff;
  background: transparent;
}

.metric:last-child {
  border-right: 0;
  padding-left: 18px;
}

.metric:nth-child(2) {
  padding-left: 18px;
}

.metric::before,
.metric::after {
  display: none;
}

.metric strong,
.summary-tile strong,
.activity-time {
  color: #ffffff;
}

.metric small {
  color: rgba(255, 255, 255, 0.5);
}

.signal-rail {
  max-width: 1360px;
  margin-top: 0;
  padding: 0 32px;
}

.signal {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.66);
  background: rgba(0, 0, 0, 0.42);
}

.signal::before {
  background: #ffffff;
  box-shadow: none;
}

.section {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 76px;
  padding-bottom: 76px;
}

.page-title {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding-top: 124px;
  padding-bottom: 48px;
}

.section-header {
  margin-bottom: 28px;
}

.section-header > div {
  max-width: 620px;
}

.section-header p:last-child {
  max-width: 500px;
  line-height: 1.7;
}

.page-title h1 {
  max-width: 960px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.06;
}

.grid.three {
  gap: 28px;
}

.grid.three > .card {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  padding: 22px 0;
  background: transparent;
  backdrop-filter: none;
}

.grid.three > .card:hover {
  transform: none;
}

.card h3,
.resource-card h3,
.mini-card strong {
  font-size: 18px;
  line-height: 1.35;
}

.card p,
.resource-card p,
.activity-item p {
  font-size: 14px;
  line-height: 1.7;
}

.card,
.panel,
.resource-card,
.route-board,
.route-node,
.activity-item,
.mini-card,
.check-item,
.summary-tile,
.status-item,
.host-row,
.table,
details {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: #ffffff;
  background: rgba(8, 8, 8, 0.66);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.panel {
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.card:hover,
.resource-card:hover {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.resource-card.is-expanded {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(20, 20, 20, 0.88);
}

.tag,
.activity-state {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.route-node::before {
  height: 3px;
  border-radius: 0;
  background: #ffffff;
}

.panel-toolbar {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  padding: 16px 0;
  background: transparent;
}

.search,
.filter-button,
.tab-button,
.copy-button {
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.34);
}

.search::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.filter-button[aria-pressed='true'],
.tab-button[aria-selected='true'] {
  border-color: #ffffff;
  color: #0a0a0a;
  background: #ffffff;
}

.resource-meta {
  color: rgba(255, 255, 255, 0.5);
}

.resource-grid {
  padding: 22px 0;
  gap: 16px;
}

.resource-summary {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-tile {
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  padding: 20px;
  background: transparent;
  backdrop-filter: none;
}

.summary-tile:last-child {
  border-right: 0;
}

.feature-strip {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 36px;
}

.route-board,
.feature-strip > .card {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  padding: 24px 0;
  background: transparent;
  backdrop-filter: none;
}

.activity-item {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  padding: 14px 0;
  background: transparent;
  backdrop-filter: none;
}

.activity-item:hover {
  transform: none;
}

.check-dot {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: #ffffff;
}

.bar {
  background: rgba(255, 255, 255, 0.12);
}

.bar span {
  background: #ffffff;
}

input[type='range'] {
  accent-color: #ffffff;
}

.timeline,
.table th,
.table td {
  border-color: rgba(255, 255, 255, 0.16);
}

.timeline-item::before {
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.table th {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  border-top-color: rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(14px);
}

.footer-inner {
  max-width: 1360px;
  color: rgba(255, 255, 255, 0.5);
}

.cinematic-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .cinematic-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .nav {
    gap: 12px;
    padding: 14px 20px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .hero,
  .section,
  .page-title,
  .signal-rail {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 88px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(38px, 11.5vw, 54px);
    line-height: 1.08;
  }

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

  .metric,
  .metric:nth-child(2),
  .metric:last-child {
    min-width: 0;
    padding: 14px 8px;
  }

  .metric strong {
    font-size: 24px;
  }

  .metric span,
  .metric small {
    overflow-wrap: anywhere;
  }

  .page-title {
    min-height: 42vh;
    padding-top: 86px;
  }

  .page-title h1 {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 1.1;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .summary-tile:nth-child(2) {
    border-right: 0;
  }

  .summary-tile:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .cinematic-backdrop video {
    object-position: center center;
  }
}

@media (max-width: 480px) {
  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .metric,
  .metric:nth-child(2),
  .metric:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 0;
    padding: 12px 8px;
  }

  .metric:last-child {
    border-right: 0;
  }

  .metric strong {
    font-size: 21px;
  }

  .metric span {
    font-size: 13px;
  }

  .metric small {
    font-size: 11px;
  }
}
