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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #e8dfc8;
  font-family: "Lato", Arial, sans-serif;
  color: #1a1a1a;
}

.invitation {
  position: relative;
  background: #fdf8ef;
  max-width: 560px;
  width: 100%;
  padding: 3rem 3.5rem;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  outline: 1px solid #c9a84c;
  outline-offset: -12px;
}

.deco {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a84c 20%, #c9a84c 80%, transparent);
}
.deco--top {
  top: 1.2rem;
}
.deco--bottom {
  bottom: 1.2rem;
}

.hat {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1.2rem;
}

.invitation__header {
  margin-bottom: 2rem;
}

.invitation__preamble {
  font-family: "Lato", Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a6e5f;
  margin-bottom: 0.6rem;
}

.invitation__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.15;
}

.invitation__title {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #c9a84c;
  margin-top: 0.3rem;
}

.invitation__details {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
  border-top: 1px solid #c9a84c;
  border-bottom: 1px solid #c9a84c;
  padding: 1.4rem 0;
}

.osa {
  margin-bottom: 2rem;
  text-align: left;
}

.osa__heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.osa__form {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.osa__field {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.osa__field span {
  font-weight: 700;
  color: #7a6e5f;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.osa__field input,
.osa__field textarea {
  width: 100%;
  border: 1px solid #c9a84c;
  padding: 0.85rem 0.95rem;
  font: inherit;
  background: transparent;
  color: #1a1a1a;
  min-width: 0;
}

.osa__button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: #c9a84c;
  color: #1a1a1a;
  padding: 0.95rem 1.2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.osa__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.osa__status,
.osa__summary,
.osa__responses {
  font-size: 0.95rem;
  color: #7a6e5f;
  line-height: 1.6;
}

.osa__summary {
  margin-top: 0.8rem;
}

.osa__responses {
  margin-top: 1rem;
}

.osa__response {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #c9a84c;
  background: rgba(201, 168, 76, 0.08);
  border-radius: 10px;
}

.detail {
  display: grid;
  grid-template-columns: 180px 190px;
  gap: 0.4rem 0.8rem;
  align-items: center;
  justify-items: center;
  font-size: 0.95rem;
  line-height: 1.5;
}
.detail__label {
  font-weight: 700;
  text-align: right;
  color: #7a6e5f;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.detail__value {
  text-align: left;
  max-width: 240px;
  width: 100%;
}

.invitation__quote {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: #7a6e5f;
  line-height: 1.6;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.invitation__footer {
  font-size: 0.9rem;
  line-height: 1.7;
}
.invitation__footer-line {
  color: #7a6e5f;
}
.invitation__footer-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
}

@media print {
  body {
    background: white;
    padding: 0;
  }
  .invitation {
    box-shadow: none;
    max-width: 100%;
  }
}/*# sourceMappingURL=styles.css.map */