
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
  sans-serif;
  background-color: #ffffff; 
  color: #111111;
}

input,
textarea,
button,
select {
  font-family: inherit;
}

.app-wrapper {
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #ffffff;
}

.hidden {
  display: none !important;
}


.page {
  width: 100%;
}

.page-inner {
  padding: 10px 10px 5px;
}

.btn-primary {
  display: inline-block;
  width: 100%;              
  padding: 14px 18px;
  border-radius: 999px;     
  border: none;
  background-color: #0600FE; 
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  outline: none;
}

.btn-primary:hover {
  background-color: #0045d1;
}

.btn-primary:active {
  background-color: #0035a5;
}


.btn-primary:disabled {
  background-color: #c7c7cc;
  color: #888888;
  cursor: default;
}

.page1-text-block {
  margin: 16px 0 20px;  
  padding: 0 16px;       
  text-align: center;   
}

.page1-title {
  font-size: 20px;       
  font-weight: 700;
  color: #D10000;
  margin: 0 0 8px 0;     
}

.page1-subtitle {
  font-size: 20px;
   font-weight: 700;
 color: #D10000;
 line-height: 1.4;
  margin: 0;            
}

.top-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;            
  cursor: pointer;
}


.hero-img {
  display: block;
  width: 199px;            
  height: 153px;           
  margin: 16px auto;  
 
}

.download-img {
  display: block;
  width: 85%;
  
  height: auto;
 
  border-radius: 16px;         
  cursor: pointer;
  margin: 16px auto;   
}


.footer-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  cursor: pointer;
}

.block-spacing {
  margin-top: 14px;  
  margin-bottom: 0;   
}


.block-spacing-footer {
  margin-top: 18px;
}

.page-title {
  font-size: 22px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.page-subtitle {
  font-size: 14px;
  color: #555555;
  margin: 0 0 12px;
}

.page-box {
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  padding: 16px;
  background-color: #fafafa;
}

.page-info-inner {
  padding: 0;
}

.page-info-img {
  display: block;
  width: 100%;
  height: auto;        
  cursor: pointer;      
}

#page-2 {
  background-color: #ffffff;
}

.page2-inner {
  min-height: 100vh;             
  padding: 20px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page2-icon {
  width: 190px;
  height: 190px;
  object-fit: contain;            
  margin-bottom: 5px;            
}


.page2-title {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  text-align: center;
  line-height: 1.3;
  margin: 0 0 24px 0;
}

.page2-panels {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;                     
}

.page2-panel {
  display: flex;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  background-color: #ededed;
  border: 1px solid #ededed;
}

.page2-check-img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-right: 10px;
  margin-top: 4px;               
}

.page2-panel-text {
  font-size: 20px;
  line-height: 1.4;
  color: #1f1f1f;
  font-weight: 700;
}

.page2-btn {
  margin-top: 28px;               
  width: 100%;
}

.page3-hero-img {
  display: block;
  width: 100%;
  height: auto;
}

.page3-panel {
  position: relative;
  margin-top: -20px;         
  background-color: #ffffff;
  border-radius: 24px 24px 0 0;
  padding-top: 24px;
  min-height: calc(100vh - 80px); 
}

.page3-inner {
  padding: 0 16px 24px;
}

.page3-title {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  
  margin: 8px 0 8px;
  padding: 0 10px;   
}

.page3-memo-wrapper {
  position: relative;
  margin-bottom: 12px;
}

.page3-memo {
  width: 100%;
  min-height: 165px;     
  max-height: 270px;
  padding: 10px 30px 24px 10px; 
  border-radius: 10px;
  border: 2px solid #999;
  font-size: 22px;
  color: #3b3b3b;
  font-weight: 700;
  resize: vertical;
  outline: none;
  line-height: 1.4;
  box-sizing: border-box;
}

.page3-memo:focus {
  border-color: #0b5cff;
}

.page3-clear-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background-color: #666565;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.page3-paste-link {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border: none;
  background: none;
  color: #0b5cff;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  padding: 2;
}

.page3-help-text {
  font-size: 18px;
  text-align: center;
  color: #454444;
  margin: 8px 0 8px;
  padding: 15px 10px;   

}

.page3-btn-continue {
  width: 100%;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.page3-btn-continue[disabled] {
  background-color: #5c79f2;
  color: #ffffff;
  cursor: not-allowed;
  opacity: 0.9;
}

.page3-footer-link {
  font-size: 14px;
  color: #0b5cff;
  text-align: center;
  margin: 0;
}

.page4-email-wrapper {
  margin-top: 12px;
}

.page4-email-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 2px solid #cccccc;
  font-size: 18px;
  box-sizing: border-box;
  color: #757575
}

.page4-email-input:focus {
  outline: none;
  border-color: #0070ff;
  box-shadow: 0 0 0 1px rgba(0, 112, 255, 0.3);
}

.page4-help-text {
  margin-top: 16px;
}

.page4-btn-continue {
  width: 100%;
  margin-top: 12px;
}

.page4-status-text {
  margin-top: 16px;
  font-size: 16px;
  color: #3d3d3d;
}

.page4-loader {
  margin-top: 12px;
  text-align: center;
}

.page4-loader-img {
  width: 100px;
  height: 100px;
}

#page-5 {
  flex: 1;
  display: flex;
}

.page5-inner {
  width: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;     
  justify-content: flex-start;
}

.page5-image-wrap {
  margin-top: 45px;        
  margin-bottom: 5px;
}

.page5-image {
  width: 200px;             
  height: 200px;           
  object-fit: cover;        
  border-radius: 16px;     
}

.page5-title {
  font-size: 30px;         
  font-weight: 700;
  color: #222;             
  text-align: center;
  margin: 8px 0;
}

.page5-text {
  font-size: 20px;         
  color: #3d3d3d;              
  text-align: center;
  line-height: 1.4;
  margin: 4px 0;
  max-width: 360px;        
}
