*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:#f8efe2;
  color:#24170d;
}

.topBar{
  height:74px;
  background:#fff7ec;
  border-bottom:4px solid #24170d;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 22px;
  position:sticky;
  top:0;
  z-index:20;
}

.logo{
  font-size:22px;
  font-weight:900;
}

.desktopNav{
  display:flex;
  gap:12px;
}

.desktopNav button,
.mobileMenu button,
.loginBtn,
.loginSubmit,
.fileDownloadBox button{
  border:3px solid #24170d;
  background:#ff9f1c;
  padding:10px 16px;
  border-radius:14px;
  font-weight:900;
  cursor:pointer;
  box-shadow:3px 3px 0 #24170d;
}

.loginBtn,
.loginSubmit{
  background:#1f7a4d;
  color:white;
}

.hamburger{
  display:none;
  border:3px solid #24170d;
  background:#fff;
  font-size:24px;
  border-radius:12px;
  padding:6px 12px;
  box-shadow:3px 3px 0 #24170d;
}

.mobileMenu{
  display:none;
  background:#fff7ec;
  border-bottom:4px solid #24170d;
  padding:14px;
  gap:10px;
  flex-direction:column;
}

.fileDrawerPage{
  min-height:100vh;
  padding:40px 18px;
}

.hero{
  max-width:900px;
  margin:0 auto 35px;
  text-align:center;
}

.badge{
  display:inline-block;
  background:#ff9f1c;
  padding:8px 18px;
  border-radius:50px;
  font-weight:900;
  border:3px solid #24170d;
  box-shadow:4px 4px 0 #24170d;
}

.hero h1{
  font-size:48px;
  margin:22px 0 10px;
  font-weight:900;
}

.hero p{
  font-size:18px;
  color:#6b4d35;
  margin-bottom:20px;
}

.warningBox{
  background:#fff3cd;
  border:3px solid #24170d;
  border-radius:18px;
  padding:16px;
  max-width:760px;
  margin:0 auto 20px;
  font-weight:900;
  box-shadow:4px 4px 0 #24170d;
}

.storageBox,
.fileDownloadBox,
.featureChecklist{
  max-width:1000px;
  margin:30px auto;
  background:#fff7ec;
  border:4px solid #24170d;
  border-radius:24px;
  padding:24px;
  box-shadow:7px 7px 0 #24170d;
}

.storageBox{
  max-width:620px;
  margin:0 auto 26px;
}

.storageBox div:first-child{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
  font-weight:900;
}

.storageBar{
  width:100%;
  height:18px;
  background:#ead5bd;
  border:3px solid #24170d;
  border-radius:50px;
  overflow:hidden;
  margin-bottom:14px;
}

.storageBar span{
  display:block;
  height:100%;
  width:0%;
  background:#1f7a4d;
}

.uploadBox{
  display:flex;
  flex-direction:column;
  gap:6px;
  max-width:520px;
  margin:0 auto;
  padding:24px;
  background:#fff7ec;
  border:4px dashed #24170d;
  border-radius:24px;
  cursor:pointer;
  box-shadow:7px 7px 0 #24170d;
}

.uploadBox input{
  display:none;
}

.uploadBox span{
  font-size:22px;
  font-weight:900;
}

.uploadBox small{
  color:#7b5b42;
  font-weight:700;
}

.cabinet{
  max-width:1000px;
  margin:0 auto;
  background:#b86b35;
  border:5px solid #24170d;
  border-radius:28px;
  padding:28px;
  box-shadow:12px 12px 0 #24170d;
}

.drawer{
  min-height:115px;
  background:#e6a15f;
  border:4px solid #24170d;
  border-radius:20px;
  margin-bottom:22px;
  padding:18px;
  position:relative;
  box-shadow:inset 0 -8px 0 rgba(0,0,0,.12);
}

.drawer:last-child{
  margin-bottom:0;
}

