/* ===== Reset & Variables ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0B1F2A;
  --secondary: #5A7183;
  --brand: #066B8E;
  --surface: #FFFFFF;
  --canvas: #F6FBFC;
  --subtle: #D8E6EC;
  --on-brand: #FFFFFF;
  --bullet: #0780AA;
}

/* ===== Base ===== */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--canvas);
  color: var(--primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
}

/* ===== Glow decorations ===== */
.glow {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.glow-top-left {
  width: 1100px;
  height: 1100px;
  top: -560px;
  left: -480px;
  background: radial-gradient(circle at center,
    rgba(7, 128, 170, 0.30) 0%,
    rgba(7, 128, 170, 0.105) 55%,
    rgba(7, 128, 170, 0) 100%);
  filter: blur(30px);
}

.glow-bottom-right {
  width: 980px;
  height: 980px;
  bottom: -516px;
  right: -540px;
  background: radial-gradient(circle at center,
    rgba(7, 128, 170, 0.24) 0%,
    rgba(7, 128, 170, 0.084) 55%,
    rgba(7, 128, 170, 0) 100%);
  filter: blur(30px);
}

/* ===== Header ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1280px;
  max-width: 100%;
  height: 49px;
  min-height: 48px;
  margin: 0 auto;
  padding: 32px 48px 0;
}

.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
}

.header-contact .questions {
  font-weight: 400;
  color: var(--secondary);
}

.header-contact .mail {
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
}

/* ===== Hero ===== */
.hero {
  width: 1280px;
  max-width: 100%;
  height: 871px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 0 24px;
  text-align: center;
}

.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 58px;
  line-height: 108%;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin-bottom: 0;
}

.hero h1 .accent {
  color: var(--brand);
}

.hero h1 .dot {
  color: var(--primary);
}

.hero .lead {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 165%;
  letter-spacing: 0;
  color: var(--secondary);
  max-width: 600px;
  margin: 0;
}

/* ===== Email form ===== */
.promo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--brand);
  max-width: 551px;
  width: 100%;
  text-align: center;
  margin: 0;
}

.email-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 520px;
  max-width: 100%;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--subtle);
  border-radius: 16px;
  padding: 8px 8px 8px 22px;
  box-shadow: 0 8px 24px -4px rgba(8, 64, 84, 0.10);
}

.email-form input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 100%;
  color: var(--secondary);
}

.email-form input::placeholder {
  color: var(--secondary);
}

.btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 100%;
  color: var(--on-brand);
  background: var(--brand);
  border: none;
  border-radius: 12px;
  padding: 15px 26px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn:hover {
  background: #055b79;
}

/* ===== Notes & form messages ===== */
.note {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--secondary);
  text-align: center;
}

.form-message {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: var(--brand);
  text-align: center;
  margin-top: 16px;
}

.form-message.form-error {
  color: #c0392b;
}

/* ===== Features / pills ===== */
.features {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 12px;
  max-width: 876px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.pill {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--surface);
  border: 1px solid var(--subtle);
  border-radius: 100px;
  padding: 9px 16px;
  white-space: nowrap;
}

/* ===== Footer ===== */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 48px 40px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.site-footer .copy {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--secondary);
}

.socials {
  display: flex;
  align-items: center;
  gap: 22px;
}

.socials a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--brand);
  text-decoration: none;
}

.socials a:hover {
  text-decoration: underline;
}

/* ===== Confirmation modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 42, 0.32);
  padding: 16px;
}

.confirmation-modal {
  width: 480px;
  max-width: 100%;
  height: auto;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 20px 48px -4px rgba(11, 31, 42, 0.239);
  padding: 40px 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.check-icon {
  flex-shrink: 0;
}

.confirm-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -1%;
  color: var(--primary);
  width: 400px;
  max-width: 100%;
}

.confirm-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0%;
  color: var(--secondary);
  width: 400px;
  max-width: 100%;
}

.confirm-body .confirm-email {
  font-weight: 700;
  color: var(--primary);
}

.modal-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #FFFFFF;
  background: #066B8E;
  border: none;
  border-radius: 16px;
  width: 400px;
  max-width: 100%;
  height: 52px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-btn:hover {
  background: #055b79;
}

/* ===== Desktop-only / mobile-only defaults ===== */
.lead-mobile,
.copy-mobile,
.note-mobile,
.socials .mobile-only {
  display: none;
}

.features-mobile {
  display: none;
}

/* ===== Mobile responsive ===== */
@media (max-width: 640px) {
  .glow-top-left {
    width: 620px;
    height: 620px;
    top: -260px;
    left: -230px;
    background: radial-gradient(circle at center,
      rgba(7, 128, 170, 0.28) 0%,
      rgba(7, 128, 170, 0.10) 55%,
      rgba(7, 128, 170, 0) 100%);
    filter: blur(25px);
  }

  .glow-bottom-right {
    display: none;
  }

  .site-header {
    flex-direction: column;
    gap: 10px;
    padding: 24px 16px;
  }

  .logo {
    height: 40px;
    width: auto;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding: 64px 16px 0;
  }

  .hero h1 {
    font-size: 31px;
    letter-spacing: -0.025em;
  }

  .lead-desktop {
    display: none;
  }

  .lead-mobile {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 165%;
    letter-spacing: 0;
    color: var(--secondary);
    max-width: 342px;
    margin: 0 auto 32px;
  }

  .email-form {
    flex-direction: column;
    gap: 10px;
    width: 342px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .email-form input {
    width: 342px;
    max-width: 100%;
    height: 51px;
    background: var(--surface);
    border: 1px solid var(--subtle);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 6px 18px -3px rgba(8, 64, 84, 0.08);
    font-size: 15px;
    flex: none;
  }

  .btn {
    width: 342px;
    max-width: 100%;
    border-radius: 14px;
    padding: 17px;
    flex: none;
  }

  .note-desktop {
    display: none;
  }

  .note-mobile {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--secondary);
    text-align: center;
  }

  .features {
    display: none;
  }

  .features-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 176px;
    margin: 32px auto;
  }

  .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .feature-item .bullet {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--bullet);
    flex-shrink: 0;
  }

  .feature-item .label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--secondary);
    white-space: nowrap;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
    padding: 24px 16px 32px;
    text-align: center;
  }

  .copy-desktop {
    display: none;
  }

  .copy-mobile {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--secondary);
  }

  .socials {
    width: 169px;
    justify-content: space-between;
    gap: 0;
  }

  .socials .mobile-only {
    display: inline-block;
  }

  .confirmation-modal {
    padding: 32px 20px 24px;
    gap: 20px;
    width: calc(100% - 32px);
  }

  .confirm-title,
  .confirm-body {
    width: 100%;
  }
}
