/* «23 пари» · вітальне вікно: нагадування на e-mail і наші соцмережі (js/welcome.js). Календар видно крізь затемнення: вікно можна закрити. */
.welcome { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; overflow: auto; background: rgba(7, 26, 36, .62); backdrop-filter: blur(3px); animation: wl-in .25s ease both; }
@keyframes wl-in { from { opacity: 0; } }
.wl-card { position: relative; width: min(100%, 460px); padding: 26px 26px 14px; border-radius: 14px; background: linear-gradient(180deg, #FFFFFF, #F1F8FC); color: var(--ink); outline: none;
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 rgba(7, 26, 36, .5), 0 30px 80px rgba(0, 0, 0, .4); animation: wl-up .35s var(--ease, ease) both; }
@keyframes wl-up { from { transform: translateY(14px); opacity: 0; } }
.wl-card > img { display: block; height: 28px; width: auto; }
.wl-x { position: absolute; right: 17px; top: 22px;       /* центр хрестика на одній лінії із серединою логотипа, правий край по краю тексту */ width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); cursor: pointer; }
.wl-x:hover { background: rgba(11, 37, 50, .07); color: var(--navy-900); }
.wl-card h2 { margin-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 5.6vw, 27px); line-height: 1.2; color: var(--navy-900); text-wrap: balance; }
.wl-p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.wl-form { margin-top: 18px; }
.wl-form label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy-900); }
.wl-row { display: flex; gap: 8px; margin-top: 7px; }
.wl-row input { flex: 1; min-width: 0; height: 48px; padding: 0 13px; border: 1.5px solid #B9D3E0; border-radius: 8px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.wl-row input::placeholder { color: #8FA6B2; }
.wl-row input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(30, 101, 140, .18); }
.wl-row input[aria-invalid="true"] { border-color: #C8452B; }
.wl-go { flex: none; height: 48px; padding: 0 18px; border: 0; border-radius: 8px; color: #fff; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer;
  background: linear-gradient(180deg, #2A7BA6, #1E658C); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 3px 0 #0F3A52; transition: transform .1s, box-shadow .1s, background .2s; }
.wl-go:hover { background: linear-gradient(180deg, #3489B5, #226F98); }
.wl-go:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 #0F3A52; }
.wl-go:disabled { opacity: .6; cursor: default; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-msg { min-height: 0; margin-top: 7px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.wl-msg:empty { display: none; }
.wl-msg[data-kind="bad"] { color: #B23A22; font-weight: 600; }
.wl-consent { margin-top: 9px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.wl-consent a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.wl-done { padding: 13px 14px; border-radius: 8px; background: #E4F5EE; color: #0F5B45; font-size: 14.5px; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
.wl-tg { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 16px; height: 46px; border-radius: 8px; border: 1.5px solid #B9D3E0; background: #fff; color: var(--link); font-size: 15px; font-weight: 700; text-decoration: none; }
.wl-tg:hover { border-color: var(--link); background: #F4FAFD; }
.wl-soc-t { margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--navy-900); }
.wl-form ~ .wl-soc-t { margin-top: 16px; padding-top: 16px; border-top: 1px solid #DCE9F0; }   /* під формою: соцмережі окремим блоком */
/* чотири однакові кнопки сіткою 2 × 2 на всю ширину тексту: без «сирітки» в другому рядку, краї збігаються з полем і кнопкою вище */
.wl-soc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.wl-soc a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 10px; border-radius: 8px; background: #E6F1F7; color: var(--navy-900); font-size: 14px; font-weight: 600; text-decoration: none; }
.wl-soc a:hover { background: #D5E8F2; }
.wl-skip { display: block; width: 100%; margin-top: 12px; height: 46px; border: 0; border-radius: 8px; background: transparent; color: var(--link); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.wl-skip:hover { background: rgba(30, 101, 140, .08); }
.wl-x:focus-visible, .wl-go:focus-visible, .wl-tg:focus-visible, .wl-soc a:focus-visible, .wl-skip:focus-visible, .wl-consent a:focus-visible { outline: 3px solid var(--peach-500); outline-offset: 2px; }
html.welcome-on { overflow: hidden; }
@media (max-width: 420px) {
  .wl-card { padding: 22px 18px 10px; }
  .wl-x { right: 10px; top: 18px; }
  .wl-row { flex-direction: column; }
  .wl-row input { flex: none; width: 100%; }      /* у стовпчику «flex: 1» стискав би поле до висоти тексту */
  .wl-go { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .welcome, .wl-card { animation: none; } }
