:root{
  --signup-navy:#062D4F;
  --signup-navy-dark:#05243F;
  --signup-teal:#29ACA6;
  --signup-yellow:#FEC340;
  --signup-coral:#DD593B;
  --signup-text:#092C4B;
  --signup-muted:#6B7A90;
  --signup-line:#CFE0EA;
  --signup-bg:#F2FAF8;
  --font-title:"Montserrat",Arial,sans-serif;
  --font-body:"Montserrat",Arial,sans-serif;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
select{
  font:inherit;
}

.container{
  width:min(1180px,92%);
  margin-inline:auto;
}

h1,
h2,
.btn,
.signup-eyebrow{
  font-family:var(--font-title);
  letter-spacing:0;
}

p{
  line-height:1.62;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:0;
  border-radius:12px;
  color:white;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space:nowrap;
}

.btn:hover{
  transform:translateY(-2px);
  filter:saturate(1.05);
}

.btn:disabled{
  cursor:wait;
  opacity:.72;
  transform:none;
}

.btn-large{
  padding:18px 28px;
  font-size:14px;
}

.btn-primary{
  background:linear-gradient(135deg,var(--signup-teal),#19BDB4);
}

.signup-page{
  min-height:100vh;
  background:
    linear-gradient(180deg,rgba(242,250,248,0) 0,rgba(242,250,248,.95) 420px),
    var(--signup-bg);
  color:var(--signup-text);
}

.signup-hero{
  position:relative;
  overflow:hidden;
  background:var(--signup-navy);
  color:white;
  padding:28px 0 150px;
}

.signup-hero:before{
  content:"";
  position:absolute;
  right:12%;
  top:-30px;
  width:102px;
  height:102px;
  border-radius:50%;
  background:var(--signup-yellow);
}

.signup-hero:after{
  content:"";
  position:absolute;
  right:-90px;
  bottom:-115px;
  width:310px;
  height:310px;
  border-radius:50%;
  border:1px dashed rgba(41,172,166,.55);
}

.signup-hero-inner{
  position:relative;
  z-index:1;
}

.signup-brand{
  display:inline-flex;
  align-items:center;
  margin-bottom:70px;
}

.signup-brand img{
  width:auto;
  height:64px;
}

.signup-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.62fr);
  gap:52px;
  align-items:end;
}

.signup-copy{
  max-width:680px;
}

.signup-eyebrow{
  position:relative;
  display:flex;
  align-items:center;
  gap:13px;
  margin:0 0 16px;
  color:#D8FFFB;
  font-size:13px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.signup-eyebrow:before{
  content:"";
  width:34px;
  height:4px;
  border-radius:99px;
  background:var(--signup-yellow);
}

.signup-copy h1{
  max-width:560px;
  margin:0 0 24px;
  color:white;
  font-size:clamp(42px,5vw,70px);
  line-height:.98;
  font-weight:900;
}

.signup-copy p{
  max-width:720px;
  margin:0;
  color:white;
  font-size:18px;
  line-height:1.65;
}

.signup-note{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.24);
  border-radius:24px;
  padding:24px 28px;
  box-shadow:0 22px 60px rgba(0,0,0,.16);
}

.signup-note strong{
  display:block;
  margin-bottom:10px;
  color:white;
  font-size:19px;
  font-weight:900;
}

.signup-note p{
  margin:0;
  color:#E8F5F8;
  font-size:14px;
  line-height:1.55;
}

.signup-main{
  position:relative;
  z-index:2;
  margin-top:-92px;
  padding:0 0 72px;
}

.signup-card{
  width:min(860px,92%);
  margin:0 auto;
  overflow:hidden;
  background:white;
  border:1px solid rgba(207,224,234,.85);
  border-radius:22px;
  box-shadow:0 28px 90px rgba(6,45,79,.16);
}

.signup-card-header{
  padding:32px 34px 24px;
  border-bottom:1px solid var(--signup-line);
}

.signup-card-header h2{
  margin:0 0 8px;
  color:var(--signup-text);
  font-size:24px;
  line-height:1.15;
  font-weight:900;
}

.signup-card-header p{
  margin:0;
  color:var(--signup-muted);
  font-size:13px;
}

.signup-form{
  display:block;
}

.signup-hidden{
  position:absolute;
  left:-9999px;
  opacity:0;
}

.form-section{
  margin-top: 3%;
  /* margin:0; */
  padding:38px 34px 32px;
  border:0;
  border-bottom:1px solid var(--signup-line);
}

.form-section:first-of-type{
  padding-top:30px;
}

