/* ==========================================
   YOURS, FROM THE COTTAGE
   Waiting List Page: Additional Styles
   Load after style.css
========================================== */

/* Variables used only by the form page */
:root {
  --muted: #756b5d;
}

/* Page-specific layout overrides */


/* Introductory text */
.eyebrow {
  margin-bottom: 20px;
}


h1 {
  margin: 0 0 16px;
  font-style: italic 500;
  line-height: 1;

}
h2 {
  font-size: clamp(1rem, 5vw, 2rem);
}

.intro {
  margin: 0 0 16px;
  font: italic 400 clamp(23px, 3vw, 31px)/1.3
    'Cormorant Garamond', Georgia, serif;
}

.description {
  max-width: 460px;
  margin-bottom: 28px;
  color: #5b6257;
}

/* Form layout and controls */
form {
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}

label {
  display: block;
  margin: 18px 0 7px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

input {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bcb19c;
  border-radius: 2px;
  background: rgba(255, 250, 241, 0.6);
  color: var(--forest);
  font: 15px 'DM Sans', Arial, sans-serif;
}

input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Consent checkbox */
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0 22px;
  color: #5b6257;
  font-size: 12px;
  line-height: 1.6;
}

.consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--forest);
}

.consent label {
  margin: 0;
  letter-spacing: 0;
}

/* Submit button */
button {
  display: block;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fff8ed;
  font: 600 11px 'DM Sans', Arial, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

button:hover {
  background: #4b614e;
}

/* Form messages */
.note {
  width: 110%;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  font-style:italic;
}

.status {
  margin: 14px 0 0;
  color: #7a4a36;
  font-size: 13px;
  line-height: 1.6;
}

/* Return to homepage */
.back {
  display: inline-block;
  margin-top: 15px;
  color: #78664c;
  text-decoration: none;
  font: italic 21px 'Cormorant Garamond', Georgia, serif;
}

.back:hover {
  text-decoration: underline;
}

/* Footer override */
footer {
  margin-top: 27px;
  font-size: 21px;
  font-style: italic;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  body {
    padding: 55px 30px;
  }

  main {
    padding: 8px 0;
  }

  .eyebrow {
    letter-spacing: 0.18em;
  }

  .description {
    font-size: 14px;
  }
}
/* ==========================================
   MAILERLITE FORM — COTTAGE DESIGN
========================================== */

#mlb2-47120879.ml-form-embedContainer {
  max-width: 420px;
  margin: 0 auto;
}

#mlb2-47120879 .ml-form-embedWrapper.embedForm {
  background: transparent !important;
  max-width: 420px;
  width: 100%;
  border: 0;
  border-radius: 0;
}

#mlb2-47120879 .ml-form-embedBody {
  padding: 0 !important;
}

/* Hide MailerLite's duplicate introduction */
#mlb2-47120879 .ml-form-embedContent {
  display: none;
}

/* Input fields */
#mlb2-47120879 .ml-form-fieldRow input {
  background: rgba(255, 250, 241, 0.6) !important;
  color: var(--forest) !important;
  border: 1px solid #bcb19c !important;
  border-radius: 2px !important;
  padding: 13px 14px !important;
  font: 15px 'DM Sans', Arial, sans-serif !important;
}

#mlb2-47120879 .ml-form-fieldRow input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Consent and privacy text */
#mlb2-47120879 .ml-form-embedPermissionsContent p,
#mlb2-47120879 .ml-form-checkboxRow p {
  color: #5b6257 !important;
  font: 12px/1.6 'DM Sans', Arial, sans-serif !important;
}

/* Forest-green signup button */
#mlb2-47120879 .ml-form-embedSubmit button.primary {
  background: var(--forest) !important;
  color: #fff8ed !important;
  border: 1px solid var(--forest) !important;
  border-radius: 0 !important;
  padding: 14px !important;
  font: 600 11px 'DM Sans', Arial, sans-serif !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

#mlb2-47120879 .ml-form-embedSubmit button.primary:hover {
  background: #4b614e !important;
}

/* Match MailerLite's success message */
#mlb2-47120879 .ml-form-successBody {
  padding: 12px 0 !important;
}

#mlb2-47120879 .ml-form-successContent h4 {
  color: var(--forest) !important;
  font: italic 500 30px 'Cormorant Garamond', Georgia, serif !important;
}

#mlb2-47120879 .ml-form-successContent p {
  color: #5b6257 !important;
  font: 14px/1.7 'DM Sans', Arial, sans-serif !important;
}
/* Override MailerLite's default black button */
#mlb2-47120879.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-embedSubmit button.primary {
  background-color: #354438 !important;
  border-color: #354438 !important;
}

#mlb2-47120879.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-embedSubmit button.primary:hover {
  background-color: #4b614e !important;
}
/* MailerLite field labels */
#mlb2-47120879 .ml-field-group label {
  color: var(--forest) !important;
  font-family: 'DM Sans', Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.5 !important;
  margin: 18px 0 7px !important;
}
/* Cottage cream input fields - final override */
#mlb2-47120879.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-fieldRow input.form-control {
    background: #faf5e9 !important;
    background-color: #faf5e9 !important;
    border-color: #bcb19c !important;
    border-radius: 2px !important;
    box-shadow: none !important;
}
/* ==========================================
   COTTAGE FORM — FINAL SPACING
========================================== */

/* Reduce space between input fields */
#mlb2-47120879 .ml-form-fieldRow {
  margin-bottom: 12px !important;
}

/* Labels closer to their fields */
#mlb2-47120879 .ml-field-group label {
  display: block;
  margin-bottom: 6px !important;
}

/* Reduce space around the consent section */
#mlb2-47120879 .ml-form-embedPermissions {
  margin-top: 12px !important;
  margin-bottom: 10px !important;
}

/* Keep the submit button compact */
#mlb2-47120879 .ml-form-embedSubmit {
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}

/* Original cottage fine print */
.form-fineprint {
  width: 100%;
  margin: 14px auto 0px;
  color: #927b68 !important;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}
/* Hide fine print after successful signup */
main:has(.ml-form-successBody) .form-fineprint {
  display: none !important;
}
