:root {
  color: #2c1d29;
  background: #faf6f0;
  font: 1rem/1.55 system-ui, sans-serif;
}

body {
  display: grid;
  min-height: 100svh;
  margin: 0;
  place-items: center;
  background: radial-gradient(ellipse at top, #f3e0e6, transparent 67%);
}

main {
  box-sizing: border-box;
  width: min(calc(100% - 2rem), 29rem);
  margin-block: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-bottom));
  padding: clamp(1.5rem, 7vw, 2.75rem);
  border: 1px solid #e5cfd7;
  border-radius: 1.75rem;
  background: #fffcf8;
  box-shadow: 0 1.25rem 3rem #4e263b12;
}

img { display: block; }
h1 { margin: 1.2rem 0 0.45rem; font: 400 clamp(2.5rem, 9vw, 3.5rem)/1 Georgia, serif; }
p { margin: 0; color: #5e4857; }

button {
  width: 100%;
  min-height: 3.25rem;
  margin-top: 1.5rem;
  border: 0;
  border-radius: 999px;
  background: #752d4b;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

button:focus-visible { outline: 3px solid #752d4b; outline-offset: 4px; }
button:disabled { opacity: 0.75; cursor: wait; }
