:root {
  color-scheme: light;
  font-family: "Instrument Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #142e36;
  background: #f5f1e8;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

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

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d8ded4;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: -.055em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  place-items: center;
  background: #143b41;
  color: #fff9e9;
  font-weight: 650;
  letter-spacing: 0;
}

.download-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  grid-template-areas: "details photo";
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  padding-block: clamp(34px, 6vh, 76px);
}

.download-details { grid-area: details; min-width: 0; }

.photo {
  grid-area: photo;
  position: relative;
  margin: 0;
  aspect-ratio: .91;
  overflow: hidden;
  border-radius: 28px;
  background: #b7d4cf;
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 11%;
}

.kicker {
  margin: 0 0 12px;
  color: #305d58;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.06;
  letter-spacing: -.055em;
  font-weight: 760;
}

.description {
  margin: 16px 0 0;
  color: #405954;
  font-size: 16px;
  line-height: 1.65;
}

.download-actions {
  display: grid;
  gap: 10px;
  max-width: 340px;
  margin-block: 30px 0;
}
.download-actions a,
.download-actions button {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 11px;
  border: 1px solid #143b41;
  background: #143b41;
  color: #fff9e9;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: start;
}

.download-actions a:hover { background: #205359; }
.download-actions a:focus-visible,
.switch-platform:focus-visible {
  outline: 3px solid #7b4b20;
  outline-offset: 3px;
}
.download-actions button:disabled {
  background: #e3e7dd;
  color: #3c514c;
  border-color: #c9d1c5;
}

.switch-platform {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  color: #305d58;
  font-size: 14px;
  font-weight: 650;
  text-underline-offset: 4px;
}

@media (max-width: 740px) {
  .shell { width: min(100% - 36px, 520px); }
  .site-header { min-height: 57px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 28px; height: 28px; border-radius: 9px; }
  .download-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "details";
    gap: 25px;
    padding-block: 16px 26px;
  }
  .photo { aspect-ratio: 1.25; border-radius: 18px; }
  h1 { font-size: clamp(35px, 9vw, 51px); }
  .description { margin-top: 10px; }
  .download-actions { max-width: none; margin-top: 22px; }
}
