.get-well {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: max(72px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom));
  overflow-y: auto;
  color: #253b56;
  background: radial-gradient(circle at 50% 28%, #f0e1cc 0, #d8d1c8 45%, #aab5b6 100%);
}
.get-well[hidden] { display: none !important; }
.get-well-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 17% 24%, #fff8e6 0 3px, transparent 4px), radial-gradient(circle at 81% 35%, #fff8e6 0 2px, transparent 3px), radial-gradient(circle at 76% 76%, #fff8e6 0 3px, transparent 4px);
  background-size: 260px 230px;
  opacity: .7;
  animation: wellGlow 4s ease-in-out infinite alternate;
}
.get-well-card {
  position: relative;
  width: min(100%, 580px);
  margin: auto;
  padding: clamp(26px, 5vw, 42px);
  border: 2px solid #425268;
  border-radius: 5px 10px 6px 12px;
  background: #fbf7ee;
  box-shadow: 8px 10px 0 #8c9a9a88, 0 22px 60px #31415433;
  text-align: center;
  opacity: 0;
  transform: translateY(25px) rotate(-1.5deg);
  animation: wellCardIn .72s cubic-bezier(.2,.7,.25,1) .18s forwards;
}
.get-well-card::before { content: ""; position: absolute; inset: 10px; border: 1px dashed #b9a994; border-radius: 2px 7px 3px 9px; pointer-events: none; }
.get-well-card-top { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #9aa3a4; padding-bottom: 9px; font: bold 11px/1.4 Georgia, serif; letter-spacing: .1em; text-align: left; }
.get-well-envelope { position: relative; width: 122px; height: 70px; margin: 21px auto 14px; border: 2px solid #9d5a55; border-radius: 2px 2px 7px 7px; background: #d9b8a5; box-shadow: 3px 4px 0 #9d5a5530; }
.get-well-envelope::before, .get-well-envelope::after { content: ""; position: absolute; bottom: 0; width: 60px; height: 58px; border-top: 2px solid #9d5a55; background: #e8c9b6; }
.get-well-envelope::before { left: 0; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.get-well-envelope::after { right: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.get-well-fold { position: absolute; z-index: 3; top: -1px; left: -1px; width: 120px; height: 40px; background: #edcdb9; border-bottom: 2px solid #9d5a55; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; animation: wellOpen .58s ease .48s forwards; }
.get-well-letter { position: absolute; z-index: 1; left: 18px; top: 6px; width: 84px; height: 58px; padding-top: 12px; border: 1px solid #a99b87; border-radius: 2px; background: #fffaf1; color: #b85550; font: bold 24px/1 Georgia, serif; animation: wellLetter 1s ease .7s forwards; }
.get-well-eyebrow { margin: 5px 0 9px; color: #b2504b; font: bold 13px/1.4 Georgia, serif; letter-spacing: .08em; }
.get-well-card h1 { margin: 0; color: #253b56; font: bold clamp(32px, 8vw, 55px)/1.02 Georgia, serif; letter-spacing: -.025em; }
.get-well-card h1 em { display: block; margin: 6px auto 0; color: #b2504b; font-size: clamp(27px, 6.9vw, 46px); font-style: normal; letter-spacing: -.035em; }
.get-well-message { margin: 18px 0 10px; font: 19px/1.5 Georgia, "Noto Sans SC", serif; }
.get-well-fact { max-width: 445px; margin: 0 auto; color: #586573; font: 14px/1.55 "Avenir Next", "Segoe UI", "Noto Sans SC", sans-serif; }
.get-well-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 13px; font-size: 13px; }
.get-well-links a { color: #9a4947; text-underline-offset: 3px; }
.get-well-enter { display: block; width: 100%; min-height: 48px; margin-top: 22px; border: 2px solid #253b56; border-radius: 5px 8px 5px 9px; background: #253b56; color: #fffaf1; font: bold 16px/1.2 Georgia, serif; cursor: pointer; }
.get-well-enter:hover { background: #b2504b; border-color: #b2504b; }
.get-well-skip { position: fixed; top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); min-height: 44px; padding: 8px 14px; border: 1px solid #253b56; border-radius: 5px; background: #fbf7ee; color: #253b56; font-size: 14px; cursor: pointer; }
.get-well-enter:focus-visible, .get-well-skip:focus-visible, .get-well-links a:focus-visible { outline: 3px solid #b2504b; outline-offset: 3px; }
@keyframes wellCardIn { to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes wellOpen { to { transform: rotateX(180deg); } }
@keyframes wellLetter { 60%, 100% { transform: translateY(-27px); } }
@keyframes wellGlow { to { opacity: .35; transform: scale(1.02); } }
@media (max-width: 480px) { .get-well { padding-inline: 14px; } .get-well-card { padding: 23px 18px; } .get-well-card-top { font-size: 9px; } .get-well-envelope { margin-top: 19px; } .get-well-message { font-size: 17px; } .get-well-fact { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .get-well-card { animation: none; opacity: 1; transform: none; } .get-well-fold, .get-well-letter, .get-well-glow { animation: none; } }
