:root {
  --purple: #482189;
  --purple-light: #6a40b0;
  --rose: #bc6d81;
  --ocre: #895212;
  --sage: #6d876d;
  --ink: #212529;

  --font-body: "Crimson Text", Georgia, "Times New Roman", serif;
  --font-script: "Gochi Hand", "Comic Sans MS", cursive;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(160deg, #f8ecf5 0%, #fdf9f4 45%, #eef2ea 100%);
  overflow-x: hidden;
  position: relative;
}

/* Soft, modern gradient blobs standing in for the wedding's botanical motifs */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

body::before {
  width: 26rem;
  height: 26rem;
  top: -8rem;
  left: -8rem;
  background: var(--rose);
}

body::after {
  width: 28rem;
  height: 28rem;
  bottom: -10rem;
  right: -10rem;
  background: var(--purple-light);
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 55px rgba(72, 33, 137, 0.16);
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 6vw, 3.5rem);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 1.1rem;
}

.names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: var(--purple);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.names span {
  color: var(--ocre);
  padding: 0 0.15em;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 auto 2rem;
  max-width: 220px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rose);
  opacity: 0.55;
}

.divider span {
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: var(--purple);
}

.thanks {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 5.2rem);
  line-height: 1;
  color: var(--purple);
  margin-bottom: 1.5rem;
}

.lead,
p {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.lead {
  color: var(--ink);
}

em {
  color: var(--sage);
  font-style: italic;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(109, 135, 109, 0.45);
  transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--purple);
  border-color: var(--purple-light);
}

blockquote {
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--rose);
  margin: 2rem 0 0.5rem;
  padding: 0 clamp(0, 4vw, 1.5rem);
}

footer {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(72, 33, 137, 0.12);
}

footer p {
  margin-bottom: 0.35rem;
  color: var(--sage);
  font-size: 1rem;
}

footer strong {
  display: inline-block;
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--purple);
  margin-bottom: 0.35rem;
}

footer .year {
  font-size: 0.85rem;
  color: var(--rose);
  opacity: 0.8;
  margin-bottom: 0;
}

@media (max-width: 400px) {
  .card {
    border-radius: 22px;
  }
}
