:root {
  color-scheme: light;
  font-family: "DM Sans", system-ui, sans-serif;
  color: #27213b;
  background: #f6f5fa;
}
* { box-sizing: border-box; }
body { margin: 0; }
header {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 1.1rem clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid #ddd9e6;
  font-size: 1.12rem;
  font-weight: 650;
}
.brand-mark, .seal {
  display: grid;
  place-items: center;
  color: white;
  background: #5036a1;
  border-radius: 50%;
}
.brand-mark { width: 1.7rem; height: 1.7rem; }
main {
  min-height: calc(100svh - 4rem);
  display: grid;
  place-items: center;
  padding: 2rem 1rem 4rem;
}
article {
  width: min(100%, 28rem);
  overflow: hidden;
  background: white;
  border: 1px solid #ddd8e7;
  border-radius: 1.4rem;
  box-shadow: 0 12px 42px #3628540d;
}
.illustration {
  display: grid;
  place-items: center;
  height: 8.25rem;
  background-color: #e5ddfb;
  background-image: repeating-radial-gradient(ellipse at 2% 130%, transparent 0 13px, #9d89c935 14px, transparent 15px 23px);
}
.envelope {
  position: relative;
  width: 6.6rem;
  height: 4.35rem;
  border: 2px solid #4d3976;
  border-radius: .35rem;
  background: #fcf9ff;
  transform: rotate(-8deg);
  box-shadow: 4px 5px #b8a4dd;
}
.envelope::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #725b9c;
  clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 4%, 50% 62%, 0 4%);
}
.seal { position: absolute; right: -.6rem; bottom: -.55rem; width: 1.9rem; height: 1.9rem; border: 2px solid white; }
.content { padding: clamp(1.4rem, 6vw, 2.25rem); }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1.12; letter-spacing: -.045em; }
p { color: #595567; line-height: 1.55; margin: .8rem 0 1.4rem; }
#error:empty, #status:empty, [hidden] { display: none; }
#error { color: #8f2738; border-left: 3px solid #bc4e60; padding-left: .8rem; overflow-wrap: anywhere; }
dl { padding: 1rem; background: #f6f3fc; border-radius: .65rem; }
dt { font-size: .875rem; color: #55505f; }
dd { margin: .25rem 0 0; overflow-wrap: anywhere; font-weight: 650; }
button {
  width: 100%;
  min-height: 2.9rem;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  background: #5036a1;
  color: white;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
button:hover { background: #40298a; }
button.secondary { margin-top: .65rem; color: #48308c; background: #fff; border-color: #b8abcf; }
button.secondary:hover { background: #f6f3fc; }
button:disabled { opacity: .65; cursor: wait; }
a { display: block; text-align: center; margin-top: 1rem; color: #5036a1; }
:focus-visible { outline: 3px solid #8468c2; outline-offset: 3px; }
