/* ---------------------------------------------------------------------------
   torek.eu/programele — Android app download (unlisted page).

   Builds on pages.css (tokens, .tk scope, nav, .btn, .note). Phone first: the
   page is opened on the phone that installs the app, so the download button is
   full-width and thumb-sized, and the desktop layout is the same column, wider.
   --------------------------------------------------------------------------- */

.tk.app-dl {
  display: flex;
  flex-direction: column;
}

/* The bar holds only the logo, so it lines up with the single content column
   instead of the 1200px site grid. */
.tk.app-dl .nav-in {
  max-width: 680px;
  padding: 14px 16px;
}

.tk .dl-wrap {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px 48px;
  flex: 1;
}

.tk .dl-head {
  padding: 36px 0 22px;
}
.tk .dl-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
}
.tk .dl-head h1 {
  font-family: var(--disp);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-size: clamp(32px, 8.5vw, 46px);
  margin: 0 0 14px;
}
.tk .dl-lead {
  color: var(--ink-2);
  font-size: 17.5px;
  margin: 0;
  max-width: 52ch;
}

/* ---------- download card ---------- */
.tk .dl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 20px;
  margin: 0 0 8px;
}
.tk .dl-card .note {
  margin: 0;
}
.tk .dl-button {
  width: 100%;
  justify-content: center;
  min-height: 58px;
  font-size: 17px;
  border-radius: 14px;
  text-decoration: none;
}
.tk .dl-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}
.tk .dl-facts div {
  min-width: 0;
}
.tk .dl-facts dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 2px;
}
.tk .dl-facts dd {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.tk .dl-req {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

/* ---------- install steps ---------- */
.tk .dl-section {
  margin: 38px 0 0;
}
.tk .dl-section h2 {
  font-family: var(--disp);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 23px;
  margin: 0 0 14px;
}
.tk .dl-section > p {
  margin: 0 0 14px;
  color: var(--ink-2);
}
.tk .dl-steps {
  list-style: none;
  counter-reset: dl-step;
  margin: 0;
  padding: 0;
}
.tk .dl-steps li {
  counter-increment: dl-step;
  position: relative;
  padding: 0 0 18px 46px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}
.tk .dl-steps li::before {
  content: counter(dl-step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-d);
  font-family: var(--disp);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* The rail between numbers, so the steps read as one sequence. */
.tk .dl-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14.5px;
  top: 34px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
.tk .dl-steps strong {
  color: var(--ink);
  font-weight: 650;
}
.tk .dl-section .note {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
}

/* ---------- checksum ---------- */
.tk .dl-check {
  margin: 38px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 14.5px;
  color: var(--muted);
}
.tk .dl-check summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-2);
}
.tk .dl-check p {
  margin: 10px 0 8px;
}
.tk .dl-check code {
  font-family: var(--mono);
  font-size: 13px;
}
.tk .dl-hash {
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  overflow-wrap: anywhere;
  color: var(--ink);
}

/* ---------- footer ---------- */
.tk .dl-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  padding: 20px 16px 28px;
  border-top: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--muted);
}
.tk .dl-foot a {
  color: var(--muted);
}

@media (min-width: 640px) {
  .tk .dl-head {
    padding: 64px 0 28px;
  }
  .tk .dl-card {
    padding: 28px;
  }
  .tk .dl-button {
    width: auto;
    padding: 0 34px;
  }
}
