:root {
  --bg: #121212;
  --card: #0e0e0e;
  --text: #f7f4ef;
  --muted: #cfc4bc;
  --pink: #d7b5a8;
  --silver: #f1ece6;
  --line: rgba(241, 236, 230, 0.16);
  --glow: rgba(215, 181, 168, 0.22);
}

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

body {
  min-height: 100vh;
  font-family: Manrope, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 46% 32% at 50% 18%, rgba(255, 248, 242, 0.09), transparent 70%),
    radial-gradient(circle at 50% 110%, rgba(215, 181, 168, 0.1), transparent 42%),
    linear-gradient(180deg, #2c2c2c 0%, #161616 46%, #0b0b0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.card {
  width: min(440px, 100%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 90px),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(215, 181, 168, 0.07);
}

.portrait {
  position: relative;
  height: 390px;
  margin: 0;
  background: #1a1a1a;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  display: block;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.22)),
    radial-gradient(ellipse at 50% 30%, transparent 46%, rgba(0, 0, 0, 0.18) 100%);
}

.portrait::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 36%;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 14, 14, 0.55) 42%, var(--card) 100%);
  pointer-events: none;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 22px 26px;
  margin-top: -8px;
  position: relative;
  z-index: 3;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--text);
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 7.2vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.ornament {
  width: 86px;
  height: 11px;
  margin: 12px auto 14px;
  position: relative;
}

.ornament::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241, 236, 230, 0.15) 12%, #f3eee8 46%, var(--pink) 50%, #f3eee8 54%, rgba(241, 236, 230, 0.15) 88%, transparent);
}

.ornament::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(135deg, #fff, #e7d5cc);
  box-shadow: 0 0 10px var(--glow);
}

.subtitle {
  color: var(--muted);
  line-height: 1.45;
  font-size: 1.02rem;
  font-weight: 500;
  margin: 0 auto 16px;
  max-width: 32ch;
}

.subtitle strong {
  color: var(--text);
  font-weight: 800;
}

.features {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.feature {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  column-gap: 12px;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f3eee9;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(241, 236, 230, 0.1);
  border-radius: 16px;
  padding: 11px 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1c1917;
  background: linear-gradient(160deg, #fffdfb 0%, #e7ddd4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.35);
}

.check svg {
  width: 14px;
  height: 14px;
  display: block;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: #141210;
  background: linear-gradient(180deg, #ffffff 0%, #f6f1eb 48%, #e8dfd6 100%);
  width: 100%;
  padding: 15px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 24px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(42, 171, 238, 0.35);
}

.cta-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 32px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(215, 181, 168, 0.18);
}

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

.invite {
  width: 100%;
  margin-top: 12px;
  padding-top: 0;
  border-top: none;
  color: #b7ada6;
  line-height: 1.5;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 500;
}

@media (max-width: 480px) {
  body {
    padding: 12px;
    align-items: flex-start;
  }

  .card {
    border-radius: 24px;
  }

  .portrait {
    height: 348px;
  }

  .hero {
    padding: 0 16px 22px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7.6vw, 2.15rem);
  }
}
