/* biome-ignore-all lint/style/noDescendingSpecificity: 컴포넌트 규칙 뒤에 문맥별 덮어쓰기를 두는 구조라 순서가 의도다 */
/*
 * /download 전용. site-v2.css 위에 얹는다.
 */

.dl-hero {
  padding: 72px 0 56px;
}

.dl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

.dl-title {
  margin-top: 22px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.05em;
  font-weight: 820;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.dl-note {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15px;
}

.dl-facts {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  color: var(--ink-2);
  font-size: 15.5px;
}

.dl-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dl-facts .icon {
  width: 18px;
  height: 18px;
  color: var(--accent-ink);
  stroke-width: 2.2;
}

.dl-card {
  padding: 36px 32px 28px;
  text-align: center;
}

.dl-card img {
  margin-inline: auto;
  border-radius: 26px;
  box-shadow: 0 18px 36px rgb(12 70 62 / 22%);
}

.dl-card-name {
  margin-top: 22px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.dl-card-sub {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 14.5px;
}

.dl-card dl {
  margin-top: 24px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.dl-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.dl-card dl div:last-child {
  border-bottom: 0;
}

.dl-card dt {
  color: var(--ink-2);
}

.dl-card dd {
  font-weight: 700;
  text-align: right;
}

/* 설치 세 단계 */
.dl-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dl-steps > li {
  padding: 28px;
}

.dl-steps h3 {
  margin-top: 18px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.dl-steps p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}

.dl-steps code,
.faq-body code {
  padding: 2px 7px;
  border-radius: 7px;
  background: var(--canvas);
  color: var(--accent-ink);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.step-n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: var(--shadow-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.dl-step-warn {
  border-color: var(--warn-edge);
}

/* 「Windows의 PC 보호」 예시 그림(꾸밈, 스크린리더는 글을 읽는다) */
.smartscreen {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--r-md);
  background: #2b4a7a;
  color: #fff;
  font-size: 13.5px;
  line-height: 1.5;
}

.smartscreen b {
  font-size: 15px;
}

.smartscreen span {
  color: rgb(255 255 255 / 85%);
}

.smartscreen .ss-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.smartscreen .ss-run {
  justify-self: end;
  padding: 6px 18px;
  border: 1px solid rgb(255 255 255 / 45%);
  color: #fff;
  font-weight: 700;
}

.dl-warn {
  margin-top: 24px;
  font-weight: 500;
}

.dl-warn b {
  display: block;
  margin-bottom: 2px;
  font-weight: 750;
}

/* 요구사항 */
.dl-req {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.dl-req h3 {
  margin-top: 16px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.dl-req p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}

.dl-more {
  margin-top: 20px;
  text-align: center;
}

@media (width <= 960px) {
  .dl-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .dl-card {
    max-width: 420px;
  }

  .dl-steps {
    grid-template-columns: 1fr;
  }

  .dl-req {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 560px) {
  .dl-hero {
    padding: 44px 0 52px;
  }

  .dl-actions .btn {
    width: 100%;
  }

  .dl-req {
    grid-template-columns: 1fr;
  }
}
