.welcome-offer[hidden], .welcome-dialog [hidden], .welcome-checkout[hidden] { display: none !important; }
.welcome-offer {
  background: #f8f5eb url('assets/faq-guide-paper.png') center / 1150px;
  border-bottom: 2px solid #d9ef79;
  color: #103525;
}
.welcome-offer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
}
.welcome-offer strong, .welcome-dialog h2 {
  display: block;
  font: 600 clamp(29px, 3vw, 40px)/1 'Cormorant Garamond', Georgia, serif;
}
.welcome-offer p { margin: 5px 0 0; font-size: 14px; }
.welcome-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 15px;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: #103525;
  color: #fff8ea;
  font: inherit; font-size: 14px; font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.welcome-action:hover { background: #26553d; }
.welcome-action:focus-visible, .welcome-dialog button:focus-visible { outline: 2px solid #70982e; outline-offset: 3px; }
.welcome-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 24px 21px;
  border: 1px solid #d6d3bc;
  border-radius: 7px;
  background: #f8f5eb url('assets/faq-guide-paper.png') center / 900px;
  color: #103525;
}
.welcome-dialog::backdrop { background: #091b12a6; }
.welcome-dialog h2 { margin: 0 26px 14px 0; }
.welcome-dialog p { margin: 9px 0; }
.welcome-close { position: absolute; inset: 5px 5px auto auto; width: 44px; height: 44px; border: 0; background: none; color: inherit; font-size: 24px; cursor: pointer; }
.welcome-field { display: grid; gap: 4px; margin: 10px 0; font-size: 14px; font-weight: 650; }
.welcome-field input { width: 100%; min-height: 44px; border: 1px solid #aab4a0; border-radius: 4px; padding: 8px; background: #fffdf4; color: #103525; font: inherit; }
.welcome-password { position: relative; }
.welcome-password input { display: block; min-width: 0; }
.welcome-password:has(.welcome-password-toggle:not([hidden])) input { padding-inline-end: 46px; }
.welcome-password-toggle {
  position: absolute;
  inset: 0 1px 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #103525;
  cursor: pointer;
}
.welcome-password-toggle[hidden] { display: none; }
.welcome-password-toggle:focus-visible { outline: 2px solid #70982e; outline-offset: -3px; }
.welcome-password-slash { display: none; }
.welcome-password-toggle.is-visible .welcome-password-slash { display: inline; }
.welcome-consent { display: flex; align-items: start; gap: 7px; margin: 8px 0; font-size: 13px; }
.welcome-legal-text { white-space: pre-wrap; font: inherit; padding-right: 22px; }
.welcome-consent .text-button { display: inline; padding: 0; font: inherit; text-decoration: underline; }
.welcome-consent input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 2px 0 0; flex: none; }
.welcome-consent span { min-width: 0; }
.welcome-dialog .welcome-action { margin-top: 8px; }
.welcome-code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.welcome-code code { overflow-wrap: anywhere; color: inherit; }
.welcome-note { color: #762b26; font-size: 13px; }
@media (max-width: 600px) {
  .welcome-offer-inner { display: grid; justify-content: stretch; gap: 7px; padding-block: 12px; }
  .welcome-offer-inner button { justify-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .welcome-dialog[open] { animation: welcome-in .22s ease-out; }
  @keyframes welcome-in { from { opacity: .25; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
}
