* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  color: #231e1a;
  background: #faf8f4;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
:focus { outline: 2px solid #8d2f24; outline-offset: 4px; }

.container { width: 88%; max-width: 1160px; margin: 0 auto; }
.site-header { background: #fffdf9; border-bottom: 1px solid #e9e0d4; }
.header-inner { min-height: 72px; padding: 17px 0; }
.header-inner::after, .hero-inner::after, .steps::after { display: table; clear: both; content: ""; }
.brand { float: left; color: #261e1a; font-size: 17px; font-weight: 700; }
.brand img, .brand span { display: inline-block; vertical-align: middle; }
.brand img { margin-right: 9px; }
.header-inner nav { float: right; padding-top: 6px; }
.header-inner nav a { padding: 8px 3px; color: #54463b; font-size: 14px; }
.header-inner nav a:hover { color: #9d3022; text-decoration: underline; }

.hero { border-bottom: 1px solid #e9e0d4; background: #f7f2ea; }
.hero-inner { padding: 75px 0 65px; }
.hero-copy { float: left; width: 41%; padding: 13px 28px 0 0; }
.hero h1 { font-size: 55px; font-weight: 800; line-height: 1.18; letter-spacing: -0.035em; }
.intro { max-width: 340px; margin-top: 22px; color: #5c4e43; font-size: 17px; line-height: 1.8; }
.download-actions { margin-top: 27px; }
.download-button {
  display: inline-block;
  min-height: 52px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #fff;
  background: #a23326;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  vertical-align: middle;
}
.download-button:hover { background: #84291f; }
.download-button:disabled { color: #5b4b3f; background: #e6ddd0; cursor: default; }
.download-arrow { display: inline-block; margin-left: 16px; font-size: 19px; font-weight: 400; }
.retry-button {
  min-height: 40px;
  margin-left: 10px;
  padding: 6px 10px;
  border: 0;
  color: #872a20;
  background: transparent;
  cursor: pointer;
}
.retry-button:hover { text-decoration: underline; }
.release-status { margin-top: 12px; color: #635347; font-size: 14px; }
.release-details { margin-top: 19px; color: #605146; font-size: 13px; line-height: 1.8; }
.release-details div { display: inline-block; margin: 0 16px 5px 0; vertical-align: top; }
.release-details dt { color: #69594c; }
.release-details dd { color: #2e251e; font-weight: 700; }

.preview {
  float: right;
  width: 59%;
  margin: 0;
  padding: 25px 25px 16px;
  border: 1px solid #dfd4c3;
  border-radius: 17px;
  background: #eae0d0;
  background-image: linear-gradient(140deg, #eee4d6, #e5d6c1);
}
.preview-frame { overflow: hidden; border: 1px solid #ccb99e; border-radius: 8px; background: #f5efe4; box-shadow: 0 11px 28px rgba(64, 43, 27, 0.13); }
.preview-frame img { width: 100%; }
.preview figcaption { margin-top: 13px; color: #5f4b3b; font-size: 13px; text-align: center; }

.guide { padding: 51px 0 76px; }
.guide h2 { margin-bottom: 21px; font-size: 26px; letter-spacing: -0.02em; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { float: left; width: 32%; min-height: 159px; margin-right: 2%; padding: 18px 20px; border: 1px solid #e7ded1; border-radius: 9px; background: #fffdf9; }
.steps li:last-child { margin-right: 0; }
.step-number { display: inline-block; margin-bottom: 10px; color: #9a3226; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.steps h3 { margin-bottom: 4px; font-size: 17px; }
.steps p { color: #655547; font-size: 14px; line-height: 1.65; }

@media (max-width: 1100px) {
  .hero h1 { font-size: 46px; }
  .hero-inner { padding: 56px 0 51px; }
}

@media (max-width: 800px) {
  .hero-inner { padding: 45px 0 37px; }
  .hero-copy, .preview { float: none; width: 100%; }
  .hero-copy { padding: 0; }
  .preview { max-width: 640px; margin-top: 31px; padding: 16px 16px 12px; }
  .guide { padding: 38px 0 52px; }
}

@media (max-width: 540px) {
  .container { width: 89%; }
  .header-inner { min-height: 61px; padding: 12px 0; }
  .hero h1 { font-size: 37px; }
  .intro { margin-top: 14px; font-size: 16px; }
  .download-actions { margin-top: 21px; }
  .preview { padding: 11px 11px 10px; border-radius: 12px; }
  .guide h2 { margin-bottom: 15px; font-size: 23px; }
  .steps li { float: none; width: 100%; min-height: 0; margin: 0 0 11px; padding: 14px 17px; }
  .step-number { margin-bottom: 3px; }
}
