/* Eshit for the Mac: the download page's own parts. What every page of the site shares (colours, type, the top line,
   the sections, the pill) is in /sayt.css, loaded before this file. */
/* The opening: the headline is a typed line, and the sample types the next one under it. */
.bosh { display: grid; gap: clamp(36px, 5vw, 60px) clamp(40px, 6vw, 88px); padding-block: clamp(28px, 5vw, 64px) var(--oraliq); }
.shior {
  font: 600 var(--fs-shior)/.98 var(--serif);
  letter-spacing: -.022em;
  white-space: nowrap; /* two lines, broken where the comma is: the sizes above keep the longer one inside the page */
}
.namuna {
  min-height: 2.6em; /* two lines kept, so nothing below moves while a line is typed */
  margin-top: clamp(20px, 3vw, 36px);
  max-width: 24em;
  font: 400 var(--fs-namuna)/1.3 var(--serif);
  overflow-wrap: anywhere;
}

.sinab { display: flex; align-items: center; gap: 20px; margin-top: clamp(18px, 2vw, 24px); }
.sinab-izoh { max-width: 26em; color: var(--xira); font-size: var(--fs-kichik); line-height: 1.45; }

/* The key: the one object on the page with weight. It goes down under the finger, as a key does. */
.tugma {
  position: relative;
  flex: none;
  width: 84px;
  height: 84px;
  padding: 0;
  border: 1px solid var(--tugma-cheti);
  border-radius: 15px;
  background: var(--tugma-yuz);
  color: var(--siyoh);
  box-shadow: 0 4px 0 var(--tugma-osti), 0 14px 28px var(--tugma-soya);
  font-family: var(--sans);
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .07s ease-out, box-shadow .07s ease-out;
}
.tugma.bosilgan { transform: translateY(3px); box-shadow: 0 1px 0 var(--tugma-osti), 0 4px 10px var(--tugma-soya); }
.tugma-belgi { position: absolute; top: 9px; right: 13px; font-size: 24px; font-weight: 500; line-height: 1; }
.tugma-nom { position: absolute; right: 13px; bottom: 10px; font-size: 13px; font-weight: 500; line-height: 1; color: var(--xira); }

.kirish { max-width: 30em; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; }

.yuklab { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; scroll-margin-top: 24px; }
.yuklab-izoh { color: var(--xira); font-size: var(--fs-kichik); }

.qadamlar { max-width: 34em; padding-left: 1.3em; }
.qadamlar li { padding-left: .4em; }
.qadamlar li + li { margin-top: 14px; }
.qadamlar li::marker { color: var(--xira); font-family: var(--serif); font-weight: 600; }

@media (min-width: 1000px) {
  /* The headline and its sample on the left; what the app is and the download beside them, level with the key. */
  :root { --fs-shior: clamp(92px, 9.2vw, 128px); }
  .bosh { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); align-items: end; }
  .yuklab { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .sinab { align-items: flex-start; }
  .asosiy { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tugma { transition: none; }
}
