*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "discordia", sans-serif;
  font-weight: 400;
  font-style: normal;
  background: #2e3192;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Top — fixed aspect ratio, anchored to top of viewport ── */
/* Desktop TOP: 2880 × 1024px (2x), CSS 1440 × 512px           */

.bg-top {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 512;
  background-image: url('Assets/PNA_LD_BG_TOP.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ── Middle — pure navy, flexes to absorb extra height ── */

.bg-middle {
  flex: 1;
}

/* ── Bottom — fixed aspect ratio, anchored to viewport bottom ── */
/* Desktop BOTTOM: 2880 × 1024px (2x), CSS 1440 × 512px              */

.bg-bottom {
  width: 100%;
  aspect-ratio: 1440 / 512;
  background-image: url('Assets/PNA_LD_BG_BOTTOM.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ── Content — absolutely positioned within .bg-top ── */
/* Original content sat at 19% of full plate (1024 CSS units high)  */
/* TOP is the upper half (0–512), so 19/50 = 38% of TOP             */

.content {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: clamp(320px, 38.9vw, 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Copy ── */

.copy {
  color: white;
  font-size: clamp(11px, 1.04vw, 15px);
  text-align: center;
  line-height: 1.65;
  width: 100%;
  margin-bottom: clamp(20px, 2.5vw, 36px);
}

.copy p + p {
  margin-top: 1.2em;
}

.copy-details {
  line-height: 1.45;
}

/* ── Form ── */

.interest-form {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.49vw, 7px);
  width: 100%;
  max-width: clamp(260px, 27.8vw, 400px);
}

.form-row {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.11vw, 16px);
}

.form-row label {
  color: white;
  font-family: "discordia", sans-serif;
  font-size: clamp(11px, 1.04vw, 15px);
  width: clamp(46px, 4.44vw, 64px);
  flex-shrink: 0;
}

.form-row input {
  flex: 1;
  background: #d9d9d9;
  border: none;
  height: clamp(18px, 1.81vw, 26px);
  font-family: "discordia", sans-serif;
  font-size: clamp(10px, 0.9vw, 13px);
  padding: 0 8px;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

/* ── Submit button ── */

.submit-btn {
  margin-top: clamp(14px, 1.67vw, 24px);
  align-self: center;
  background: transparent;
  border: 1.5px solid white;
  color: white;
  font-family: "discordia", sans-serif;
  font-size: clamp(10px, 0.9vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: clamp(7px, 0.7vw, 10px) clamp(28px, 3.06vw, 44px);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.submit-btn:hover {
  background: white;
  color: #2e3192;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ── Thanks ── */

.thanks-message {
  display: none;
  color: white;
  font-size: clamp(11px, 1.04vw, 15px);
  text-align: center;
  padding-top: clamp(20px, 2.22vw, 32px);
}

/* ── Mid-size: tighten copy as TOP image scales down ── */

@media (min-width: 601px) and (max-width: 1150px) {

  .copy {
    line-height: 1.4;
    margin-bottom: clamp(12px, 1.8vw, 20px);
  }

  .copy p + p {
    margin-top: 0.7em;
  }

  .copy-details {
    line-height: 1.3;
  }

}

/* ── Mobile ── */
/* Mobile TOP/BOTTOM: 804 × 874px (2x), CSS 402 × 437px each        */
/* Original content at 17% of full mobile plate → 34% of TOP_MOBILE */

@media (max-width: 600px) {

  .bg-top {
    aspect-ratio: 402 / 437;
    background-image: url('Assets/PNA_LD_BG_TOP_MOBILE.png');
  }

  .bg-bottom {
    aspect-ratio: 402 / 437;
    background-image: url('Assets/PNA_LD_BG_BOTTOM_MOBILE.png');
  }

  .content {
    top: 40%;
    max-width: 72%;
  }

  .copy {
    font-size: clamp(11px, 3.23vw, 13px);
    margin-bottom: clamp(16px, 4.98vw, 20px);
  }

  .copy p + p {
    margin-top: 0.9em;
  }

  .interest-form {
    gap: clamp(4px, 1.24vw, 5px);
  }

  .form-row label {
    font-size: clamp(11px, 3.23vw, 13px);
    width: clamp(46px, 13.93vw, 56px);
  }

  .form-row input {
    height: clamp(20px, 5.72vw, 23px);
    font-size: clamp(10px, 2.99vw, 12px);
  }

  .submit-btn {
    margin-top: clamp(12px, 3.98vw, 16px);
    font-size: clamp(10px, 2.99vw, 12px);
    padding: clamp(6px, 1.99vw, 8px) clamp(28px, 8.96vw, 36px);
  }

}
