/* page.css: Download page. Page-only classes are prefixed dl-. Kit tokens only. */

.dl-crumb{padding-left:16px}
.dl-hl{color:var(--coral)}
[hidden]{display:none!important}

/* ---------- picker ---------- */
.dl-pick{display:flex;flex-direction:column;position:relative;z-index:var(--z-base);width:min(1000px,100% - 40px);margin:44px auto 0;text-align:left}
.dl-detect{display:flex;align-items:center;justify-content:center;gap:.5em;margin:0 0 18px;font:500 13.5px/1.4 var(--mono);color:var(--tx2);text-align:center}
.dl-detect .os{width:15px;height:15px;color:var(--tx)}
.dl-opts{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.dl-pick[data-os="mac"] .dl-opts,.dl-pick[data-os="windows"] .dl-opts{grid-template-columns:minmax(0,640px);justify-content:center}
.dl-opt{border-radius:var(--r-win);background:linear-gradient(180deg,#18181C,#111114);border:1px solid var(--line-2);padding:26px 26px 22px;box-shadow:0 40px 110px -40px rgba(0,0,0,.9),0 0 110px -50px rgba(242,80,68,.45);display:flex;flex-direction:column}
.dl-opt-top{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.dl-opt-top h2{margin:0;font-size:23px;line-height:1.15;letter-spacing:-.015em;font-weight:700}
.dl-meta{margin:3px 0 0;font-size:14px;color:var(--tx2)}
.dl-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.dl-soon{font-size:10.5px}
.dl-mark{flex:none;width:52px;height:52px;border-radius:15px;background:var(--s3);border:1px solid var(--line-2);display:grid;place-items:center;color:var(--tx)}
.dl-mark .os{width:24px;height:24px}
.dl-mark.sm{width:44px;height:44px;border-radius:13px}
.dl-mark .i{width:20px;height:20px;color:var(--coral)}
.dl-go{width:100%;min-height:56px;font-size:16.5px;gap:10px}
.dl-go .os{width:18px;height:18px}
.dl-go[aria-expanded="true"]{background:var(--s3);color:var(--tx);box-shadow:none;border:1px solid var(--line-2)}
.dl-need{margin:14px 0 0;font-size:14.5px;color:var(--tx2);line-height:1.5}
.dl-how,.dl-switch{display:inline-flex;align-items:center;min-height:44px;margin:-12px 0;padding:0 4px;color:var(--tx);text-decoration:underline;text-decoration-color:var(--line-c);text-underline-offset:4px;font-weight:500}
.dl-how:hover,.dl-switch:hover{color:var(--coral-h)}
.dl-how:focus-visible,.dl-switch:focus-visible,.dl-jump a:focus-visible,.dl-notes a:focus-visible{outline:2px solid var(--coral);outline-offset:2px;border-radius:6px}
.dl-howbox{margin:16px 0 0;padding:16px 18px;border-radius:var(--r-md);background:var(--s1);border:1px solid var(--line);font-size:14.5px;color:var(--tx2);animation:dlin .25s var(--ease) both}
.dl-howbox ol{margin:0 0 12px;padding-left:20px;color:var(--tx)}
.dl-howbox li+li{margin-top:4px}
.dl-howbox p{margin:12px 0 0;line-height:1.55}
.dl-howbox b{color:var(--tx);font-weight:600}
.dl-about{display:flex;gap:18px;align-items:baseline;padding:10px 14px;border-radius:10px;background:var(--s3);border:1px solid var(--line-c);font-size:13.5px}
.dl-about span{color:var(--tx3);min-width:84px}
.dl-about b{color:var(--tx);font-weight:600}
.dl-wl{margin-top:18px;animation:dlin .25s var(--ease) both}
.dl-wl-note{margin:0;font-size:14.5px;color:var(--tx2);text-align:center}
.dl-wl .wl{margin-top:12px;width:100%}
@keyframes dlin{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.dl-other{margin:20px 0 0;text-align:center;font-size:14.5px}
/* on a phone the email option leads: the visitor cannot install here */
.dl-pick[data-detected="phone"] .dl-email{order:-1;margin:0 0 16px}
.dl-pick[data-detected="phone"] .dl-detect{order:-2}

/* email me the link (phones and unknown systems) */
.dl-email{margin-top:16px;display:grid;grid-template-columns:1fr minmax(0,500px);gap:24px;align-items:center;padding:22px 24px;border-radius:var(--r-win);border:1px dashed var(--line-2);background:rgba(16,16,19,.7)}
.dl-email-copy{display:flex;gap:14px;align-items:flex-start}
.dl-email h2{margin:0 0 4px;font-size:19px;font-weight:600;letter-spacing:-.01em}
.dl-email p{margin:0;font-size:14.5px;color:var(--tx2);line-height:1.5}
.dl-email .wl{margin:0;width:100%}

.dl-jump{list-style:none;margin:34px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.dl-jump a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--line);color:var(--tx2);font-size:14px;transition:border-color .2s,color .2s}
.dl-jump a:hover{border-color:var(--line-2);color:var(--tx)}
.dl-jump .i{width:16px;height:16px;color:var(--tx3)}

/* ---------- will it run ---------- */
.dl-req th:first-child{white-space:nowrap}
.dl-req tbody th .os{margin-right:.35em}
.dl-reqtag{display:none;margin:0 0 10px}
.dl-fine{margin:14px 0 0;font-size:13.5px;color:var(--tx3)}
.dl-check-row{margin-top:110px}
.dl-step{margin:0 0 14px;font-size:13px;color:var(--coral)}
.dl-chk{max-width:560px;justify-self:end;width:100%}
.dl-rows{list-style:none;margin:0;padding:10px 12px}
.dl-rows li{display:grid;grid-template-columns:20px 1fr auto 86px;gap:12px;align-items:center;min-height:52px;padding:0 8px;border-bottom:1px solid var(--line);font-size:14.5px;color:var(--tx2)}
.dl-rows li:last-child{border-bottom:0}
.dl-rows li>.i{width:17px;height:17px;color:var(--tx3)}
.dl-rows b{font:500 13.5px var(--mono);color:var(--tx)}
.dl-res{display:grid;justify-items:end}
.dl-res>*{grid-area:1/1}
.dl-res .status .i{width:12px;height:12px}
.dl-pend{transition:opacity .3s}
.dl-res .st.on+.dl-pend{opacity:0}
.dl-chk .dl-verdict{max-width:none;display:flex;align-items:center;gap:10px;margin:4px 20px 18px;padding:14px 16px;border-radius:var(--r-md);background:rgba(125,220,171,.08);border:1px solid rgba(125,220,171,.35);font:600 17px/1.3 var(--display);color:var(--tx)}
.dl-verdict .i{width:20px;height:20px;color:var(--ok);flex:none}

/* ---------- IT ---------- */
.dl-it{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:1000px;margin:0 auto}
.dl-file{border-radius:var(--r-lg);background:linear-gradient(180deg,var(--s2),var(--s1));border:1px solid var(--line);padding:22px 22px 20px;display:flex;flex-direction:column}
.dl-file header{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.dl-file header .os{width:20px;height:20px}
.dl-file h3{margin:0;font-size:19px;font-weight:600}
.dl-file header .tag{margin-left:auto}
.dl-file dl{margin:0 0 18px}
.dl-file dl>div{display:grid;grid-template-columns:96px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.dl-file dt{color:var(--tx3)}
.dl-file dd{margin:0;color:var(--tx)}
.dl-file dd.mono{font-size:13px;color:var(--tx2)}
.dl-later{margin-top:auto;display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;border:1px dashed var(--line-2);font-size:14px;color:var(--tx3)}
.dl-notes{margin:26px 0 0;text-align:center;font-size:15px;color:var(--tx2)}
.dl-notes a{color:var(--tx);text-decoration:underline;text-decoration-color:var(--line-c);text-underline-offset:4px}
.dl-notes a:hover{color:var(--coral-h)}
.dl-faq{padding-top:40px}
.dl-fin{padding:110px 0 120px;width:min(1200px,100% - 40px);margin:0 auto}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .dl-opts{grid-template-columns:1fr}
  .dl-email{grid-template-columns:1fr}
  .dl-it{grid-template-columns:1fr}
  .dl-chk{justify-self:stretch;max-width:none}
  .dl-check-row{margin-top:80px}
}
@media (max-width:640px){
  .dl-pick,.dl-fin{width:calc(100% - 32px)}
  .dl-pick{margin-top:34px}
  .dl-opt{padding:20px 18px 18px}
  .dl-opt-top{gap:12px;margin-bottom:18px;align-items:flex-start}
  .dl-mark{width:46px;height:46px}
  .dl-opt-top h2{font-size:21px}
  .dl-email{padding:18px}
  .dl-rows{padding:6px 6px}
  .dl-rows li{grid-template-columns:18px 1fr auto 74px;gap:8px;font-size:13.5px;padding:0 4px}
  .dl-rows b{font-size:12.5px}
  .dl-verdict{margin:4px 12px 14px;font-size:15.5px}
  .dl-file dl>div{grid-template-columns:80px 1fr}
  .dl-reqtag{display:block}
  .dl-req thead{display:none}
  .dl-req,.dl-req tbody,.dl-req tr,.dl-req th,.dl-req td{display:block;width:100%}
  .dl-req tr{padding:14px 14px 12px;border-bottom:1px solid var(--line)}
  .dl-req tr:last-child{border-bottom:0}
  .dl-req tbody th,.dl-req td{padding:0;border:0}
  .dl-req tbody th{margin-bottom:8px;font-size:15px;white-space:normal}
  .dl-req td{display:grid;grid-template-columns:104px 1fr;gap:10px;padding:3px 0}
  .dl-req td::before{content:attr(data-l);color:var(--tx3);font-size:12.5px}
  .dl-req td+td{color:var(--tx)}
  .dl-fin{padding:80px 0 90px}
}
@media (max-width:380px){.dl-rows li{grid-template-columns:18px 1fr 70px}.dl-rows li b{display:none}}
@media (prefers-reduced-motion:reduce){.dl-howbox,.dl-wl{animation:none}.dl-pend{transition:none}}
