:root {
  --ink: #0B2436;
  --ink-deep: #071722;
  --ivory: #F3EFE4;
  --paper: #FFFFFF;
  --gold: #A9843E;
  --gold-soft: #C9AF7E;
  --gold-text: #76591F;
  --slate: #2B363F;
  --silver: #8A949C;
  --silver-text: #66727B;
  --line: #DAD5C8;
  --line-dark: rgba(169, 132, 62, 0.35);
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --latin: Georgia, "Times New Roman", serif;
  --mono: Consolas, "IBM Plex Mono", "JetBrains Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 5px;
}

p,
h1,
h2,
h3,
blockquote {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--gold);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink-deep);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  width: min(100% - 64px, 1440px);
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.wordmark-cn {
  color: var(--paper);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.wordmark-line {
  width: 1px;
  height: 24px;
  background: var(--gold);
}

.wordmark-en {
  color: var(--gold-soft);
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.3em;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-left: auto;
}

.main-nav a {
  color: #A9B7C2;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--paper);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.header-platform {
  color: #7F94A5;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-compact {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 12px;
}

.button-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-deep);
}

.button-gold:hover {
  background: #B18E49;
  border-color: #B18E49;
  color: var(--ink-deep);
}

.button-gold-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-soft);
}

.button-gold-outline:hover {
  background: var(--gold);
  color: var(--paper);
}

.button-dark-outline {
  background: transparent;
  border-color: #526472;
  color: #D3DCE2;
}

.button-dark-outline:hover {
  border-color: var(--gold-soft);
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 32px;
  background: var(--ink-deep);
  color: var(--paper);
  text-align: center;
}

.hero-frame,
.hero-frame-inner {
  position: absolute;
  pointer-events: none;
}

.hero-frame {
  inset: 24px;
  border: 1px solid var(--line-dark);
}