.drawerLabel{
  position:absolute;
  top:-18px;
  left:28px;
  background:#fff7d6;
  border:3px solid #24170d;
  border-radius:10px;
  padding:6px 16px;
  font-size:13px;
  font-weight:900;
  letter-spacing:1px;
  box-shadow:3px 3px 0 #24170d;
}

.fileList{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  padding-top:18px;
}

.fileCard{
  background:#fffaf1;
  border:3px solid #24170d;
  border-radius:14px;
  padding:12px;
  width:180px;
  min-height:118px;
  box-shadow:4px 4px 0 #24170d;
  position:relative;
}

.deleteBtn{
  position:absolute;
  top:7px;
  right:7px;
  width:28px;
  height:28px;
  border-radius:50%;
  border:2px solid #24170d;
  background:#e63946;
  color:white;
  font-weight:900;
  cursor:pointer;
}

.fileIcon{
  font-size:28px;
}

.fileName{
  margin-top:6px;
  font-size:13px;
  font-weight:900;
  word-break:break-word;
}

.fileSize{
  margin-top:5px;
  font-size:11px;
  color:#75543b;
  font-weight:700;
}

.fileDownloadBox h2,
.featureChecklist h2{
  font-size:28px;
  margin-bottom:16px;
}

.fileDownloadBox p{
  font-weight:700;
  line-height:1.5;
  margin-bottom:14px;
}

.fileDownloadBox select{
  border:3px solid #24170d;
  border-radius:12px;
  padding:10px 14px;
  font-weight:900;
  background:white;
  box-shadow:3px 3px 0 #24170d;
  cursor:pointer;
  margin:6px 6px 6px 0;
}

.emailSendArea{
  margin-top:18px;
}

.emailInput{
  width:100%;
  margin:14px 0;
  padding:14px;
  border:3px solid #24170d;
  border-radius:14px;
  font-size:16px;
  font-weight:800;
}

.emailFileList{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:10px;
  margin:16px 0;
}

.emailFileItem{
  background:#fffaf1;
  border:3px solid #24170d;
  border-radius:14px;
  padding:12px;
  font-weight:900;
}

.featureChecklist{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.featureChecklist label{
  background:#fffaf1;
  border:3px solid #24170d;
  border-radius:14px;
  padding:12px;
  font-weight:900;
}

.featureChecklist input{
  margin-right:10px;
  transform:scale(1.2);
}

.modalOverlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  z-index:50;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.rulesModal{
  max-width:560px;
  background:#fff7ec;
  border:5px solid #24170d;
  border-radius:24px;
  padding:26px;
  box-shadow:9px 9px 0 #24170d;
  position:relative;
  max-height:90vh;
  overflow:auto;
}

.rulesModal h2{
  font-size:30px;
  margin-bottom:14px;
}

.rulesModal h3{
  margin-top:16px;
  margin-bottom:10px;
}

.rulesModal p{
  margin-bottom:14px;
  line-height:1.5;
  font-weight:700;
}

.featureList{
  margin:18px 0;
  padding-left:24px;
}

.featureList li{
  margin-bottom:10px;
  font-weight:700;
  line-height:1.5;
}

.closeModal{
  position:absolute;
  top:12px;
  right:12px;
  border:3px solid #24170d;
  background:#e63946;
  color:white;
  font-weight:900;
  border-radius:50%;
  width:34px;
  height:34px;
  cursor:pointer;
}

@media(max-width:760px){
  .desktopNav{
    display:none;
  }

  .hamburger{
    display:block;
  }

  .mobileMenu.show{
    display:flex;
  }

  .hero h1{
    font-size:36px;
  }

  .storageBox div:first-child{
    flex-direction:column;
  }

  .emailFileList{
    grid-template-columns:1fr;
  }

  .cabinet{
    padding:18px;
  }

  .fileCard{
    width:100%;
  }
}
.siteFooter{
  text-align:center;
  padding:20px 15px 30px;
  font-size:12px;
  color:#6b4d35;
  font-weight:600;
  opacity:.8;
}

.siteFooter strong{
  font-weight:700;
}