/* Download page. Loads after styles.css and home.css. */

.dl-top { padding-top: 88px; }
.dl-top > .dl-icon { width: 88px; height: 88px; margin: 0 auto 30px; border-radius: 24%; box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.dl-top .h-line { max-width: 10em; font-size: clamp(42px, 6vw, 72px); }

.dl-store { margin-top: 32px; }

@media (prefers-reduced-motion: no-preference) {
  .dl-top .dl-top > .dl-icon { animation-delay: 0s; }
  .dl-top .dl-store { animation-delay: .3s; }
}

/* three step cards */
.dl-steps-section { padding-top: 120px; }
.dl-steps, .dl-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dl-steps .ac { padding: 0 0 24px; overflow: hidden; }
.dl-steps .ac > :not(.dl-visual) { padding: 0 22px; }
.dl-visual {
  height: 200px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 20px 20px;
}
.dl-num { margin: 0 0 6px; color: var(--faint); font-size: 13.5px; }
.dl-steps .ac-name, .dl-why .ac-name { margin-bottom: 6px; font-size: 17px; }
.dl-text { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.dl-visual .combo kbd { min-width: 52px; height: 48px; padding: 0 16px; font-size: 17px; }

/* step 1: Start menu search */
.dl-search { width: 78%; }
.dl-search-bar {
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px;
  border: 1px solid #38383e; border-radius: 19px;
  background: #29292c; color: #e6e6e9; font-size: 14px;
}
.dl-search-bar svg { width: 15px; height: 15px; fill: none; stroke: #8a8a92; stroke-width: 2; stroke-linecap: round; }
.dl-search-hit {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px; padding: 9px 12px;
  border-radius: 10px; background: #2a2a2e;
  transition: background-color .2s ease;
}
.dl-search-hit img { width: 30px; height: 30px; border-radius: 7px; }
.dl-search-hit b { display: block; color: #f2f2f3; font-size: 14px; font-weight: 500; }
.dl-search-hit small { color: var(--faint); font-size: 12px; }
.ac:hover .dl-search-hit { background: #303035; }

/* step 3: tiny Clype popup */
.dl-mini {
  width: 196px; padding: 10px;
  border: 1px solid #303035; border-radius: 10px;
  background: #101012;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .4);
}
.dl-mini b { display: block; margin-bottom: 4px; white-space: nowrap; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .3px; }
.dl-mini b span { display: inline; margin: 0 0 0 4px; color: var(--cyan); font-size: 11px; font-weight: 400; }
.dl-mini i {
  display: block; margin-top: 5px; padding: 6px 8px;
  border: 1px solid #222226; border-radius: 6px;
  background: #17171a; color: #d4d4d8;
  font-size: 11.5px; font-style: normal; font-weight: 560;
  transition: background-color .2s ease, border-color .2s ease;
}
.dl-mini i.on { border-color: var(--app-hover); background: #1d1d22; color: #fff; }
.ac:hover .dl-mini i.on { background: var(--app-accent); border-color: var(--app-accent); }

/* why the Store */
.dl-why .ac { padding: 24px 22px 26px; }
.dl-why svg {
  width: 24px; height: 24px; margin-bottom: 18px;
  fill: none; stroke: #d4d4d8; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

@media (max-width: 860px) {
  .dl-steps, .dl-why { grid-template-columns: 1fr; }
}
