/* A quiet invitation in the existing Francestle account palette. */
.signup-invite-dialog {
    box-sizing: border-box;
    width: min(480px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 28px 32px 20px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 12px;
    background: #faf7ef;
    color: #281d12;
    color-scheme: light;
    font: 400 14px / 1.65 var(--sans, 'Segoe UI', Arial, sans-serif);
    box-shadow: 0 26px 90px #21140b66;
    scrollbar-color: #bda580 #f2ecdf;
    scrollbar-width: thin;
}
.signup-invite-dialog *,
.signup-invite-dialog *::before,
.signup-invite-dialog *::after { box-sizing: border-box; }
.signup-invite-dialog::backdrop { background: #281d12b8; }
.signup-invite-dialog::selection,
.signup-invite-dialog ::selection { color: #281d12; background: #e7c97a; }
.signup-invite-dialog[open] { animation: signup-invite-enter .2s cubic-bezier(.16, 1, .3, 1); }
.signup-invite-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.signup-invite-dialog .signup-invite-brand { display: inline-flex; align-items: flex-start; min-width: 0; }
.signup-invite-logo { display: block; position: relative; flex: 0 0 auto; width: 136px; aspect-ratio: 840 / 310; overflow: hidden; border-radius: 7px; font-size: 0; line-height: 0; }
.signup-invite-logo:not(.signup-invite-logo-content) { clip-path: polygon(10.667% 4.194%, 9.238% 4.839%, 7.571% 6.452%, 6.381% 8.065%, 5.071% 10.645%, 4.000% 13.548%, 2.929% 17.742%, 2.571% 19.677%, 1.976% 25.484%, 1.976% 83.548%, 2.214% 87.097%, 2.571% 89.032%, 3.524% 90.968%, 4.952% 91.935%, 90.643% 91.935%, 93.381% 89.677%, 95.643% 85.484%, 96.952% 80.968%, 97.548% 77.742%, 98.024% 72.258%, 98.024% 13.226%, 97.905% 10.968%, 97.548% 7.742%, 96.833% 5.806%, 96.000% 4.839%, 94.333% 4.194%); }
.signup-invite-logo > img { display: block; position: absolute; max-width: none; width: 134.642857%; height: auto; left: -19.047619%; top: -216.129032%; object-fit: initial; }
.signup-invite-logo-content > img { position: static; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.signup-invite-close {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    min-height: 44px;
    margin: -8px -12px 0 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #74604b;
}
.signup-invite-close svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.signup-invite-dialog .signup-invite-title {
    margin: 0;
    color: #281d12;
    font: 400 32px / 1.15 var(--serif, Georgia, 'Times New Roman', serif);
    letter-spacing: -.03em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
.signup-invite-title:focus { outline: none; }
.signup-invite-description { margin: 14px 0 24px; color: #74604b; line-height: 1.7; overflow-wrap: anywhere; }
.signup-invite-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid #281d12;
    border-radius: 3px;
    background: #281d12;
    color: #faf7ef;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background .18s ease, border-color .18s ease;
}
.signup-invite-primary:hover { border-color: #4d341e; background: #4d341e; }
.signup-invite-primary:active { border-color: #281d12; background: #281d12; }
.signup-invite-signin { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 7px; margin: 12px 0 0; color: #74604b; font-size: 13px; line-height: 1.6; text-align: center; }
.signup-invite-login { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 3px; color: #281d12; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.signup-invite-later { display: flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; margin: 2px auto 0; padding: 8px 16px; border: 0; border-radius: 3px; background: transparent; color: #74604b; font: inherit; line-height: 1.5; text-align: center; }
.signup-invite-close:hover,
.signup-invite-later:hover { color: #281d12; background: #f0e6d4; }
.signup-invite-close:active,
.signup-invite-later:active { background: #e9dcc4; }
.signup-invite-login:hover { color: #8b642b; }
.signup-invite-dialog :is(a, button) { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.signup-invite-dialog :is(a, button):focus-visible { outline: 3px solid #8b642b; outline-offset: 4px; }
@keyframes signup-invite-enter { from { opacity: .75; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) {
    .signup-invite-dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 24px 24px 16px; }
    .signup-invite-header { margin-bottom: 24px; }
    .signup-invite-dialog .signup-invite-title { font-size: 29px; }
    .signup-invite-description { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .signup-invite-dialog[open] { animation: none; }
    .signup-invite-primary { transition: none; }
}
@media (forced-colors: active) {
    .signup-invite-dialog { border: 1px solid CanvasText; box-shadow: none; }
    .signup-invite-primary { border-color: ButtonText; }
}
