/* ============================================================
   FOUNDATION RESET — landing page
   ============================================================ */

.lp-body {
  background: #0d2a3a;
  min-height: 100vh;
}

.lp {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  overflow: hidden;
}

/* Ocean / sky background.
   Drop a file at images/ocean-bg.jpg for a real photo;
   otherwise the layered gradient renders sky + horizon + ocean. */
.lp__bg {
  position: absolute;
  inset: 0;
  background-color: #1c4a66;
  background-image:
    url('../images/ocean-bg.jpg'),
    linear-gradient(
      to bottom,
      #cfe3ec 0%,
      #b8d3df 30%,
      #e3d4b8 46%,
      #cab891 50%,
      #5e90a8 56%,
      #2c6585 78%,
      #1c4a66 100%
    );
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  z-index: 0;
}

.lp__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp__logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.lp__card {
  width: 100%;
  background: rgba(253, 250, 245, 0.18);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
}

.lp__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
  background: rgba(196, 131, 74, 0.85);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.lp__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--accent);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.18);
}

.lp__sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--dark);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(255,255,255,0.4);
}

/* ---- form ---- */
.lp__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 480px;
  margin: 0 auto;
}

/* override flex display when [hidden] is set after successful submit */
.lp__form[hidden] { display: none; }

.lp__field {
  display: block;
  width: 100%;
}

.lp__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.lp__form input {
  width: 100%;
  padding: 1.1rem 1.35rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s ease, transform 0.1s ease;
}

.lp__form input::placeholder {
  color: #b9ada1;
}

.lp__form input:focus {
  outline: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12), 0 0 0 3px rgba(196,131,74,0.35);
}

.lp__btn {
  margin-top: 0.4rem;
  padding: 1.15rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(196,131,74,0.35);
}

.lp__btn:hover {
  background: #b07338;
  transform: translateY(-1px);
}

.lp__btn:active {
  transform: translateY(0);
}

.lp__note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--dark);
  opacity: 0.7;
}

/* ---- thank-you state ---- */
.lp__thanks {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}

.lp__thanks h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1rem;
}

.lp__thanks p {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.55;
}

/* ---- mobile ---- */
@media (max-width: 600px) {
  .lp {
    padding: 1.5rem 1rem;
    align-items: flex-start;
    padding-top: 3rem;
  }
  .lp__card {
    padding: 2rem 1.25rem 1.75rem;
  }
  .lp__logo {
    margin-bottom: 1.5rem;
  }
}
