.welcome-offer {
  width: min(790px, calc(100vw - 32px));
  max-height: min(90dvh, 700px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #092b61;
  color: #fff;
  box-shadow: 0 32px 100px #06193270;
}
.welcome-offer::backdrop { background: #061a35b8; backdrop-filter: blur(3px); }
.welcome-offer-inner { display: grid; grid-template-columns: 42% 58%; position: relative; min-height: 440px; }
.welcome-offer-close { position: absolute; z-index: 2; right: 17px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #ffffff7a; border-radius: 50%; background: #ffffff13; color: #fff; font: 25px/1 Ubuntu, sans-serif; cursor: pointer; }
.welcome-offer-close:hover { background: #ffffff32; }
.welcome-offer-visual { display: grid; place-items: center; overflow: hidden; background: #f45b1b; }
.welcome-offer-visual img { display: block; width: 112%; height: auto; margin-top: 30px; object-fit: contain; filter: drop-shadow(0 17px 16px #3c1d193f); }
.welcome-offer-content { display: flex; flex-direction: column; justify-content: center; padding: 56px clamp(30px, 5vw, 58px) 34px; }
.welcome-offer-kicker { margin: 0 0 8px; color: #bfcfe8; font: 500 15px/1.3 Ubuntu, sans-serif; }
.welcome-offer h2 { display: flex; align-items: center; gap: 9px; margin: 0; color: #fff; font-family: Ubuntu, sans-serif; letter-spacing: -.06em; }
.welcome-offer h2 strong { font-size: clamp(90px, 9vw, 124px); font-weight: 700; line-height: .96; }
.welcome-offer h2 span { max-width: 100px; font-size: 28px; font-weight: 500; line-height: .95; letter-spacing: -.04em; }
.welcome-offer-lead { margin: 11px 0 28px; color: #e2ebf9; font-size: 18px; }
.welcome-offer .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.welcome-offer input[type=email] { box-sizing: border-box; width: 100%; height: 48px; padding: 0 15px; border: 1px solid #bed0e9; border-radius: 5px; background: #fff; color: #123761; font-size: 15px; }
.welcome-offer input[type=email]:focus-visible, .welcome-offer button:focus-visible, .welcome-offer input[type=checkbox]:focus-visible { outline: 3px solid #ffa46f; outline-offset: 2px; }
.welcome-offer-consent { display: flex; align-items: flex-start; gap: 8px; margin: 13px 0 16px; color: #c6d5e9; font-size: 12px; line-height: 1.4; cursor: pointer; }
.welcome-offer-consent input { width: 16px; height: 16px; margin: 1px 0 0; flex: none; accent-color: #f45b1b; }
.welcome-offer-submit { width: 100%; min-height: 46px; padding: 0 15px; border: 0; border-radius: 5px; background: #f45b1b; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.welcome-offer-submit:hover { background: #d9470b; }
.welcome-offer-submit:disabled { opacity: .7; cursor: wait; }
.welcome-offer-status { margin: 10px 0 0; color: #ffd3bd; font-size: 12px; line-height: 1.4; }
.welcome-offer-status[data-success=true] { color: #baf0d3; }
.welcome-offer-status:empty { display: none; }
.welcome-offer-note { margin: 12px 0 0; color: #aebfda; font-size: 11px; line-height: 1.4; }
.welcome-offer-later { align-self: flex-start; margin-top: 9px; padding: 3px 0; border: 0; background: transparent; color: #fff; font-size: 12px; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .welcome-offer { width: min(430px, 100vw); max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 14px 14px 0 0; }
  .welcome-offer-inner { display: block; min-height: 0; }
  .welcome-offer-visual { height: 210px; }
  .welcome-offer-visual img { width: 205px; margin-top: 4px; }
  .welcome-offer-content { display: block; padding: 22px 26px max(22px, env(safe-area-inset-bottom)); }
  .welcome-offer h2 strong { font-size: 80px; }
  .welcome-offer h2 span { font-size: 23px; }
  .welcome-offer-lead { margin: 6px 0 17px; font-size: 16px; }
  .welcome-offer-close { top: 13px; right: 13px; background: #07245170; }
}
@media (prefers-reduced-motion: no-preference) {
  .welcome-offer[open] { animation: welcome-enter 360ms cubic-bezier(.2,0,0,1) both; }
  .welcome-offer[open] .welcome-offer-visual img { animation: welcome-gift 550ms cubic-bezier(.2,0,0,1) 80ms both; }
  .welcome-offer[open] h2 { animation: welcome-number 380ms cubic-bezier(.2,0,0,1) 100ms both; }
  @keyframes welcome-enter { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
  @keyframes welcome-gift { from { opacity: 0; transform: translateY(34px) scale(.92); } to { opacity: 1; transform: translateY(0) scale(1); } }
  @keyframes welcome-number { from { opacity: 0; transform: translateX(15px); } to { opacity: 1; transform: translateX(0); } }
}
