/* NetDrive 4.0 Download (/download/). 색·글꼴 변수와 공용 클래스(.btn, .eyebrow, .section-*)는 landing.css 를 따른다. */

/* ── 머리말 ─────────────────────────────────────────────── */
.dl-head { padding-top: 72px; padding-bottom: 32px; }
.dl-head .section-lead { max-width: 640px; }
.dl-body { padding-bottom: 110px; }

/* ── 탭(링크) ───────────────────────────────────────────── */
.dl-tabs { display: inline-flex; max-width: 100%; gap: 4px; margin-bottom: 24px; padding: 4px; border: 1px solid var(--b2); border-radius: 12px; background: var(--g1); }
.dl-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; padding: 10px 20px; border-radius: 9px; color: var(--t3); font-size: 15px; font-weight: 600; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.dl-tab:hover { color: var(--t1); }
.dl-tab[aria-current="page"] { background: var(--panel); color: var(--acInk); box-shadow: inset 0 0 0 1px var(--b3), 0 6px 18px var(--shadow); }

/* ── 메인 카드: 왼쪽 다운로드, 오른쪽 요구사항·QR ────────────── */
.dl-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; padding: 40px; border: 1px solid var(--b2); border-radius: 20px; background: var(--cardGrad); }
.dl-card__main { min-width: 0; }
.dl-card__title { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.015em; color: var(--t1); }
.dl-meta { margin-top: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--t4); }
.dl-lead { margin-top: 12px; color: var(--t2); font-size: 17px; line-height: 1.6; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.dl-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.dl-hint { margin-top: 12px; color: var(--t4); font-size: 13.5px; }
.dl-beta { margin-top: 20px; color: var(--t3); font-size: 14px; }
.dl-beta .dl-badge { margin-right: 4px; }
.dl-badge { display: inline-block; padding: 2px 8px; border: 1px solid var(--sealInk); border-radius: 999px; color: var(--sealInk); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle; }
.dl-links, .dl-legacy { margin-top: 14px; color: var(--t3); font-size: 14px; }
.dl-unavailable { margin-top: 24px; padding: 12px 16px; border: 1px dashed var(--b3); border-radius: 10px; color: var(--t2); font-size: 14px; line-height: 1.6; }
.dl-card a:not(.btn), .dl-detail a { color: var(--acInk); text-decoration: underline; text-underline-offset: 2px; }
.dl-features { margin: 18px 0 0; padding: 0; list-style: none; }
.dl-features li { position: relative; padding-left: 22px; color: var(--t2); line-height: 1.6; }
.dl-features li + li { margin-top: 8px; }
.dl-features li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--ac), var(--ac2)); }

.dl-card__side { min-width: 0; padding-left: 40px; border-left: 1px solid var(--b1); }
.dl-side-title { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; color: var(--t4); text-transform: uppercase; }
.dl-list { margin: 12px 0 0; padding: 0; list-style: none; color: var(--t2); font-size: 14.5px; line-height: 1.5; }
.dl-list li + li { margin-top: 6px; }
.dl-note { margin-top: 16px; color: var(--t4); font-size: 13px; line-height: 1.6; }
.dl-qr__codes { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; }
.dl-qr figure { margin: 0; text-align: center; }
/* QR 은 다크 테마에서도 흰 바탕이어야 휴대폰 카메라가 읽는다 */
.dl-qr img { display: block; width: 130px; height: 130px; padding: 6px; border-radius: 12px; background: #fff; image-rendering: pixelated; }
.dl-qr figcaption { margin-top: 8px; color: var(--t3); font-size: 13px; }

/* ── 세부 카드 ──────────────────────────────────────────── */
.dl-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.dl-detail { min-width: 0; padding: 28px; border: 1px solid var(--b1); border-radius: 16px; background: var(--g1); }
.dl-detail__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--t1); }
.dl-detail p { margin-top: 10px; color: var(--t3); font-size: 14.5px; line-height: 1.65; }
.dl-detail .dl-list { font-size: 14px; }
.dl-list--links li + li { margin-top: 8px; }
.dl-detail .dl-code-label { margin-top: 16px; color: var(--t2); font-weight: 600; }
.dl-code { margin: 8px 0 0; padding: 12px 14px; border: 1px solid var(--b2); border-radius: 10px; background: var(--g2); color: var(--t1); font-family: var(--font-mono); font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .dl-head { padding-top: 48px; padding-bottom: 24px; }
  .dl-body { padding-bottom: 80px; }
  .dl-tabs { display: flex; }
  .dl-tab { flex: 1 1 0; padding: 10px 12px; }
  .dl-card { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
  .dl-card__side { padding-top: 24px; padding-left: 0; border-top: 1px solid var(--b1); border-left: 0; }
}
@media (max-width: 768px) {
  /* 휴대폰 화면의 QR 은 스캔할 수 없다 */
  .dl-qr { display: none; }
}
@media (max-width: 560px) {
  .dl-tab { gap: 6px; padding: 9px 8px; font-size: 14px; }
  /* 탭 4개(Linux 페이지)가 375px 에 들어가도록 아이콘을 뺀다. Font Awesome 이 <i> 를 <svg> 로 바꾼다 */
  .dl-tab svg, .dl-tab i { display: none; }
  .dl-card { padding: 22px; }
  .dl-card__title { font-size: 26px; }
  .dl-actions .btn { width: 100%; }
  .dl-detail { padding: 22px; }
}
