.download-guide {
  width: min(940px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  margin: auto;
  color: #faf7f2;
  background: #14110e;
  border: 1px solid #745932;
  border-radius: 24px;
  box-shadow: 0 28px 100px #000b, 0 0 60px #b8893a16;
  overflow: auto;
  overscroll-behavior: contain;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.download-guide::backdrop { background: #050403db; backdrop-filter: blur(7px); }
.download-guide__header { position: relative; padding: 28px 70px 20px 28px; }
.download-guide__eyebrow { margin: 0 0 8px; color: #e4c48a; font-size: 11px; letter-spacing: .15em; }
.download-guide__title { margin: 0; font-size: 26px; line-height: 1.4; font-weight: 750; }
.download-guide__intro { margin: 12px 0 0; color: #c9bdab; font-size: 14px; line-height: 1.8; }
.download-guide__close {
  position: absolute; top: 22px; right: 22px; width: 40px; height: 40px;
  border: 1px solid #4a3d2b; border-radius: 50%; background: #251f18;
  color: #e4c48a; font-size: 26px; line-height: 1; cursor: pointer;
}
.download-guide__steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding: 0 28px; }
.download-guide__step { min-width: 0; padding: 18px; background: #0b0907; border: 1px solid #33291d; border-radius: 16px; }
.download-guide__step h3 { display: flex; align-items: center; gap: 10px; margin: 0; color: #f6ecdc; font-size: 16px; font-weight: 700; }
.download-guide__number { display: inline-grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: #e4c48a; color: #14110e; font-size: 14px; }
.download-guide__step p { min-height: 42px; margin: 10px 0 14px; color: #baae9d; font-size: 13px; line-height: 1.65; }
.download-guide__image-link { display: block; border-radius: 9px; overflow: hidden; background: #191613; }
.download-guide__image { display: block; width: 100%; height: 340px; object-fit: contain; }
.download-guide__caption { display: block; margin-top: 8px; color: #ab9b82; text-align: center; font-size: 11px; }
.download-guide__footer { padding: 20px 28px 28px; }
.download-guide__note { margin: 0 0 14px; color: #baae9d; font-size: 12px; line-height: 1.75; }
.download-guide__continue {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 20px;
  border: 1px solid #ebd0a0; border-radius: 12px; color: #151009;
  background: linear-gradient(120deg, #edcf99, #bd9046); text-decoration: none;
  font-size: 16px; font-weight: 750; box-shadow: 0 8px 28px #b8893a20;
}
.download-guide__continue:hover { background: linear-gradient(120deg, #f8e4bd, #d6ac65); }
.download-guide :focus-visible { outline: 3px solid #f3d89e; outline-offset: 4px; }
html.download-guide-open { overflow: hidden; }
@media (min-width: 641px) and (max-height: 800px) {
  .download-guide__header { padding: 20px 70px 14px 24px; }
  .download-guide__title { font-size: 23px; }
  .download-guide__intro { margin-top: 8px; font-size: 13px; }
  .download-guide__steps { padding: 0 24px; gap: 14px; }
  .download-guide__step { padding: 14px; }
  .download-guide__step p { margin: 8px 0 10px; }
  .download-guide__image { height: 245px; }
  .download-guide__footer { padding: 14px 24px 20px; }
  .download-guide__note { margin-bottom: 10px; }
}
@media (max-width: 640px) {
  .download-guide { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 18px; }
  .download-guide__header { padding: 22px 58px 18px 18px; }
  .download-guide__title { font-size: 21px; }
  .download-guide__intro { font-size: 13px; }
  .download-guide__close { top: 17px; right: 14px; width: 34px; height: 34px; }
  .download-guide__steps { grid-template-columns: 1fr; padding: 0 18px; gap: 12px; }
  .download-guide__step { padding: 14px; }
  .download-guide__step p { min-height: 0; }
  .download-guide__image { height: auto; max-height: 360px; }
  .download-guide__footer { padding: 18px; }
}
