.s1-page {
    margin: 0;
    min-height: 100vh;
    background: #fff;
    color: #161616;
    font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.s1-page [hidden], .s1-popup[hidden] { display: none !important; }
.s1-form, .s1-landing {
    box-sizing: border-box;
    max-width: 49rem;
    margin: 0 auto;
    padding: clamp(1.25rem, 5vw, 4rem);
}
.s1-form h1, .s1-landing h1, .s1-invitation h2 {
    font-family: inherit;
    font-weight: 750;
    line-height: 1.15;
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    margin: .5em 0;
}
.s1-form fieldset {
    border: 1px solid #e5e7eb;
    border-radius: .6rem;
    padding: 1rem;
    margin: 1rem 0;
    min-width: 0;
}
.s1-form legend { font-size: 1.25rem; font-weight: 650; }
.s1-form label { display: block; font-weight: 600; margin: .75rem 0; }
.s1-form input:not([type="checkbox"]), .s1-form textarea, .s1-form select {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #9ca3af;
    border-radius: .35rem;
    padding: .55rem;
    min-height: 2.65rem;
    margin-top: .35rem;
    background: #fff;
    color: inherit;
    font: inherit;
}
.s1-form .s1-check { display: flex; align-items: start; gap: .7rem; font-weight: 500; }
.s1-form .s1-check input { margin-top: .4rem; flex: none; }
.s1-actions, .s1-languages { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.s1-form details { background: #fff; border-radius: .5rem; padding: 1rem; margin: .75rem 0; }
.s1-form dd { margin: 0 0 .75rem; overflow-wrap: anywhere; }
.s1-invitation {
    box-sizing: border-box;
    max-width: 70rem;
    margin: 2rem auto;
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: 1rem;
    background: #fafafa;
    color: #161616;
}
.s1-button, .s1-form button {
    display: inline-block;
    background: #161616;
    color: #fff;
    border: 0;
    border-radius: 2rem;
    padding: .75rem 1.2rem;
    font: inherit;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}
.s1-popup {
    box-sizing: border-box;
    width: min(31rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    padding: 0;
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 16px;
    background: var(--bg, #fff);
    color: var(--ink, #161616);
    font: inherit;
    box-shadow: 0 16px 48px rgb(0 0 0 / .14);
}
.s1-popup::backdrop { background: rgb(17 17 17 / .38); }
.s1-popup-image {
    height: clamp(7.5rem, 24vw, 10.5rem);
    background: #e5e7eb url("quiet-conversation.webp") center 92% / cover no-repeat;
}
.s1-popup-copy { padding: clamp(1.125rem, 5vw, 1.75rem); }
.s1-popup h2 {
    margin: 0 0 .625rem;
    font: 700 clamp(1.45rem, 4vw, 1.85rem)/1.2 system-ui, sans-serif;
    letter-spacing: normal;
}
.s1-popup-copy p { margin: 0 0 1rem; color: #4b5563; }
.s1-popup .s1-button {
    border-radius: 10px;
    background: var(--ink, #161616);
    color: #fff;
}
.s1-close {
    position: absolute;
    inset-block-start: .625rem;
    inset-inline-end: .625rem;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--line, #e5e7eb);
    color: var(--ink, #161616);
    background: var(--bg, #fff);
    font: 1.5rem/1 system-ui, sans-serif;
    cursor: pointer;
}
.s1-popup :is(button, a):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
@media (max-height: 490px) {
    .s1-popup-image { height: 6rem; }
}
.s1-nav-link { font-weight: 700; }

.s1-page a:not(.s1-button) { color: inherit; }
.s1-wordmark { display: inline-block; font-weight: 750; text-decoration: none; }
.s1-landing > p, .s1-form > p { color: #4b5563; }
.s1-languages { padding-block-start: 1rem; border-top: 1px solid #e5e7eb; }
.s1-languages a { text-underline-offset: .2em; }
.s1-languages [aria-current="page"] { font-weight: 700; text-decoration: none; }
.s1-page :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid #161616;
    outline-offset: 3px;
}