.hero-frame-inner {
  inset: 32px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-content {
  position: relative;
  width: min(100%, 960px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 120px;
  height: auto;
  margin-bottom: 24px;
}

.hero-rule {
  width: 80px;
  height: 1px;
  margin-bottom: 24px;
  background: var(--gold);
}

.hero-kicker,
.ending-kicker {
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1.8;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 16px;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
}

.hero-english,
.ending-english {
  margin-top: 8px;
  color: var(--gold-soft);
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.3em;
  line-height: 1.8;
  text-transform: uppercase;
}

.hero-descriptor {
  margin-top: 32px;
  color: #B8C6D1;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.hero-proof {
  margin-top: 8px;
  color: #7F94A5;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.hero-proof span {
  margin: 0 8px;
  color: var(--gold-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.hero-download-note {
  margin-top: 16px;
  color: #7F94A5;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.section {
  padding: 104px 0;
  scroll-margin-top: 80px;
}

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

.container {
  width: min(100% - 80px, 1180px);
  margin: 0 auto;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-kicker,
.item-kicker,
.item-number {
  color: var(--gold-text);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.section-heading > p:last-child {
  color: var(--slate);
  line-height: 1.95;
}

.section-rule {
  width: 56px;
  height: 1px;
  margin: 24px auto;
  background: var(--gold);
}

.about-intro {
  max-width: 860px;
  margin: 0 auto;
  color: var(--slate);
  text-align: center;
}

.about-intro > p + p {
  margin-top: 16px;
}

.about-intro strong {
  color: var(--ink);
  font-weight: 700;
}

.about-boundary {
  font-size: 12px;
}

.belief-grid,
.capability-grid,
.gate-grid,
.security-grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

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

.belief-item,
.capability-item,
.gate-item,
.engine-item,
.security-item {
  border: 1px solid var(--line);
  background: var(--paper);
}

.belief-item {
  padding: 32px;
}

.belief-item h3,
.capability-item h3,
.gate-item h3,
.engine-item h3,
.security-item h3 {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.belief-item > p:last-child,
.capability-item > p:last-child,
.gate-item > p:last-child,
.engine-item > p:last-child,
.security-item > p:last-child {
  margin-top: 12px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.9;
}

.section-paper .capability-item,
.section-paper .engine-item {
  background: #FBF9F3;
}

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

.capability-item {
  min-height: 248px;
  padding: 32px;
}

.item-number {
  font-size: 12px;
}

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

.gate-item {
  padding: 24px;
}

.principle-band {
  margin-top: 24px;
  padding: 40px 32px;
  background: var(--ink-deep);
  color: var(--paper);
  text-align: center;
}

.principle-band p {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.7;
}

.principle-band footer {
  margin-top: 8px;
  color: #A9B7C2;
  font-size: 12px;
  letter-spacing: 0.12em;
}

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

.engine-item {
  padding: 40px;
}

.execution-principles {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.execution-principles > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.execution-principles span {
  color: var(--gold-text);
  font-family: var(--mono);
  font-size: 12px;
}

.execution-principles p {
  color: var(--slate);
}

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

.security-item {
  padding: 32px;
}

.ending {
  position: relative;
  padding: 96px 32px;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--paper);
  text-align: center;
}

.ending-frame {
  position: absolute;
  inset: 24px;
  border: 1px solid var(--line-dark);
  pointer-events: none;
}

.ending-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ending-logo {
  width: 88px;
  height: auto;
  margin-bottom: 24px;
}

.ending h2 {
  margin-top: 16px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.ending .button {
  margin-top: 32px;
}

.ending-download-meta {
  margin-top: 16px;
  color: #A9B7C2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.checksum-link {
  margin-top: 8px;
  color: #7F94A5;
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: rgba(201, 175, 126, 0.45);
  text-underline-offset: 4px;
}

.checksum-link:hover {
  color: var(--gold-soft);
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--silver-text);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.footer-inner {
  width: min(100% - 80px, 1180px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 24px;
  }

  .main-nav {
    gap: 20px;
  }

  .header-platform {
    display: none;
  }

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

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .belief-grid,
  .capability-grid,
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .belief-item:last-child,
  .security-item:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 72px;
  }

  .header-inner {
    width: calc(100% - 32px);
    min-height: 72px;
    gap: 16px;
  }

  .wordmark {
    gap: 8px;
  }

  .wordmark-cn {
    font-size: 15px;
  }

  .wordmark-en {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .wordmark-line {
    height: 20px;
  }

  .button-compact {
    min-height: 40px;
    padding: 8px 12px;
    letter-spacing: 0;
  }

  .hero {
    min-height: 680px;
    padding: 72px 24px;
  }

  .hero-frame {
    inset: 16px;
  }

  .hero-frame-inner {
    inset: 23px;
  }

  .hero-logo {
    width: 96px;
  }

  .hero-kicker {
    max-width: 280px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    font-size: 40px;
    letter-spacing: 0.1em;
  }

  .hero-english,
  .ending-english {
    max-width: 300px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .hero-descriptor {
    margin-top: 24px;
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .hero-proof {
    letter-spacing: 0.08em;
  }

  .hero-actions {
    width: 100%;
    margin-top: 32px;
  }

  .hero-actions .button {
    width: min(100%, 280px);
  }

  .hero-download-note {
    max-width: 280px;
  }

  .section {
    padding: 80px 0;
    scroll-margin-top: 72px;
  }

  .container,
  .footer-inner {
    width: calc(100% - 48px);
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 28px;
    letter-spacing: 0.06em;
  }

  .belief-grid,
  .capability-grid,
  .gate-grid,
  .engine-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .belief-item:last-child,
  .security-item:last-child {
    grid-column: auto;
  }

  .belief-item,
  .capability-item,
  .security-item,
  .engine-item {
    padding: 24px;
  }

  .capability-item {
    min-height: 0;
  }

  .principle-band {
    padding: 32px 24px;
  }

  .principle-band p {
    font-size: 15px;
  }

  .ending {
    padding: 80px 24px;
  }

  .ending-frame {
    inset: 16px;
  }

  .ending h2 {
    font-size: 28px;
    letter-spacing: 0.1em;
  }

  .ending .button {
    width: min(100%, 280px);
  }

  .ending-download-meta {
    max-width: 280px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .wordmark-line,
  .wordmark-en {
    display: none;
  }

  .hero h1 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
