:root{
  --bg:#ffffff;
  --text:#0c1b2a;
  --muted:#5b6b7a;
  --card:#ffffff;
  --border:rgba(12,27,42,.10);
  --brand:#2f6fed;
  --danger:#d92d20;
  --shadow: 0 10px 30px rgba(12,27,42,.08);
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: linear-gradient(180deg, #fff, #f7fbff);
  color:var(--text);
  min-height: 100vh;
}
.wrap{
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 42px 18px 80px;
  box-sizing: border-box;
}
.page-centered .wrap{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border:1px solid var(--border);
  background: rgba(47,111,237,.06);
  color: var(--text);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.badge .dot{
  width:10px;height:10px;border-radius:999px;background:var(--brand);
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
  min-width: 0;
  max-width: 100%;
}
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media(max-width:720px){
  .grid{ grid-template-columns: 1fr; }
}
label{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
}
input{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border:1px solid var(--border);
  outline:none;
  font-size: 15px;
}
input:focus{
  border-color: rgba(47,111,237,.55);
  box-shadow: 0 0 0 4px rgba(47,111,237,.12);
}
textarea{
  width:100%;
  display:block;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
  background: #fff;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  outline: none;
  resize: vertical;
  min-height: 110px;
  max-height: 260px;
}
textarea::placeholder{
  color: rgba(91,107,122,.85);
}
textarea:focus{
  border-color: rgba(47,111,237,.55);
  box-shadow: 0 0 0 4px rgba(47,111,237,.12);
}
.checks{
  margin-top: 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.check{
  display:flex;
  gap:10px;
  align-items:center;
  font-size: 14px;
  color: var(--text);
  padding: 7px 9px;
  border: 1px solid rgba(12,27,42,.08);
  border-radius: 12px;
  background: rgba(12,27,42,.015);
}
.check input{ width:auto; margin-top: 0; }
.check input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: 0;
  border-radius: 4px;
  border: 1.5px solid rgba(47,111,237,.45);
  background: #fff;
  display: inline-block;
  flex: 0 0 14px;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.check input[type="checkbox"]:hover{
  border-color: rgba(47,111,237,.7);
}
.check input[type="checkbox"]:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(47,111,237,.18);
}
.check input[type="checkbox"]:checked{
  border-color: var(--brand);
  background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M4 10.5l3.2 3.2L16 5.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.btn-pay{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-icon{
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon svg{
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.payment-note{
  margin-top: 0;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.payment-note svg{
  width: 13px;
  height: 13px;
  fill: var(--brand);
}
.payment-option{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.actions{
  margin-top: 18px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.btn{
  appearance:none;
  border:0;
  background: var(--brand);
  color:#fff;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  cursor:pointer;
}
.note{
  color: var(--muted);
  font-size: 13px;
}
.header .note{
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 14px;
  border:1px solid var(--border);
  background: rgba(47,111,237,.03);
  border-radius: 14px;
}
.hero-head{
  margin-bottom: 18px;
}
.hero-title{
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: .2px;
}
.hero-infographics{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.info-inside-form{
  margin-bottom: 14px;
}
.info-card{
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(47,111,237,.18);
  background: linear-gradient(135deg, rgba(47,111,237,.12), rgba(47,111,237,.04));
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 5px 14px rgba(47,111,237,.08);
}
.info-icon{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47,111,237,.18);
  color: #1d4ed8;
  flex: 0 0 32px;
}
.info-icon svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.info-content{
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.info-title{
  font-size: 13px;
  font-weight: 700;
  color: #17366e;
  margin-bottom: 2px;
}
.info-text{
  font-size: 12px;
  line-height: 1.35;
  color: #274a85;
}
.watermark{
  margin-top: 12px;
  text-align: center;
  color: rgba(91,107,122,.52);
  font-size: 11px;
  letter-spacing: .2px;
}
.watermark a,
.watermark a:link,
.watermark a:visited{
  color: inherit;
  text-decoration: none;
}
.watermark a:hover{
  color: rgba(47,111,237,.85);
}
.form-meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  color: rgba(91,107,122,.52);
  font-size: 11px;
  letter-spacing: .2px;
  width: 100%;
}
.under-form-meta{
  margin-top: 10px;
  padding: 0 22px;
}
.secure-inline{
  text-align:left;
  min-width: 0;
}
.form-meta-row .watermark{
  margin-top: 0;
  text-align: right;
  font-size: inherit;
  color: inherit;
  min-width: 0;
}
.success-title{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.check-icon{
  color: #16a34a;
  font-size: 1.1em;
  line-height: 1;
}
.error{
  margin-top: 12px;
  border:1px solid rgba(217,45,32,.25);
  background: rgba(217,45,32,.06);
  color: #7a1b15;
  padding: 12px 14px;
  border-radius: 14px;
}
.modal{
  margin-top: 18px;
  border:1px solid rgba(47,111,237,.22);
  background: rgba(47,111,237,.06);
  padding: 14px;
  border-radius: 16px;
}
@media(max-width:720px){
  .wrap{
    padding: 18px 12px 40px;
    overflow-x: hidden;
  }
  .header{
    flex-direction: column;
    align-items: flex-start;
  }
  .header .note{
    width: 100%;
  }
  .hero-title{
    font-size: 24px;
  }
  .hero-head{
    text-align: center;
  }
  .hero-infographics{ gap: 10px; }
  .form-meta-row{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .under-form-meta{
    padding: 0;
  }
  .form-meta-row .watermark{
    text-align: center;
  }
  .submit-actions{
    justify-content: center;
  }
  .submit-actions .btn{
    margin-left: auto;
    margin-right: auto;
  }
}
@media(max-width:920px), (max-height:780px){
  .wrap{
    padding: 22px 14px 30px;
  }
  .page-centered .wrap{
    min-height: auto;
    justify-content: flex-start;
  }
  .hero-title{
    font-size: 26px;
    margin-bottom: 10px;
  }
  .card{
    padding: 18px;
  }
}
@media(max-width:480px){
  .wrap{ padding: 14px 10px 24px; }
  .card{ padding: 14px; }
  .info-card{ padding: 10px; }
}