:root {
  --black: #0a0b0a;
  --coal: #111210;
  --iron: #181915;
  --iron-light: #20211c;
  --line: #37362f;
  --line-soft: #292923;
  --text: #ece8de;
  --muted: #98958b;
  --faint: #646158;
  --gold: #c8a45e;
  --gold-light: #edce87;
  --red: #a1342c;
  --jade: #50b39b;
  --header-height: 72px;
  --container: 1180px;
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--coal);
  color: var(--text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  background: #fff;
  color: #111;
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  background: rgba(10, 11, 10, 0.94);
  border-bottom: 1px solid rgba(200, 164, 94, 0.22);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 48px), 1320px);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-inline: auto;
}

.brand {
  display: block;
  flex: 0 0 172px;
  width: 172px;
}

.brand img {
  width: 100%;
  filter: drop-shadow(0 4px 8px #000);
}

.main-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  display: grid;
  height: 100%;
  padding: 0 16px;
  color: #bbb7ae;
  font-size: 13px;
  place-items: center;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: var(--gold-light);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-download {
  display: grid;
  min-width: 96px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  place-items: center;
  transition: background 180ms ease, color 180ms ease;
}

.header-download:hover,
.header-download:focus-visible {
  background: var(--gold);
  color: #17140e;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--iron);
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

.hero {
  position: relative;
  height: clamp(610px, calc(100svh - 112px), 790px);
  min-height: 610px;
  margin-top: var(--header-height);
  overflow: hidden;
  background-color: #171815;
  background-image: url("assets/hero-six-six.jpg");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 4, 0.31);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(237, 206, 135, 0.44);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  align-items: center;
}

.hero-copy {
  width: min(630px, 57%);
  padding-bottom: 54px;
  text-shadow: 0 3px 18px #000, 0 1px 2px #000;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: #a8a399;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero-eyebrow span {
  padding: 4px 9px;
  border: 1px solid rgba(237, 206, 135, 0.5);
  color: var(--gold-light);
  letter-spacing: 0;
}

.hero h1 {
  width: min(610px, 100%);
  margin: 15px 0 -6px;
}

.hero h1 img {
  width: 100%;
  filter: drop-shadow(0 11px 24px #000);
}

.hero-slogan {
  margin: 0 0 10px 7px;
  color: #fff0cb;
  font: 700 17px/1.6 "STKaiti", "KaiTi", serif;
}

.hero-description {
  max-width: 555px;
  margin: 0 0 0 7px;
  color: #c2beb5;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 27px 0 0 7px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid #c54f45;
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.button-primary {
  background: var(--red);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #bd4238;
  transform: translateY(-2px);
}

.text-link {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero-meta {
  position: absolute;
  bottom: 0;
  left: 24px;
  display: grid;
  width: min(660px, calc(100% - 48px));
  grid-template-columns: repeat(3, 1fr);
  background: rgba(10, 11, 10, 0.85);
  border-top: 1px solid rgba(200, 164, 94, 0.42);
}

.hero-meta > div {
  min-height: 74px;
  padding: 15px 22px;
  border-right: 1px solid rgba(84, 81, 70, 0.72);
}

.hero-meta > div:last-child {
  border-right: 0;
}

.hero-meta small,
.hero-meta strong {
  display: block;
}

.hero-meta small {
  color: #77736a;
  font-size: 9px;
}

.hero-meta strong {
  margin-top: 3px;
  color: #e6e1d7;
  font-size: 13px;
}

.hero-meta .online {
  display: flex;
  align-items: center;
  gap: 8px;
}

.online i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 10px var(--jade);
}

.notice-strip {
  min-height: 46px;
  background: var(--black);
  border-bottom: 1px solid var(--line-soft);
}

.notice-inner {
  display: grid;
  min-height: 46px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px;
  font-size: 12px;
}

.notice-inner > span {
  padding-right: 17px;
  border-right: 1px solid var(--line);
  color: var(--gold-light);
  font-weight: 700;
}

.notice-inner a {
  min-width: 0;
  overflow: hidden;
  color: #aaa69d;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-inner a:hover {
  color: #fff;
}

.notice-inner time {
  color: var(--faint);
  font: 700 12px/1 Georgia, serif;
}

.section {
  padding: 110px 0;
}

.feature-section {
  background: var(--coal);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 100px;
}

.section-intro {
  align-self: start;
}

.section-intro > small,
.section-heading small,
.event-panel header small,
.download-copy > small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.section-intro h2,
.section-heading h2,
.download-copy h2 {
  margin: 14px 0 17px;
  color: var(--text);
  font: 700 clamp(30px, 4vw, 46px)/1.3 "STKaiti", "KaiTi", serif;
}

.section-intro > p,
.section-heading > p,
.download-copy > p {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.version-stamp {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
  color: #817d74;
  font-size: 11px;
}

.version-stamp img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  opacity: 0.8;
}

.version-stamp b {
  color: #c7c2b7;
  font-size: 12px;
}

.feature-rows {
  border-top: 1px solid #6d5d40;
}

.feature-rows article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, background 180ms ease;
}

.feature-rows article:hover {
  padding-right: 16px;
  padding-left: 16px;
  background: #171814;
}

.feature-rows article > span {
  color: var(--faint);
  font: 700 14px/1.5 Georgia, serif;
}

.feature-rows small {
  color: var(--jade);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.feature-rows h3 {
  margin: 2px 0 5px;
  font-size: 18px;
}

.feature-rows p {
  margin: 0;
  color: #99958c;
  font-size: 12px;
}

.system-band {
  background: var(--iron-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.system-grid article {
  min-height: 190px;
  padding: 37px 38px;
  border-left: 1px solid var(--line);
}

.system-grid article:last-child {
  border-right: 1px solid var(--line);
}

.system-grid small {
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
}

.system-grid h3 {
  margin: 23px 0 8px;
  font-size: 17px;
}

.system-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.journey-section {
  background: #151612;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  padding-bottom: 8px;
  text-align: right;
}

.journey-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #6d5d40;
  border-bottom: 1px solid var(--line);
}

.journey-track li {
  position: relative;
  min-height: 218px;
  padding: 27px 24px;
  border-left: 1px solid var(--line);
}

.journey-track li:last-child {
  border-right: 1px solid var(--line);
}

.journey-track li::before {
  position: absolute;
  top: -4px;
  left: 24px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.journey-track li > b {
  color: var(--red);
  font: 700 13px/1 Georgia, serif;
}

.journey-track div {
  display: flex;
  height: 140px;
  flex-direction: column;
  justify-content: flex-end;
}

.journey-track small {
  color: var(--faint);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.journey-track strong {
  margin-top: 6px;
  font-size: 16px;
}

.journey-track span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.intelligence-section {
  background: var(--coal);
  border-top: 1px solid var(--line-soft);
}

.segmented-control {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.segmented-control button {
  min-width: 58px;
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  background: transparent;
  color: #79766e;
  cursor: pointer;
  font-size: 11px;
}

.segmented-control button.active,
.segmented-control button:hover,
.segmented-control button:focus-visible {
  color: var(--gold-light);
}

.segmented-control button.active {
  border-bottom: 2px solid var(--gold);
}

.intelligence-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.55fr);
  gap: 78px;
}

.news-list {
  border-top: 1px solid #6d5d40;
}

.news-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 26px;
  gap: 22px;
  align-items: center;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}

.news-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.news-meta span {
  color: var(--jade);
  font-size: 9px;
  font-weight: 700;
}

.news-meta time {
  color: var(--faint);
  font: 700 16px/1 Georgia, serif;
}

.news-item h3 {
  margin: 0 0 5px;
  color: #ddd9d0;
  font-size: 14px;
}

.news-item p {
  margin: 0;
  overflow: hidden;
  color: #79766e;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-item > b {
  color: #57544d;
  font-size: 17px;
  font-weight: 400;
}

.news-empty {
  padding: 42px 0;
  color: var(--muted);
}

.event-panel {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.event-panel header {
  padding-bottom: 18px;
  border-bottom: 1px solid #6d5d40;
}

.event-panel h3 {
  margin: 6px 0 0;
  font: 700 24px/1.3 "STKaiti", "KaiTi", serif;
}

.event-list article {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.event-list time {
  color: var(--gold-light);
  font-size: 10px;
}

.event-list div {
  display: flex;
  flex-direction: column;
}

.event-list strong {
  font-size: 13px;
}

.event-list span {
  margin-top: 2px;
  color: #79766e;
  font-size: 10px;
}

.event-panel > p {
  margin: 18px 0 0;
  color: #5f5c54;
  font-size: 9px;
}

.download-section {
  padding: 104px 0;
  background: var(--black);
  border-top: 1px solid var(--line);
}

.download-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(480px, 1.1fr);
  gap: 100px;
  align-items: center;
}

.download-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  color: #77746c;
  font-size: 10px;
}

.download-options {
  border-top: 1px solid #6d5d40;
}

.download-options button {
  display: grid;
  width: 100%;
  min-height: 82px;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: padding 180ms ease, background 180ms ease;
}

.download-options button:hover,
.download-options button:focus-visible {
  padding-right: 14px;
  padding-left: 14px;
  background: #141512;
}

.download-options span {
  display: flex;
  flex-direction: column;
}

.download-options b {
  font-size: 14px;
}

.download-options small {
  margin-top: 2px;
  color: #77746c;
  font-size: 10px;
}

.download-options i {
  color: var(--red);
  font: 700 12px/1 Georgia, serif;
  font-style: normal;
}

.site-footer {
  padding: 34px 0;
  background: #070807;
  border-top: 1px solid #25251f;
}

.footer-inner {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px 45px;
  align-items: center;
}

.footer-inner > img {
  width: 165px;
}

.footer-contact {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  color: #67645d;
  font-size: 10px;
}

.footer-contact strong {
  color: #aaa69d;
}

.footer-inner > p {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 17px;
  border-top: 1px solid #22221d;
  color: #4d4b45;
  font-size: 9px;
}

.mobile-download {
  display: none;
}

.toast {
  position: fixed;
  z-index: 500;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100% - 40px));
  padding: 13px 17px;
  border: 1px solid #62553c;
  border-radius: 2px;
  background: #20211c;
  color: #eee9de;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.54);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .main-nav a {
    padding-inline: 11px;
  }

  .main-nav a::after {
    right: 11px;
    left: 11px;
  }

  .feature-layout,
  .download-inner {
    gap: 58px;
  }

  .journey-track li {
    padding-inline: 17px;
  }

  .intelligence-layout {
    gap: 46px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 64px;
  }

  .header-inner {
    width: min(calc(100% - 30px), 1320px);
  }

  .brand {
    flex-basis: 154px;
    width: 154px;
  }

  .main-nav {
    position: fixed;
    z-index: 120;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    height: auto;
    padding: 20px;
    background: #0d0e0c;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a {
    width: 100%;
    height: 58px;
    justify-content: start;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .main-nav a::after {
    display: none;
  }

  .header-download {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    height: min(680px, calc(100svh - 102px));
    min-height: 580px;
    background-position: 64% center;
  }

  .hero-overlay {
    background: rgba(3, 4, 4, 0.51);
  }

  .hero-copy {
    width: min(620px, 82%);
  }

  .feature-layout,
  .download-inner {
    grid-template-columns: 1fr;
  }

  .section-intro h2 br {
    display: none;
  }

  .version-stamp {
    margin-top: 27px;
  }

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

  .system-grid article {
    min-height: auto;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .system-grid article:last-child {
    border-bottom: 0;
  }

  .journey-track {
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    overflow-x: auto;
  }

  .intelligence-layout {
    grid-template-columns: 1fr;
  }

  .event-panel {
    padding: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .brand {
    flex-basis: 142px;
    width: 142px;
  }

  .hero {
    height: calc(100svh - 102px);
    min-height: 560px;
    max-height: 690px;
    background-position: 69% center;
  }

  .hero-overlay {
    background: rgba(3, 4, 4, 0.61);
  }

  .hero-copy {
    width: 100%;
    padding-bottom: 72px;
  }

  .hero-eyebrow {
    gap: 10px;
    font-size: 8px;
  }

  .hero h1 {
    width: min(520px, 100%);
    margin-top: 12px;
  }

  .hero-slogan {
    margin-left: 3px;
    font-size: 15px;
  }

  .hero-description {
    max-width: 94%;
    margin-left: 3px;
    font-size: 12px;
  }

  .hero-actions {
    gap: 18px;
    margin: 21px 0 0 3px;
  }

  .button {
    min-height: 42px;
    padding: 0 16px;
    font-size: 12px;
  }

  .hero-meta {
    left: 15px;
    width: calc(100% - 30px);
  }

  .hero-meta > div {
    min-height: 62px;
    padding: 11px 10px;
  }

  .hero-meta small {
    font-size: 8px;
  }

  .hero-meta strong {
    font-size: 11px;
  }

  .notice-inner {
    grid-template-columns: auto 1fr;
    gap: 11px;
  }

  .notice-inner time {
    display: none;
  }

  .notice-inner > span {
    padding-right: 11px;
  }

  .section {
    padding: 76px 0;
  }

  .feature-layout {
    gap: 46px;
  }

  .section-intro h2,
  .section-heading h2,
  .download-copy h2 {
    font-size: 30px;
  }

  .feature-rows article {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .feature-rows article:hover {
    padding-right: 7px;
    padding-left: 7px;
  }

  .system-grid article {
    padding: 27px 24px;
  }

  .system-grid h3 {
    margin-top: 15px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
  }

  .section-heading > p {
    padding: 0;
    text-align: left;
  }

  .segmented-control {
    width: 100%;
  }

  .segmented-control button {
    min-width: 0;
    flex: 1;
  }

  .news-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    min-height: 96px;
  }

  .news-item > b {
    display: none;
  }

  .news-item p {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .download-section {
    padding: 78px 0 96px;
  }

  .download-inner {
    gap: 44px;
  }

  .download-facts {
    flex-direction: column;
    gap: 4px;
  }

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

  .footer-inner > img {
    width: 150px;
  }

  .footer-contact {
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
  }

  .mobile-download {
    position: fixed;
    z-index: 80;
    right: 14px;
    bottom: 14px;
    display: block;
  }

  .mobile-download a {
    display: grid;
    min-width: 92px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #c85147;
    border-radius: 2px;
    background: var(--red);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.48);
    font-size: 11px;
    font-weight: 700;
    place-items: center;
  }

  .toast {
    right: 14px;
    bottom: 64px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
