:root {
  --brand: #b6202a;
  --brand-dark: #87151d;
  --ink: #201d1d;
  --muted: #666061;
  --line: #ded8d2;
  --paper: #ffffff;
  --canvas: #f5f2ee;
  --soft-red: #fbf1f1;
  --shadow: 0 18px 48px rgba(50, 35, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 6px;
  transform: translateY(-160%);
}

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

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-logo {
  width: min(660px, 72%);
  height: auto;
}

.brand-name {
  flex: 0 0 auto;
  padding-left: 24px;
  color: var(--brand-dark);
  border-left: 1px solid var(--line);
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

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

.header-login {
  min-height: 42px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 7px;
  font-weight: 700;
  text-decoration: none;
}

.header-login:hover {
  background: var(--brand-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 72px 80px;
  text-align: center;
}

.hero-copy {
  max-width: 980px;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero-copy h1 {
  max-width: none;
}

.hero-lead {
  max-width: 900px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.95;
  text-align: left;
}

.platform-benefits {
  padding-block: 72px;
  background: #fff;
}

.benefits-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.benefits-heading .section-kicker {
  color: var(--brand);
}

.benefits-heading h2 {
  margin: 0;
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.3;
}

.platform-facts {
  margin: 0 0 72px;
  padding-block: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
  background: var(--brand-dark);
}

.platform-facts div {
  padding-inline: 28px;
  text-align: center;
}

.platform-facts div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.platform-facts dd {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}

.platform-facts dt {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.benefit-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 760px);
  justify-content: space-between;
  gap: 80px;
}

.benefit-nav {
  position: sticky;
  top: 24px;
  align-self: start;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.benefit-nav a {
  padding: 16px 4px;
  color: #5f5859;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-decoration: none;
}

.benefit-nav a::after {
  content: " →";
  color: var(--brand);
}

.benefit-nav a:hover,
.benefit-nav a:focus-visible {
  color: var(--brand-dark);
}

.benefit-feature {
  scroll-margin-top: 24px;
  padding-bottom: 56px;
}

.benefit-feature + .benefit-feature {
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.benefit-label {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.benefit-feature h3 {
  margin: 0 0 20px;
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.25;
}

.benefit-feature > p:last-child {
  margin: 0;
  color: #4e4849;
  font-size: 17px;
  line-height: 2;
}

.platform-reach {
  margin: 16px 0 0;
  padding: 28px 0 0 260px;
  color: var(--brand-dark);
  border-top: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 600;
}

.credential-section {
  padding-block: 72px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credential-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.credential-heading .section-kicker {
  color: var(--brand);
}

.credential-heading h2 {
  margin: 0;
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.3;
}

.credential-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.credential-card {
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.credential-card a {
  display: block;
  border-radius: 7px;
  overflow: hidden;
}

.credential-card img {
  width: 100%;
  height: auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0 auto;
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.document-number {
  display: inline-block;
  margin: 24px 0 0;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 17px;
  letter-spacing: 0.08em;
}

.document-meta {
  width: min(820px, 100%);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.09);
}

.document-meta div {
  padding: 18px 22px;
}

.document-meta div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.document-meta dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.document-meta dd {
  margin: 3px 0 0;
  font-weight: 600;
}

.download-button {
  min-height: 48px;
  margin-top: 34px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--brand-dark);
  background: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.download-button:hover {
  color: #fff;
  background: transparent;
}

.download-button:focus-visible,
.document-page a:focus-visible,
.header-login:focus-visible,
.login-submit:focus-visible,
.login-field input:focus-visible {
  outline: 3px solid #f5c36a;
  outline-offset: 4px;
}

.login-section {
  padding-block: 72px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  align-items: center;
  gap: 72px;
}

.login-intro .section-kicker {
  color: var(--brand);
}

.login-intro h2 {
  margin: 0;
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.3;
}

.login-intro > p:not(.section-kicker) {
  max-width: 580px;
  margin: 16px 0 0;
  color: var(--muted);
}

.login-points {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.login-points li {
  position: relative;
  padding-left: 27px;
}

.login-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 800;
}

.login-card {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.login-card-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-family: "STSong", "SimSun", serif;
  font-size: 23px;
  font-weight: 700;
}

.login-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.login-card-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.login-field {
  margin-top: 18px;
  display: grid;
  gap: 7px;
  color: #403a3b;
  font-size: 14px;
  font-weight: 700;
}

.login-field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfc7c2;
  border-radius: 7px;
  font: inherit;
  font-weight: 400;
}

.login-field input:focus {
  border-color: var(--brand);
}

.login-links {
  margin-top: 13px;
  display: flex;
  justify-content: space-between;
  color: var(--brand-dark);
  font-size: 14px;
}

.login-message {
  min-height: 24px;
  margin: 13px 0 0;
  color: var(--brand-dark);
  font-size: 14px;
}

.login-message.is-success {
  color: #176b3a;
}

.login-submit {
  width: 100%;
  min-height: 50px;
  padding: 11px 20px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 7px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.login-submit:hover {
  background: var(--brand-dark);
}

.login-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.document-section {
  padding-block: 72px 88px;
}

.document-shell {
  width: min(980px, calc(100% - 48px));
}

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

.section-kicker {
  color: var(--brand);
}

.section-heading h2 {
  margin: 0;
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.3;
}

.section-heading .section-description {
  margin: 12px 0 0;
  color: var(--muted);
}

.document-page {
  margin: 0 0 48px;
}

.document-page figcaption {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 4px 12px;
  color: var(--brand-dark);
  background: var(--soft-red);
  border: 1px solid #ead1d3;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.document-page a {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.document-page img {
  width: 100%;
  height: auto;
}

.site-footer {
  color: #ede8e8;
  background: #251f20;
  border-top: 4px solid var(--brand);
}

.footer-inner {
  min-height: 126px;
  padding-block: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p + p::before {
  content: "\00b7";
  margin-right: 32px;
  color: #a99598;
}

.footer-inner a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-color: #a99598;
}

.footer-inner a:hover {
  color: #ffffff;
  text-decoration-color: currentColor;
}

.footer-inner a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 5px;
  border-radius: 2px;
}

@media (max-width: 760px) {
  .shell,
  .document-shell {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 88px;
    justify-content: space-between;
    gap: 12px;
  }

  .brand-logo {
    width: min(72%, 260px);
    min-width: 0;
  }

  .brand-name {
    display: none;
  }

  .header-actions {
    flex: 0 0 auto;
  }

  .header-login {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .hero-inner {
    padding-block: 52px 60px;
  }

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

  .hero-lead {
    margin-top: 22px;
    line-height: 1.85;
  }

  .platform-benefits {
    padding-block: 48px;
  }

  .benefits-heading {
    margin-bottom: 32px;
  }

  .platform-facts {
    margin-bottom: 48px;
    grid-template-columns: repeat(2, 1fr);
    padding-block: 0;
  }

  .platform-facts div {
    padding: 20px 10px;
  }

  .platform-facts div + div {
    border-left: 0;
  }

  .platform-facts div:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }

  .platform-facts div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .benefit-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .benefit-nav {
    position: static;
    flex-direction: row;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-nav a {
    flex: 1;
    padding: 12px 4px;
    border-bottom: 0;
    font-size: 14px;
    text-align: center;
  }

  .benefit-nav a::after {
    content: "";
  }

  .benefit-feature {
    padding-bottom: 40px;
  }

  .benefit-feature + .benefit-feature {
    padding-top: 40px;
  }

  .benefit-feature > p:last-child {
    font-size: 16px;
    line-height: 1.9;
  }

  .platform-reach {
    margin-top: 24px;
    padding: 24px 0 0;
    font-size: 16px;
  }

  .credential-section {
    padding-block: 48px;
  }

  .credential-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .credential-heading {
    text-align: center;
  }

  .credential-card {
    padding: 8px;
  }

  .document-meta {
    grid-template-columns: 1fr;
  }

  .document-meta div {
    padding: 14px 18px;
  }

  .document-meta div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .document-section {
    padding-block: 52px 64px;
  }

  .login-section {
    padding-block: 52px;
  }

  .login-shell {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .login-card {
    padding: 26px 22px;
  }

  .document-page {
    margin-bottom: 32px;
  }

  .footer-inner {
    min-height: 150px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .footer-inner p + p::before {
    content: none;
  }
}

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

  .download-button {
    transition: none;
  }
}
