:root {
  color-scheme: light;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-on-dark: #ff9856;
  --ink: #0f172a;
  --muted: #475569;
  --night: #080e19;
  --line: #dce2ea;
  --surface: #f5f7fa;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--accent-on-dark); }

.wrap {
  width: min(1200px, calc(100% - clamp(32px, 10vw, 144px)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 10px;
  left: 10px;
  transform: translateY(-200%);
  padding: 12px 18px;
  background: #fff;
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
}
.brand img { flex: 0 0 44px; width: 44px; height: 44px; }
.brand-text { display: grid; gap: 3px; }
.brand-primary { color: var(--ink); font-size: 1.0625rem; font-weight: 750; line-height: 1.2; }
.brand-secondary { color: var(--muted); font-size: .8125rem; font-weight: 600; line-height: 1.25; }
.brand:hover .brand-primary { color: var(--accent); }
.site-nav { display: flex; gap: clamp(16px, 2.5vw, 36px); margin-left: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.account-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  font-size: .9375rem;
  font-weight: 700;
  white-space: nowrap;
}
.account-link:hover { background: var(--accent); color: #fff; }
.site-nav a, .language-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.site-nav a:hover, .language-nav a:hover { color: var(--accent); }
.language-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
}
.language-nav a[aria-current] { color: var(--accent); }
.language-nav > span { color: #64748b; }

.hero { background: var(--night); color: #fff; overflow: hidden; }
.hero-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  min-height: clamp(440px, 39vw, 550px);
}
.hero-copy { padding-block: 56px; z-index: 1; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e8f0;
  font: 650 .8125rem/1.4 system-ui, sans-serif;
  letter-spacing: .17em;
}
:lang(zh-CN) .eyebrow { letter-spacing: .12em; }
.eyebrow::before { content: ""; width: 25px; height: 2px; background: var(--accent); }
.hero h1 {
  margin-top: 19px;
  font-size: clamp(3.6rem, 6.3vw, 6rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.08;
}
.hero-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  align-items: center;
  margin-top: 22px;
  color: var(--accent-on-dark);
  font-size: clamp(1rem, 1.65vw, 1.25rem);
  font-weight: 700;
  line-height: 1.45;
}
.hero-paths .hero-divider { width: 1px; height: 14px; background: #ad6843; }
.hero-summary {
  max-width: 21em;
  margin-top: 13px;
  color: #cbd5e1;
  font-size: 1.0625rem;
  line-height: 1.85;
}
:lang(en) .hero h1 { font-size: clamp(3.55rem, 6.1vw, 5.5rem); }
:lang(en) .hero-summary { max-width: 25em; }
.hero-art { position: absolute; inset: 0 -28px 0 35%; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--night), transparent 38% 89%, var(--night)),
    linear-gradient(0deg, #080e19bb, transparent 18% 90%, #080e1980);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
}
.button-primary { margin-top: 26px; color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { margin-top: 23px; background: #fff; border-color: #bdc7d5; }
.button-outline:hover { border-color: var(--accent); color: var(--accent); }
.file-format {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font: 650 .8125rem/1.1 system-ui, sans-serif;
}

.section { padding-block: clamp(50px, 6vw, 90px); scroll-margin-top: 20px; }
.section-heading h2 { font-size: clamp(1.85rem, 3.1vw, 2.65rem); line-height: 1.2; letter-spacing: -.04em; }
.section-heading p { margin-top: 11px; color: var(--muted); line-height: 1.75; }

.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 25px; }
.scope-card {
  padding: clamp(20px, 3.25vw, 38px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 5px;
}
.scope-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 17px;
  border-radius: 5px;
  color: var(--accent);
  background: #fff1e8;
}
.scope-icon span { display: block; width: 23px; height: 23px; border: 1.5px solid currentColor; }
.scope-icon-mpw span {
  border-radius: 50%;
  background-image: repeating-linear-gradient(0deg, transparent 0 5px, currentColor 5px 6px),
                    repeating-linear-gradient(90deg, transparent 0 5px, currentColor 5px 6px);
}
.scope-icon-dedicated span { position: relative; border-radius: 2px; }
.scope-icon-dedicated span::after { content: ""; position: absolute; inset: 4px; border: 1px solid currentColor; }
.scope-card h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.35; }
.scope-card h3 span { margin-left: 5px; color: var(--accent); font: 700 .83rem/1 system-ui, sans-serif; }
.scope-card p { max-width: 31em; margin-top: 9px; color: var(--muted); line-height: 1.8; }

.materials { background: var(--surface); }
.materials-layout, .faq-layout { display: grid; grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr); gap: clamp(24px, 6vw, 82px); }
.materials-heading p { max-width: 18em; }
.materials-list { border-top: 1px solid #cbd5e1; }
.materials-list > div {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 17px 1px;
  border-bottom: 1px solid #cbd5e1;
  line-height: 1.6;
}
.materials-list dt { font-weight: 700; }
.materials-list dd { color: var(--muted); }
.materials-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: #fff;
  color: var(--muted);
  line-height: 1.65;
}

.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 61px;
  padding: 13px 2px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after {
  content: "";
  flex: 0 0 16px;
  height: 16px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat;
}
.questions details[open] summary::after { background-size: 12px 2px, 0 0; }
.questions summary:hover { color: var(--accent); }
.questions p { padding: 0 30px 17px 2px; color: var(--muted); line-height: 1.75; }

.site-footer { background: var(--night); color: #cbd5e1; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 20px;
  font-size: .875rem;
}
.footer-meta { display: grid; gap: 4px; }
.footer-meta .brand { margin-bottom: 5px; }
.site-footer .brand-primary { color: #f8fafc; }
.site-footer .brand-secondary { color: #cbd5e1; }
.site-footer .brand:hover .brand-primary { color: var(--accent-on-dark); }
.release-version { color: #94a3b8; font-size: .8125rem; }
.footer-inner > a { display: inline-flex; align-items: center; min-height: 44px; color: #f8fafc; }
.footer-inner > a:hover { color: var(--accent-on-dark); }

@media (max-width: 1100px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; padding-block: 10px; }
  .header-inner > .brand { grid-column: 1 / -1; justify-self: start; margin-bottom: 8px; }
  .site-nav { margin: 0; }
}

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-block: 46px 8px; }
  .hero h1 { font-size: clamp(3.45rem, 11vw, 5rem); }
  .hero-art {
    position: relative;
    inset: auto;
    height: clamp(195px, 65vw, 350px);
    margin: 0 -16px;
  }
  .hero-art::after {
    background:
      linear-gradient(90deg, var(--night), transparent 10% 95%, var(--night)),
      linear-gradient(0deg, #080e1988, transparent 22% 83%, var(--night));
  }
  .hero-art img { object-position: 58% 55%; }
  .materials-layout, .faq-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-inner { grid-template-columns: minmax(0, 1fr); }
  .header-inner > .brand { grid-column: auto; }
  .site-nav { justify-content: space-between; gap: 10px; border-block: 1px solid var(--line); }
  .header-actions { justify-content: space-between; padding-top: 8px; }
  .brand-primary { font-size: .9375rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .language-nav { gap: 6px; padding-inline: 8px; }
  .language-nav a, .site-nav a, .account-link { font-size: .875rem; }
  :lang(en) .hero-paths { flex-direction: column; align-items: flex-start; }
  :lang(en) .hero-divider { display: none; }
  .scope-grid { grid-template-columns: 1fr; gap: 12px; }
  .materials-list > div { grid-template-columns: 1fr; gap: 3px; }
}

html[lang] .brand img {
  width: clamp(40px, 5vw, 56px);
  height: clamp(40px, 5vw, 56px);
  flex: none;
}
html[lang=en] .brand .brand-primary {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 750;
  line-height: 1.15;
}