.form-section legend{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  margin:0 0 22px;
  color:var(--signup-text);
  font-size:17px;
  font-weight:900;
}

.form-section legend span{
  display:grid;
  width:28px;
  height:28px;
  place-items:center;
  border-radius:10px;
  background:var(--signup-navy);
  color:white;
  font-size:14px;
}

.field-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.field-grid.two-columns{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.field-full{
  grid-column:1/-1;
}

.field{
  display:grid;
  gap:8px;
}

.field span,
.check-group p,
.diploma-block p{
  margin:0;
  color:var(--signup-text);
  font-size:12px;
  font-weight:900;
}

.check-group p small{
  color:var(--signup-muted);
  font-weight:800;
}

.field input,
.field select{
  width:100%;
  min-height:42px;
  border:1px solid #BFD4E0;
  border-radius:10px;
  background:#FCFEFF;
  color:var(--signup-text);
  padding:0 13px;
  font-size:13px;
  outline:0;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field input:focus,
.field select:focus{
  border-color:var(--signup-teal);
  background:white;
  box-shadow:0 0 0 4px rgba(41,172,166,.14);
}

.field.is-invalid input,
.field.is-invalid select{
  border-color:var(--signup-coral);
  background:#FFF9F7;
  box-shadow:0 0 0 4px rgba(221,89,59,.12);
}

.field.is-invalid span,
.check-group.is-invalid p{
  color:var(--signup-coral);
}

.field input::placeholder{
  color:#8A98A6;
}

.split-fields{
  display:grid;
  grid-template-columns:1fr .72fr;
  gap:10px;
}

.check-group{
  margin-top:22px;
}

.check-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:10px;
}

.check-grid label{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  border:1px solid #BFD4E0;
  border-radius:10px;
  background:#FCFEFF;
  padding:0 13px;
  color:var(--signup-text);
  font-size:12px;
  font-weight:800;
}

.check-group.is-invalid .check-grid label{
  border-color:rgba(221,89,59,.72);
  background:#FFF9F7;
}

.check-grid input{
  width:14px;
  height:14px;
  accent-color:var(--signup-teal);
  flex:0 0 auto;
}

.diploma-list{
  display:grid;
  gap:20px;
}

.diploma-block p{
  display:inline-flex;
  margin-bottom:9px;
  border-radius:7px;
  background:#FFF0E9;
  color:var(--signup-coral);
  padding:6px 9px;
}

.diploma-grid{
  grid-template-columns:minmax(0,1fr) 170px;
}

.add-diploma{
  margin-top:18px;
  border:1px dashed var(--signup-teal);
  border-radius:10px;
  background:#F7FFFF;
  color:var(--signup-teal);
  padding:10px 14px;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}

.form-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  padding:28px 34px;
  background:linear-gradient(90deg,#FFFFFF 0%,#FFF5EA 100%);
}

.form-actions p{
  max-width:560px;
  margin:0;
  color:var(--signup-muted);
  font-size:12px;
  line-height:1.55;
}

.form-actions .btn{
  background:var(--signup-coral);
  box-shadow:0 16px 34px rgba(221,89,59,.28);
}

.next-step{
  margin:0 34px 32px;
  border-radius:14px;
  background:var(--signup-navy);
  color:white;
  padding:20px 22px;
}

.next-step strong{
  display:block;
  margin-bottom:8px;
  font-size:15px;
  font-weight:900;
}

.next-step p{
  margin:0;
  color:#E5F3F7;
  font-size:12px;
  line-height:1.55;
}

.next-step a{
  color:#7CE2DC;
  font-weight:900;
}

.form-message{
  margin:0 34px 24px;
  border-radius:12px;
  padding:14px 16px;
  background:#FFF7E5;
  color:#705000;
  font-size:13px;
  font-weight:800;
}

.thanks-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:40px 16px;
  background:
    radial-gradient(circle at 86% 8%,rgba(254,195,64,.95) 0 45px,transparent 46px),
    linear-gradient(180deg,var(--signup-navy) 0 38%,var(--signup-bg) 38% 100%);
}

.thanks-shell{
  width:min(720px,100%);
}

.thanks-brand{
  margin:0 0 28px;
}

.thanks-brand img{
  width:auto;
  height:64px;
}

.thanks-card{
  width:100%;
  border-radius:24px;
  background:white;
  border:1px solid rgba(207,224,234,.85);
  box-shadow:0 28px 90px rgba(6,45,79,.16);
  padding:42px;
}

.thanks-card .signup-eyebrow{
  color:var(--signup-teal);
}

