* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, #eef1ee 0%, #d9e8dc 42%, #e7ece7 100%);
  color: #4b3621;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.page {
  width: min(760px, 94vw);
  margin: 2rem auto;
  display: block;
}

.editor,
.invitation {
  background: #f4f2ee;
  border: 1px solid #d4d8d1;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 14px 30px rgba(75, 54, 33, 0.14);
}

.editor h1 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  color: #3f2d1d;
}

.editor p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  margin-top: 0.8rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #a4b8aa;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: #4b3621;
  background: #f0f3ef;
}

textarea {
  resize: vertical;
}

.invitation {
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.9rem;
  background: linear-gradient(180deg, #f4f2ee 0%, #e5eee6 100%);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #2a5b45;
  font-weight: 700;
  font-size: 0.75rem;
}

.invitation h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  color: #4b3621;
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: 0.02em;
}

.invitation p {
  margin: 0;
}

.details {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.8rem;
}

.countdown {
  margin-top: 0.2rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: #dde9de;
  border: 1px solid #a4b8aa;
  font-weight: 700;
  color: #2a5b45;
}

.label {
  display: block;
  font-size: 0.82rem;
  color: #2a5b45;
}

.rsvp {
  justify-self: center;
  margin-top: 0.6rem;
  background: #3f2d1d;
  color: #eef1ee;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
}

.rsvp:hover {
  filter: brightness(1.06);
}

.rsvp-embed-wrap {
  margin-top: 0.5rem;
  width: min(100%, 520px);
  justify-self: center;
  text-align: left;
}

.embed-title {
  margin: 0 0 0.4rem;
  font-weight: 700;
  color: #2a5b45;
}

.embed-help {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: #4b3621;
}

.rsvp-embed {
  width: 100%;
  min-height: 360px;
  border: 1px solid #a4b8aa;
  border-radius: 12px;
  background: #f0f3ef;
}

.hidden {
  display: none;
}


