/* R-VPN Lite download page (download.plus.rvpn.space/lite/, template scripts/lite_page.html).
   site.css, polish.css and the images next to this file are copies from plus.rvpn.app (release 4083ca3), so the
   two pages read as one site. This file only adds what the download page has and the home page does not. */

/* The page you are on, in the same header menu as the home page. */
.nav a[aria-current=page]{color:#fff;box-shadow:inset 0 -2px 0 #a590ff}
.mobile-menu nav a[aria-current=page]{color:#fff;background:#262c4a;border-radius:8px}


.feature p a,.file-note a{color:#d6ceff;text-decoration:underline;text-underline-offset:3px}

/* Section headings carry the same light as «Возможности» on the home page. */
#signin .head h2,#files .head h2{background:linear-gradient(105deg,#f4f4ff 28%,#cfc7ff 78%,#a9dcff);color:transparent;background-clip:text;-webkit-background-clip:text;width:fit-content}

/* Sign-in: three numbered cards. */
.steps-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;list-style:none}
.step-no{font-size:.98rem;font-weight:750;line-height:1}

/* Every file: logo, name, version and checksum, our download and the GitHub copy. */
.file-list{display:grid;gap:12px}
.file-card{--tint:#c6b8ff;--tint-glow:#a599ff36;display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:.5rem 1.15rem;align-items:center;padding:1.2rem 1.35rem;scroll-margin-top:1rem;background:linear-gradient(117deg,#1b2140,#121a30 85%)}
.file-card.android{--tint:#a0f6c9;--tint-glow:#6ee5b13b}
.file-card.windows{--tint:#9be4ff;--tint-glow:#6bc9ff3d}
.file-card.linux,.file-card.linux-rpm{--tint:#ffe0a2;--tint-glow:#e9c88036}
.file-card.router{--tint:#9cece9;--tint-glow:#79ddde36}
.file-card.mac{--tint:#e5dcff;--tint-glow:#bba0fa40}
.file-card.ios,.file-card.updates{--tint:#b5bdd6;--tint-glow:#8f9bc026}
.file-card>.ico{width:62px;height:62px;border-radius:16px;color:var(--tint);border:1px solid #c9d4ff32;background:radial-gradient(ellipse at 25% 0%,var(--tint-glow),transparent 75%),#11192f66;box-shadow:inset 0 1px 0 #ffffff21}
.file-card>.ico .b{width:38px;height:38px}.file-card>.ico .i{width:28px;height:28px}
.file-body h3{font-size:clamp(1.06rem,1.45vw,1.25rem);letter-spacing:-.03em;line-height:1.3}
.file-meta{margin-top:.3rem;color:var(--quiet);font-size:.87rem;line-height:1.5;overflow-wrap:anywhere}
.file-meta code{display:block;margin-top:.15rem;font:.74rem/1.45 var(--mono);color:#8f9abb}
.file-actions{display:flex;flex-direction:column;align-items:stretch;gap:.4rem;min-width:14rem}
.file-actions .btn{width:100%;min-height:46px}
.alt-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:.3rem .5rem;border-radius:8px;color:#c4cde8;font-size:.84rem}
.alt-link .b{width:15px;height:15px}
.file-note{grid-column:2/-1;color:var(--text);font-size:.94rem;line-height:1.55}
.cmd{display:inline-block;padding:.12rem .5rem;border:1px solid #344063;border-radius:7px;background:#0a1124;color:#e6f6ff;font:.84rem/1.5 var(--mono);overflow-wrap:anywhere;user-select:all;-webkit-user-select:all}
.file-card .steps{grid-column:2/-1;display:grid;gap:.55rem;margin:.25rem 0 0;padding:0;list-style:none;counter-reset:step}
.file-card .steps li{counter-increment:step;position:relative;padding-left:2.2rem;color:var(--text);font-size:.94rem;line-height:1.55}
.file-card .steps li:before{content:counter(step);position:absolute;left:0;top:.05rem;width:1.55rem;height:1.55rem;border-radius:50%;display:grid;place-items:center;color:#0d1328;background:var(--tint);font-size:.78rem;font-weight:750}
.file-more{grid-column:2/-1;color:var(--text);font-size:.9rem}
.file-more summary{width:fit-content;cursor:pointer;color:#d8def4}
.file-more p{margin:.55rem 0;color:var(--quiet)}
.pkg-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(19rem,1fr));gap:.4rem .8rem}
.pkg-list li{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.38rem .65rem;border:1px solid #2f3856;border-radius:9px;background:#0e1529}
.pkg-list a{color:#dfe6ff;font:.8rem/1.4 var(--mono);overflow-wrap:anywhere}
.pkg-list a.gh{flex:none;display:inline-flex;align-items:center;gap:5px;color:#aab4d2;font:.76rem/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.pkg-list .b{width:13px;height:13px}
.file-card.ios,.file-card.updates{grid-template-columns:62px minmax(0,1fr)}
.file-card.ios{border-style:dashed;background:#171d30aa}
.file-card.updates .file-meta{color:var(--text);font-size:.93rem}
@media(hover:hover){.alt-link:hover,.pkg-list a:hover{color:var(--ice)}.file-card:not(.ios):not(.updates):hover{border-color:var(--tint);box-shadow:0 5px 20px var(--tint-glow)}}
@media(prefers-reduced-motion:no-preference){.file-card{transition:border-color .2s ease,box-shadow .2s ease}}

@media(max-width:1000px){.steps-grid{grid-template-columns:1fr}}
@media(max-width:800px){
  .file-card{grid-template-columns:52px minmax(0,1fr)}
  .file-card>.ico{width:52px;height:52px;border-radius:14px}.file-card>.ico .b{width:32px;height:32px}
  .file-actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:center;min-width:0}
  .file-actions .btn{width:auto;flex:1 1 12rem}
  .file-note,.file-card .steps,.file-more{grid-column:1/-1}
  .file-card.ios,.file-card.updates{grid-template-columns:52px minmax(0,1fr)}
}
@media(max-width:650px){
  .file-card{padding:1rem;gap:.45rem .8rem}
  .file-actions{flex-direction:column;align-items:stretch}.file-actions .btn{width:100%;flex:none}
  .pkg-list{grid-template-columns:1fr}
}