.thanks-card h1{
  margin:0 0 16px;
  color:var(--signup-text);
  font-size:clamp(36px,5vw,56px);
  line-height:1;
}

.thanks-card > p{
  margin:0 0 24px;
  color:var(--signup-muted);
  font-size:17px;
}

.thanks-card .next-step{
  margin:0 0 28px;
}

.site-footer{
  background:#071529;
  color:white;
  padding:54px 0 22px;
}

.footer-grid{
  display:grid;
  grid-template-columns:minmax(320px,1.2fr) minmax(190px,.6fr) minmax(310px,1.05fr);
  gap:34px;
  align-items:start;
}

.footer-brand img{
  width:auto;
  height:54px;
  margin-bottom:20px;
}

.footer-brand p{
  max-width:330px;
  margin:0;
  color:#A8B6C8;
  font-size:14px;
  line-height:1.65;
}

.footer-nav,
.footer-contact{
  display:grid;
  gap:13px;
  font-style:normal;
}

.footer-nav h2,
.footer-contact h2{
  margin:0 0 10px;
  color:white;
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.footer-nav a,
.footer-contact a{
  color:#D8E5F0;
  font-size:14px;
  font-weight:700;
  line-height:1.45;
  overflow-wrap:anywhere;
  transition:.18s ease;
}

.footer-nav a:hover,
.footer-contact a:hover{
  color:var(--signup-teal);
}

.footer-contact span{
  margin-top:2px;
  color:#8190A3;
  font-size:12px;
  font-weight:800;
}

.footer-contact p{
  max-width:300px;
  margin:0;
  color:#D8E5F0;
  font-size:14px;
  line-height:1.5;
}

.footer-payment{
  margin-top:42px;
  padding-top:28px;
  border-top:1px solid rgba(220,231,239,.14);
}

.footer-payment-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}

.footer-payment-heading strong{
  color:white;
  font-size:14px;
  font-weight:900;
}

.footer-payment-heading div{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.footer-payment-heading span{
  border:1px solid rgba(220,231,239,.2);
  border-radius:8px;
  padding:8px 12px;
  color:#A8B6C8;
  font-size:12px;
  font-weight:800;
}

.footer-payment p{
  max-width:880px;
  margin:0;
  color:#95A5B8;
  font-size:12px;
  line-height:1.7;
}

.footer-company{
  margin-top:26px;
  padding-top:20px;
  border-top:1px solid rgba(220,231,239,.12);
}

.footer-company p{
  margin:0;
  color:#8FA0B4;
  font-size:12px;
  line-height:1.55;
}

.footer-company p + p{
  margin-top:4px;
}

.footer-company strong{
  color:#C8D4E2;
  font-weight:900;
}

.footer-bottom{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid rgba(220,231,239,.12);
}

.footer-bottom p{
  margin:0;
  color:#7F8EA1;
  font-size:12px;
}

@media (max-width:980px){
  .signup-hero{
    padding-bottom:128px;
  }

  .signup-brand{
    margin-bottom:48px;
  }

  .signup-hero-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .signup-note{
    max-width:620px;
  }

  .signup-main{
    margin-top:-70px;
  }

  .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:720px){
  .signup-hero{
    padding:24px 0 102px;
  }

  .signup-hero:before{
    right:-26px;
    top:-34px;
  }

  .signup-brand img{
    height:58px;
  }

  .signup-copy h1{
    font-size:40px;
  }

  .signup-copy p{
    font-size:16px;
  }

  .signup-card{
    width:min(100% - 24px,860px);
    border-radius:18px;
  }

  .signup-card-header,
  .form-section,
  .form-actions{
    padding-inline:20px;
  }

  .field-grid,
  .field-grid.two-columns,
  .diploma-grid,
  .check-grid,
  .check-grid.three-columns{
    grid-template-columns:1fr;
  }

  .split-fields{
    grid-template-columns:1fr;
  }

  .form-actions{
    align-items:stretch;
    flex-direction:column;
  }

  .form-actions .btn{
    width:100%;
  }

  .next-step,
  .form-message{
    margin-inline:20px;
  }

  .thanks-card{
    padding:28px 20px;
  }

  .thanks-brand{
    margin-bottom:22px;
  }

  .thanks-brand img{
    height:56px;
  }

  .site-footer{
    padding-top:42px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .footer-payment-heading{
    align-items:flex-start;
    flex-direction:column;
  }

  .footer-payment-heading span{
    padding:7px 10px;
  }

  .footer-brand p{
    max-width:none;
  }
}
