:root {
  color-scheme: dark;
  --yellow: #f6f138;
  --yellow-soft: #fffba7;
  --ink: #090909;
  --paper: #f7f4e8;
  --white: #ffffff;
  --smoke: #bbb8a4;
  --orange: #ff4f1f;
  --blue: #1b65ff;
  --green: #00c98b;
  --line: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family:
    "Microsoft YaHei", "PingFang SC", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(9, 9, 9, 0.86), rgba(9, 9, 9, 0.44), transparent);
  backdrop-filter: blur(10px);
}

.brand {
  width: clamp(122px, 16vw, 190px);
  padding: 5px 9px;
  background: var(--paper);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 10px 100%);
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 36px);
  font-size: 0.9rem;
  font-weight: 900;
}

nav a {
  position: relative;
  padding: 8px 0;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--yellow);
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

nav a:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 5px;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 24%, rgba(246, 241, 56, 0.22), transparent 30rem),
    linear-gradient(115deg, #090909 0%, #11110d 48%, #201d08 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, transparent 0 45%, rgba(246, 241, 56, 0.95) 45.1% 66%, transparent 66.1%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 68px);
  opacity: 0.95;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 9, 9, 0.95) 0%, rgba(9, 9, 9, 0.64) 46%, rgba(9, 9, 9, 0.08) 100%),
    radial-gradient(circle at 50% 50%, transparent 0 44%, rgba(9, 9, 9, 0.48) 72%, rgba(9, 9, 9, 0.84) 100%);
}

#network-canvas,
.effect-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#network-canvas {
  z-index: 2;
}

.effect-container {
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  padding: clamp(104px, 14vh, 158px) clamp(24px, 5.5vw, 82px) 104px;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(380px, 0.9fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.kicker,
.section-label {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.kicker {
  width: fit-content;
  margin-bottom: 24px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--orange);
}

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

h1 {
  margin-bottom: clamp(24px, 3.2vw, 44px);
  color: var(--yellow);
  font-size: clamp(5.2rem, 13.4vw, 11.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 950;
  text-shadow:
    2px 2px 0 var(--orange),
    5px 5px 0 rgba(255, 255, 255, 0.1);
}

.headline {
  margin-bottom: clamp(22px, 2.6vw, 34px);
  max-width: 10.6em;
  color: var(--white);
  font-size: clamp(2.05rem, 4.05vw, 4.65rem);
  line-height: 1.08;
  font-weight: 950;
}

.hero-text {
  max-width: 640px;
  color: #e4e0c6;
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  line-height: 1.92;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-action,
.secondary-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 950;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 10px 100%);
}

.primary-action {
  color: var(--ink);
  background: var(--yellow);
}

.secondary-action {
  color: var(--paper);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.09);
}

.hero-mark {
  position: relative;
  min-height: min(68vh, 720px);
  display: grid;
  place-items: center;
}

.hero-mark img {
  width: min(100%, 640px);
  transform: rotate(-4deg);
  box-shadow:
    18px 18px 0 rgba(9, 9, 9, 0.95),
    0 0 90px rgba(246, 241, 56, 0.45);
  border: 2px solid var(--ink);
}

.orbit-label {
  position: absolute;
  z-index: 5;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.86rem;
  font-weight: 950;
  box-shadow: 6px 6px 0 var(--ink);
}

.orbit-label-a {
  top: 12%;
  right: 10%;
  background: var(--yellow);
  animation: floatTag 4.6s ease-in-out infinite;
}

.orbit-label-b {
  left: 2%;
  bottom: 24%;
  animation: floatTag 5.4s ease-in-out infinite reverse;
}

.orbit-label-c {
  right: 0;
  bottom: 10%;
  background: #dfffee;
  animation: floatTag 4.9s ease-in-out infinite;
}

.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding-left: 24px;
  color: var(--ink);
  background: var(--yellow);
  border-top: 2px solid var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.9rem);
  white-space: nowrap;
  overflow: hidden;
}

.ticker span {
  display: inline-block;
  animation: tickerSlide 18s linear infinite;
}

.status {
  position: absolute;
  right: 18px;
  top: 88px;
  z-index: 8;
  margin: 0;
  padding: 8px 10px;
  color: var(--yellow);
  background: rgba(9, 9, 9, 0.74);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 900;
}

.model-section,
.sections-band,
.impact-section {
  position: relative;
  padding: clamp(58px, 9vw, 124px) clamp(18px, 5vw, 68px);
}

.model-section {
  color: var(--ink);
  background: var(--paper);
}

.sections-band {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(246, 241, 56, 0.12), transparent 30%),
    var(--ink);
}

.impact-section {
  color: var(--ink);
  background: var(--yellow);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.26fr) minmax(0, 1fr);
  gap: clamp(18px, 5vw, 60px);
  align-items: start;
  margin-bottom: clamp(34px, 6vw, 70px);
}

.section-label {
  color: var(--orange);
}

.sections-band .section-label {
  color: var(--yellow);
}

h2 {
  max-width: 960px;
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5.4vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 950;
}

.model-grid,
.section-list,
.impact-grid {
  display: grid;
  gap: 18px;
}

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

.model-grid article {
  min-height: 330px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--ink);
}

.model-grid article:nth-child(2) {
  transform: translateY(28px);
  background: #fffbbf;
}

.model-grid span {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  font-size: 3rem;
  font-weight: 950;
  border-radius: 50%;
}

.model-grid h3,
.section-list h3 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1;
  font-weight: 950;
}

.model-grid p,
.section-list span {
  margin-bottom: 0;
  color: #5a5748;
  font-size: 1rem;
  line-height: 1.78;
}

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

.section-list article {
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.section-list p {
  margin: 0;
  color: var(--yellow);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 5.8rem;
  line-height: 0.8;
}

.section-list span {
  color: #d4d1bd;
}

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

.impact-grid div {
  min-height: 230px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.impact-grid dt {
  margin-bottom: 18px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.2rem, 6vw, 6.6rem);
  line-height: 0.86;
}

.impact-grid dd {
  margin: 0;
  color: #4f4b36;
  font-weight: 950;
}

@media (max-width: 1020px) {
  .hero-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 112px;
  }

  .hero-mark {
    min-height: 500px;
  }

  .model-grid,
  .section-list,
  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .model-grid article:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 700px) {
  .site-header {
    height: auto;
    min-height: 74px;
    padding-top: 12px;
    padding-bottom: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.82rem;
  }

  .hero-grid {
    padding-top: 132px;
    padding-bottom: 88px;
  }

  h1 {
    font-size: clamp(5rem, 26vw, 8rem);
  }

  .headline {
    max-width: 8.5em;
    font-size: clamp(2.1rem, 12vw, 4rem);
  }

  .hero-mark {
    min-height: 390px;
  }

  .hero-mark img {
    width: 86%;
    box-shadow: 10px 10px 0 rgba(9, 9, 9, 0.95);
  }

  .orbit-label {
    font-size: 0.72rem;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .model-grid,
  .section-list,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .model-grid article,
  .impact-grid div {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .ticker {
    height: 46px;
  }
}

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

  .ticker span,
  .orbit-label {
    animation: none;
  }
}

@keyframes tickerSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-520px);
  }
}

@keyframes floatTag {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  50% {
    transform: translate3d(0, -12px, 0) rotate(1deg);
  }
}
