html:has(.welcome-dialog[open]){overflow:hidden}
.welcome-dialog{position:fixed;inset:0;width:min(960px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:0;border-radius:3px;background:#f5f3ec;color:#29352e;box-shadow:0 24px 100px #10241b40;overflow:auto}
.welcome-dialog::backdrop{background:rgb(12 26 19 / .65);backdrop-filter:blur(3px)}
.welcome-panel{display:grid;grid-template-columns:44% 56%;min-height:570px}
.welcome-image{position:relative;min-height:100%;background:#2d4034;overflow:hidden}
.welcome-image img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 55%}
.welcome-image::after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#13241ca6)}
.welcome-image p{position:absolute;z-index:1;left:32px;bottom:34px;margin:0;color:#f5f3ec;font:400 31px/1.15 var(--serif)}
.welcome-copy{position:relative;padding:58px 48px 32px}
.welcome-close{position:absolute;right:12px;top:12px;z-index:3;display:grid;place-items:center;width:44px;height:44px;color:inherit;background:#f5f3ec;border:0;border-radius:50%}
.welcome-eyebrow{font-size:var(--fs-meta);font-family:var(--sans);font-weight:400;line-height:1.6;letter-spacing:var(--ls-meta);margin:0 0 20px;color:#626d64;text-transform:uppercase}
.welcome-copy h2{font-size:var(--fs-h2);font-family:var(--serif);font-weight:400;line-height:var(--lh-h2);letter-spacing:var(--ls-h2);margin:0 0 20px;text-wrap:balance}
.welcome-description{font-size:14px;font-family:var(--sans);font-weight:400;line-height:var(--lh-body);color:#626d64;margin:0 0 25px}
.welcome-email-label{display:block;font:400 12px/1.5 var(--sans);margin-bottom:8px}
.welcome-email{width:100%;min-height:50px;padding:13px 15px;background:#fffdf8;border:1px solid #9da89b;border-radius:1px;color:#29352e;font:400 16px/1.4 var(--sans)}
.welcome-email::placeholder{color:#626d64}
.welcome-preferences{display:flex;flex-wrap:wrap;gap:4px 17px;margin:20px 0;padding:0;border:0;min-width:0}
.welcome-preferences legend{font:400 12px/1.5 var(--sans);padding:0;margin-bottom:5px}
.welcome-preferences legend span{font-size:10px;color:#626d64}
.welcome-preferences label{display:inline-flex;align-items:center;gap:7px;min-height:32px;font:400 12px/1.5 var(--sans);cursor:pointer}
.welcome-preferences input{appearance:auto;width:15px;height:15px;margin:0;accent-color:#2d4034;flex:none}
.welcome-submit{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:50px;padding:14px 20px;background:#2d4034;color:#f5f3ec;border:1px solid #2d4034;border-radius:1px;font:400 13px/1.4 var(--sans);text-decoration:none}
.welcome-submit:hover{background:#203328;color:#fff}
.welcome-privacy{font:400 10px/1.6 var(--sans);color:#626d64;margin:13px 0 0}
.welcome-privacy a{text-decoration:underline;text-underline-offset:2px}
.welcome-decline{display:block;min-height:44px;margin:10px auto 0;padding:10px 0;background:none;border:0;color:#626d64;font:400 11px/1.5 var(--sans);text-decoration:underline;text-underline-offset:3px}
.welcome-dialog :is(input,button,a):focus-visible{outline:2px solid #35483b;outline-offset:3px}
.welcome-result h3{font-size:var(--fs-h3);font-family:var(--serif);font-weight:400;line-height:var(--lh-h3);margin-bottom:15px;letter-spacing:var(--ls-h3)}
.welcome-result p{font-size:14px;line-height:1.6}
.welcome-code{display:block;font:400 22px/1.4 var(--sans);letter-spacing:.08em;margin:20px 0}
.welcome-error{font-size:13px;margin-bottom:18px;color:#863927}
@media(max-width:700px){
  .welcome-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
  .welcome-panel{grid-template-columns:minmax(0,1fr);min-height:0}
  .welcome-image{min-height:0;height:130px}
  .welcome-image img{object-position:50% 58%}
  .welcome-image p{font-size:23px;left:22px;bottom:15px}
  .welcome-copy{position:static;padding:25px 24px 14px}
  .welcome-close{right:8px;top:8px}
  .welcome-eyebrow{margin-bottom:12px}
  .welcome-copy h2{margin-bottom:14px}
  .welcome-description{font-size:12px;margin-bottom:18px}
  .welcome-preferences{margin-block:14px;gap:0 15px}
  .welcome-preferences label{min-height:36px}
  .welcome-privacy{font-size:9px}
  .welcome-decline{margin-top:4px}
}
@media(max-width:700px) and (max-height:700px){.welcome-image{height:90px}.welcome-copy{padding-top:20px}}
