:root {
  --pink: #F6C6CF;
  --cream: #FFF6EE;
  --plum: #3A1F2B;
  --accent: #C2255C;
  --accent-dark: #9D174D;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pink);
  color: var(--plum);
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(64px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(64px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}
.deco { position: absolute; display: block; pointer-events: none; }
.blob-big { left: -12%; bottom: -22%; width: 62%; min-width: 360px; max-width: 900px; }
.blob-small { right: -8%; top: -14%; width: 34%; min-width: 220px; max-width: 520px; }
.star-1 { right: 14%; top: 18%; width: 44px; height: 44px; }
.star-2 { right: 20%; top: 28%; width: 18px; height: 18px; }
.star-3 { left: 12%; bottom: 16%; width: 26px; height: 26px; }
.star-4 { left: 18%; top: 22%; width: 14px; height: 14px; }

main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  width: 100%;
  max-width: 720px;
}
.badge {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--plum);
  padding: 8px 18px;
  border-radius: 999px;
}
h1 {
  margin: 0;
  font-family: 'Shrikhand', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 9vw, 6.5rem);
  line-height: 1.02;
  text-wrap: balance;
}
p {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.5;
  max-width: 30rem;
  text-wrap: pretty;
}
.email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--plum);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 0 0 1.5px rgba(58, 31, 43, 0.14);
  transition: background-color .15s ease, color .15s ease;
}
.email span { white-space: nowrap; }
.email svg { flex: none; display: block; }
.email:hover { color: var(--accent-dark); }
.email:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }

/* Language toggle (top right) */
.lang {
  position: absolute;
  z-index: 2;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  display: flex;
  gap: 2px;
  padding: 4px;
  background: var(--cream);
  border-radius: 999px;
  box-shadow: 0 0 0 1.5px rgba(58, 31, 43, 0.14);
}
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--plum);
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.lang a:hover { color: var(--accent-dark); }
.lang a[aria-current="page"] { background: var(--plum); color: var(--cream); }
.lang a:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }

/* Phones: keep the sparkles clear of the headline, text and toggle */
@media (max-width: 600px) {
  .star-1 { right: 8%; top: 84px; width: 32px; height: 32px; }
  .star-2 { right: 26%; top: 104px; }
  .star-3 { left: 8%; bottom: 8%; width: 22px; height: 22px; }
  .star-4 { left: 10%; top: 90px; }
  .blob-big { bottom: -12%; }
}
@media (max-width: 360px) {
  .email { padding: 0 18px; gap: 8px; font-size: 15px; }
}
/* Short landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .page { padding-top: 32px; padding-bottom: 32px; }
  main { gap: 14px; }
  h1 { font-size: clamp(2.25rem, 7vw, 4rem); }
  .star-2, .star-4 { top: 6%; }
  .star-1 { top: 22%; right: 3%; }
}
@media (prefers-reduced-motion: reduce) {
  .email, .lang a { transition: none; }
}
