:root {
  color-scheme: only light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #1e252b;
  background: #f5f3f2;
  letter-spacing: 0;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; background: #f5f3f2; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.download-header {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: 70px;
  padding: 10px max(22px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #ddd9d7;
  background: rgba(255, 255, 255, 0.96);
}

.download-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.download-brand img { border-radius: 50%; }
.download-brand span { display: grid; gap: 2px; }
.download-brand strong { font-size: 17px; }
.download-brand small { color: #6a737b; font-size: 11px; }
.download-language { width: 104px; height: 34px; padding: 2px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #ddd9d7; border-radius: 6px; background: #f0eeed; }
.download-language button { border: 0; border-radius: 4px; color: #6a737b; background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; }
.download-language button.is-active { color: #8f1833; background: #fff; box-shadow: 0 1px 4px rgba(30, 20, 24, 0.12); }

main { width: min(100% - 44px, 1180px); margin: 0 auto; }
.download-hero { min-height: 500px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: center; gap: 80px; }
.download-hero__copy { max-width: 690px; }
.download-eyebrow { margin: 0 0 13px; color: #8f1833; font-size: 12px; font-weight: 900; }
.download-hero h1 { margin: 0; max-width: 760px; font-size: 56px; line-height: 1.05; }
.download-hero__copy > p:not(.download-eyebrow) { max-width: 650px; margin: 22px 0 30px; color: #59636b; font-size: 17px; line-height: 1.7; }
.download-command { min-height: 54px; padding: 0 20px; display: inline-flex; align-items: center; gap: 14px; border-radius: 6px; color: #fff; background: #8f1833; text-decoration: none; font-size: 15px; font-weight: 850; box-shadow: 0 12px 28px rgba(143, 24, 51, 0.2); }
.download-command span { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.32); font-size: 12px; opacity: .82; }
.download-mark { width: 310px; height: 310px; object-fit: contain; border-radius: 8px; box-shadow: 0 22px 52px rgba(37, 26, 29, 0.14); }
.embedded-browser-note { margin: -22px 0 46px; padding: 17px 20px; display: grid; gap: 5px; border-left: 4px solid #8f1833; background: #fff; box-shadow: 0 10px 26px rgba(40, 30, 32, 0.07); }
.embedded-browser-note strong { font-size: 14px; }
.embedded-browser-note span { color: #59636b; font-size: 13px; line-height: 1.6; }

.download-band {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 72px max(22px, calc((100vw - 1180px) / 2));
  background: #fff;
}
.download-band h2, .download-ios h2 { margin: 0; font-size: 31px; }
.download-band ol { margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; counter-reset: steps; border-top: 1px solid #ddd9d7; }
.download-band li { min-height: 170px; padding: 28px 24px 22px 0; display: grid; align-content: start; gap: 9px; counter-increment: steps; border-right: 1px solid #ddd9d7; }
.download-band li + li { padding-left: 24px; }
.download-band li:last-child { border-right: 0; }
.download-band li::before { content: "0" counter(steps); color: #8f1833; font-size: 13px; font-weight: 900; }
.download-band li strong { font-size: 17px; }
.download-band li span { color: #6a737b; font-size: 13px; line-height: 1.6; }

.download-ios { min-height: 270px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; }
.download-ios p:not(.download-eyebrow) { color: #59636b; font-size: 16px; line-height: 1.75; }
footer { min-height: 78px; padding: 20px max(22px, calc((100vw - 1180px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #6a737b; background: #1e252b; font-size: 12px; }
footer a { color: #fff; text-decoration: none; font-weight: 800; }

@media (max-width: 760px) {
  .download-header { min-height: 62px; padding: 8px 12px; }
  .download-brand img { width: 40px; height: 40px; }
  .download-brand strong { font-size: 13px; }
  .download-brand small { display: none; }
  .download-language { width: 76px; min-width: 76px; }
  main { width: min(100% - 28px, 560px); }
  .download-hero { min-height: auto; padding: 48px 0 58px; grid-template-columns: 1fr; gap: 34px; }
  .download-hero h1 { font-size: 38px; }
  html:lang(en) .download-hero h1 { font-size: 35px; }
  .download-hero__copy > p:not(.download-eyebrow) { margin: 18px 0 24px; font-size: 15px; }
  .download-command { width: 100%; justify-content: center; }
  .download-mark { grid-row: 1; width: 116px; height: 116px; box-shadow: 0 12px 30px rgba(37, 26, 29, 0.13); }
  .embedded-browser-note { margin: -24px 0 34px; }
  .download-band { padding-top: 48px; padding-bottom: 48px; }
  .download-band h2, .download-ios h2 { font-size: 27px; }
  .download-band ol { margin-top: 26px; grid-template-columns: 1fr; }
  .download-band li, .download-band li + li { min-height: 0; padding: 19px 0; border-right: 0; border-bottom: 1px solid #ddd9d7; }
  .download-band li:last-child { border-bottom: 0; }
  .download-ios { min-height: 310px; padding: 42px 0; grid-template-columns: 1fr; align-content: center; gap: 20px; }
  footer { align-items: flex-start; flex-direction: column; }
}
