:root {
  --ink: #071b12;
  --ink-2: #123323;
  --deep: #06130d;
  --paper: #eafff4;
  --paper-2: #f8fff9;
  --line: rgba(7, 27, 18, 0.18);
  --line-strong: rgba(7, 27, 18, 0.72);
  --green: #05a85c;
  --green-hot: #42ff9f;
  --leaf: #baff4a;
  --white: #f5fff8;
  --muted: #547064;
  --max: 1180px;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px, 34px 34px, auto;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(7, 27, 18, 0.16);
  background: rgba(234, 255, 244, 0.9);
  backdrop-filter: blur(14px);
}

.nav,
.section,
.footer-inner,
.admin-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  clip-path: polygon(50% 0, 94% 24%, 94% 75%, 50% 100%, 6% 75%, 6% 24%);
  font-size: 18px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-2);
  font-size: 14px;
}

.domain-pill,
.pill {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.44);
}

.hero {
  min-height: calc(88svh - 72px);
  padding: 72px 0 32px;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.78fr);
  gap: 76px;
  align-items: center;
}

.overline,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 900;
}

.overline::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--green);
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  font-size: 96px;
}

h2 {
  font-size: 62px;
}

.hero-copy p,
.lead {
  max-width: 620px;
  color: var(--ink-2);
  font-size: 21px;
  line-height: 1.75;
  text-wrap: pretty;
}

.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink);
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.hero-symbol {
  min-height: 430px;
  display: grid;
  place-items: center;
}

.circuit-card {
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    rgba(255, 255, 255, 0.34);
  background-size: 30px 30px;
}

.hex-core {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 94% 24%, 94% 75%, 50% 100%, 6% 75%, 6% 24%);
  background: var(--green);
  color: var(--paper);
  font-size: 72px;
  font-weight: 900;
  box-shadow: 0 0 0 16px rgba(5, 168, 92, 0.08);
}

.circuit-line {
  position: absolute;
  background: var(--ink);
  opacity: 0.82;
}

.line-a {
  width: 118px;
  height: 2px;
  left: 24px;
  top: 96px;
}

.line-b {
  width: 104px;
  height: 2px;
  right: 20px;
  bottom: 118px;
}

.line-c {
  width: 2px;
  height: 98px;
  right: 92px;
  top: 26px;
}

.node {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--ink);
}

.node.one {
  left: 136px;
  top: 90px;
}

.node.two {
  right: 116px;
  bottom: 112px;
  background: var(--green);
}

.node.three {
  right: 86px;
  top: 124px;
}

.ecosystem-wrap {
  background: var(--deep);
  color: var(--white);
  border-top: 1px solid rgba(66, 255, 159, 0.28);
  border-bottom: 1px solid rgba(66, 255, 159, 0.28);
}

.ecosystem,
.launch {
  padding: 96px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 70px;
  align-items: center;
}

.ecosystem .section-kicker,
.ecosystem-wrap .section-kicker {
  color: var(--green-hot);
}

.ecosystem p {
  color: rgba(245, 255, 248, 0.78);
  font-size: 17px;
  line-height: 1.8;
  max-width: 560px;
}

.map {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(66, 255, 159, 0.38);
  background: radial-gradient(rgba(66, 255, 159, 0.48) 1px, transparent 1px);
  background-size: 30px 30px;
  overflow: hidden;
}

.map::before,
.map::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(66, 255, 159, 0.24);
  border-radius: 50%;
  inset: 12%;
}

.map::after {
  inset: 26%;
}

.product-node {
  position: absolute;
  width: 160px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(66, 255, 159, 0.72);
  background: rgba(6, 19, 13, 0.86);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.product-node strong {
  font-size: 16px;
}

.product-node span {
  color: rgba(245, 255, 248, 0.68);
  font-size: 12px;
  line-height: 1.4;
}

.product-node.main {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--green-hot);
  color: var(--deep);
  border-color: var(--green-hot);
  font-weight: 900;
  z-index: 2;
}

.product-node.main span {
  color: rgba(6, 19, 13, 0.72);
}

.node-a {
  left: 8%;
  top: 12%;
}

.node-b {
  right: 8%;
  top: 16%;
}

.node-c {
  left: 12%;
  bottom: 10%;
}

.node-d {
  right: 10%;
  bottom: 12%;
}

.principles {
  padding: 96px 0;
}

.principle-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 42px;
}

.principle-head p,
.launch p {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.8;
  max-width: 560px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.principle {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.34);
}

.principle strong {
  display: block;
  font-size: 22px;
  margin-bottom: 58px;
}

.principle p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

.launch-wrap {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.launch {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  align-items: start;
}

.timeline {
  border-left: 2px solid var(--ink);
  padding-left: 22px;
}

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

.timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--green);
  border: 2px solid var(--ink);
}

.timeline-item strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.timeline-item span {
  color: var(--muted);
  line-height: 1.7;
  display: block;
}

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 38px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer a {
  color: var(--green-hot);
}

.admin-body {
  background: var(--deep);
  color: var(--white);
}

.admin-shell {
  padding: 38px 0 80px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-panel {
  border: 1px solid rgba(66, 255, 159, 0.36);
  background: rgba(234, 255, 244, 0.06);
  padding: 24px;
  margin-bottom: 18px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(66, 255, 159, 0.4);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
  border-radius: 0;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.notice {
  border: 1px solid var(--green-hot);
  background: rgba(66, 255, 159, 0.12);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.login-card {
  width: min(460px, calc(100% - 32px));
  margin: 10vh auto;
}

@media (max-width: 860px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: 68px;
  }

  h2 {
    font-size: 48px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
    padding: 32px 0 24px;
  }

  .hero-grid,
  .ecosystem,
  .launch,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-symbol {
    min-height: 190px;
  }

  .circuit-card {
    width: min(100%, 218px);
  }

  .hex-core {
    width: 94px;
    height: 94px;
    font-size: 40px;
  }

  .principle-head {
    display: block;
  }

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

@media (max-width: 540px) {
  body {
    background-size: 26px 26px, 26px 26px, auto;
  }

  .nav,
  .section,
  .footer-inner,
  .admin-shell {
    width: min(100% - 24px, var(--max));
  }

  .domain-pill {
    display: none;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .map {
    min-height: 560px;
  }

  .product-node {
    width: 148px;
  }

  .node-a {
    left: 6%;
    top: 7%;
  }

  .node-b {
    right: 6%;
    top: 27%;
  }

  .node-c {
    left: 6%;
    bottom: 26%;
  }

  .node-d {
    right: 6%;
    bottom: 6%;
  }
}

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