*,
*::before,
*::after {
    box-sizing: border-box;
}

.guest-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    color: #1c2a4a;
    background: #eef3fb;
}

.guest-split {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.guest-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #163a72;
    background-image: url("../imgs/writers-working.jpg");
    background-size: cover;
    background-position: 32% center;
    min-height: 100vh;
}

.guest-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 36, 78, .18) 0%, rgba(12, 36, 78, .72) 100%);
}

.guest-visual__copy {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3.5rem 3.25rem 1.5rem;
    color: #fff;
    max-width: 36rem;
}

.guest-brand {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: .9;
}

.guest-visual__copy h1 {
    font-size: clamp(1.85rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 0 0 .85rem;
}

.guest-visual__copy p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
}

.guest-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    background: #f5f8fd;
}

.guest-panel__inner {
    width: 100%;
    max-width: 24.5rem;
}

.guest-panel__logo {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #1877f2;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.guest-panel__logo:hover {
    color: #125dcc;
}

.guest-card {
    background: #fff;
    border: 1px solid #dbe6f5;
    box-shadow: 0 12px 40px rgba(24, 63, 128, .08);
    padding: 1.6rem 1.5rem 1.4rem;
}

.guest-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 1.15rem;
}

.guest-card .form-label {
    font-size: .82rem;
    font-weight: 600;
    color: #4b5b78;
    margin-bottom: .3rem;
}

.guest-card .form-control,
.guest-card .form-select {
    border-radius: 0;
    border-color: #cfd9ea;
    min-height: 2.7rem;
    font-size: .95rem;
}

.guest-card .form-control:focus,
.guest-card .form-select:focus {
    border-color: #1877f2;
    box-shadow: 0 0 0 .2rem rgba(24, 119, 242, .15);
}

.guest-check {
    font-size: .88rem;
    color: #5b6b86;
}

.btn-guest {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 0;
    background: #1877f2;
    color: #fff;
    font-weight: 700;
    min-height: 2.85rem;
    padding: .65rem 1rem;
    text-align: center;
    text-decoration: none;
}

.btn-guest:hover {
    background: #1466d4;
    color: #fff;
}

.btn-guest-outline {
    display: block;
    width: 100%;
    border: 1px solid #c5d4ea;
    border-radius: 0;
    background: #fff;
    color: #1c4b96;
    font-weight: 700;
    min-height: 2.7rem;
    padding: .6rem 1rem;
    text-align: center;
    text-decoration: none;
}

.btn-guest-outline:hover {
    background: #eef4fd;
    color: #125dcc;
}

.guest-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin: .85rem 0 0;
    font-size: .86rem;
}

.guest-links a {
    color: #1877f2;
    text-decoration: none;
    font-weight: 600;
}

.guest-links a:hover {
    text-decoration: underline;
}

.guest-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.35rem 0 1rem;
    color: #8a97ad;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.guest-divider::before,
.guest-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d7e1f0;
}

.guest-roles {
    display: grid;
    gap: .65rem;
}

.guest-role {
    display: block;
    border: 1px solid #cfd9ea;
    background: #fff;
    padding: .8rem .95rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.guest-role:hover {
    border-color: #1877f2;
    color: inherit;
}

.guest-role.is-selected,
.guest-role:has(input:checked) {
    border-color: #1877f2;
    background: #f3f8ff;
    box-shadow: inset 0 0 0 1px #1877f2;
}

.guest-role input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.guest-role strong {
    display: block;
    font-size: .95rem;
}

.guest-role span {
    display: block;
    font-size: .8rem;
    color: #6b7a92;
    margin-top: .1rem;
}

.guest-muted {
    color: #6b7a92;
    font-size: .92rem;
    line-height: 1.55;
}

.guest-credit {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .01em;
    text-align: center;
    margin: 0;
}

.guest-credit a {
    font-weight: 600;
    text-decoration: none;
}

.guest-credit a:hover {
    text-decoration: underline;
}

.guest-credit--on-image {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    padding: .55rem 1.25rem 1.1rem;
    color: rgba(255, 255, 255, .62);
    background: transparent;
    border: 0;
}

.guest-credit--on-image a {
    color: rgba(255, 255, 255, .86);
}

.guest-credit--page {
    display: none;
}

.guest-alert {
    border-radius: 0;
    font-size: .9rem;
}

.landing-body {
    background: #eef3fb;
}

.landing-body .guest-credit--page,
.guest-credit--page.is-visible {
    display: block;
    padding: .85rem 1rem 1.15rem;
    color: #7a756c;
    background: transparent;
    border: 0;
}

.landing-body .guest-credit--page a {
    color: #4f4b45;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid #dbe6f5;
}

.site-nav__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .8rem 1.15rem;
}

.site-nav__brand,
.site-nav__brand:visited {
    font-weight: 800;
    letter-spacing: -.02em;
    color: #1877f2;
    text-decoration: none;
    font-size: 1.05rem;
    white-space: nowrap;
}

.site-nav__brand:hover {
    color: #125dcc;
}

.site-nav__menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .35rem;
}

.site-nav__menu a,
.site-nav__menu a:visited {
    color: #1c2a4a;
    text-decoration: none;
    font-weight: 600;
    font-size: .88rem;
    padding: .4rem .7rem;
    white-space: nowrap;
}

.site-nav__menu a:hover {
    color: #1877f2;
}

.site-nav__menu a.is-primary {
    background: #1877f2;
    color: #fff;
}

.landing {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    padding: 2.5rem 1.15rem 3rem;
    align-items: start;
}

.landing__eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #1877f2;
    margin: 0 0 .7rem;
}

.landing__intro h1 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin: 0 0 .85rem;
}

.landing__intro p {
    margin: 0 0 1.15rem;
    color: #4b5b78;
    line-height: 1.6;
}

.landing__points {
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing__points li {
    position: relative;
    padding: .25rem 0 .25rem 1.15rem;
    color: #1c2a4a;
    font-size: .95rem;
}

.landing__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72rem;
    width: .45rem;
    height: .45rem;
    background: #1877f2;
}

.landing-card {
    background: #fff;
    border: 1px solid #dbe6f5;
    box-shadow: 0 16px 40px rgba(24, 63, 128, .1);
    padding: 1.5rem 1.4rem 1.3rem;
}

.landing-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 1rem;
}

.landing-card .form-label {
    font-size: .82rem;
    font-weight: 600;
    color: #4b5b78;
    margin-bottom: .3rem;
}

.landing-card .form-control {
    border-radius: 0;
    border-color: #cfd9ea;
    font-size: .95rem;
}

.landing-card .form-control:focus {
    border-color: #1877f2;
    box-shadow: 0 0 0 .2rem rgba(24, 119, 242, .15);
}

.landing-card textarea.form-control {
    min-height: 7.5rem;
}

.landing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 .85rem;
}

.landing-hint {
    margin: -.35rem 0 .85rem;
    color: #6b7a92;
    font-size: .82rem;
}

.landing-check {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .9rem;
    color: #1c2a4a;
    margin: .15rem 0 .55rem;
}

.landing-check input {
    margin-top: .2rem;
}

.file-slots__list {
    margin: 0;
}

.file-slots.is-dragover .file-slots__picker,
.file-slots.is-dragover .file-slots__add {
    border-color: #1466d4;
    background: #e7f1ff;
}

.file-slots__row {
    display: flex;
    align-items: stretch;
    gap: .4rem;
    margin-bottom: .45rem;
}

.file-slots__picker {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0;
    border: 1px solid #cfd9ea;
    background: #fff;
    padding: .6rem .8rem;
    cursor: pointer;
    min-width: 0;
}

.file-slots__row:only-child:not(.has-file) .file-slots__picker {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: .35rem;
    min-height: 5.4rem;
    border: 2px dashed #1877f2;
    background: #f4f8ff;
    padding: 1.1rem 1rem;
}

.file-slots__picker:hover {
    border-color: #80bdff;
    background: #f8fbff;
}

.file-slots__row:only-child:not(.has-file) .file-slots__picker:hover {
    background: #e7f1ff;
    color: #125dcc;
    border-color: #125dcc;
}

.file-slots__row.has-file .file-slots__picker {
    border-color: #c5d4e8;
    background: #f7f9fc;
}

.file-slots__input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    overflow: hidden;
    cursor: pointer;
    font-size: 0;
    appearance: none;
}
.file-slots__input::file-selector-button,
.file-slots__input::-webkit-file-upload-button {
    display: none;
}

.file-slots__icon {
    color: #6b7a92;
    width: 1.15rem;
    text-align: center;
    flex-shrink: 0;
}

.file-slots__row.has-file .file-slots__icon,
.file-slots__row:only-child:not(.has-file) .file-slots__icon {
    color: #1877f2;
}

.file-slots__row:only-child:not(.has-file) .file-slots__icon {
    font-size: 2.15rem;
    width: auto;
    line-height: 1;
}

.file-slots__text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .92rem;
    color: #6b7a92;
}

.file-slots__row:only-child:not(.has-file) .file-slots__text {
    flex: 0 1 auto;
    color: #1877f2;
    font-weight: 600;
    font-size: .95rem;
    overflow: visible;
    white-space: normal;
}

.file-slots__row.has-file .file-slots__text {
    font-weight: 600;
    color: #1c2a4a;
}

.file-slots__remove {
    border: 1px solid #cfd9ea;
    background: #fff;
    color: #6b7a92;
    min-width: 2.5rem;
    cursor: pointer;
}

.file-slots__remove:hover {
    color: #c82333;
    border-color: #f5c6cb;
    background: #fff5f5;
}

.file-slots__add {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    width: 100%;
    min-height: 5.4rem;
    border: 2px dashed #1877f2;
    background: #f4f8ff;
    color: #1877f2;
    font-weight: 600;
    font-size: .95rem;
    padding: .85rem 1rem 1rem;
    cursor: pointer;
}

.file-slots__add i {
    font-size: 2.15rem;
    line-height: 1;
}

.file-slots__add:hover {
    background: #e7f1ff;
    color: #125dcc;
    border-color: #125dcc;
}

.file-slots__add[hidden],
.file-slots__remove[hidden] {
    display: none !important;
}

@media (max-width: 991.98px) {
    .guest-split {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .guest-visual {
        min-height: 34vh;
        background-position: center 18%;
    }
    .guest-visual__copy {
        padding: 1.5rem 1.35rem 1.15rem;
        max-width: none;
    }
    .guest-visual__copy h1 {
        font-size: 1.55rem;
    }
    .guest-visual__copy p {
        font-size: .95rem;
    }
    .guest-credit--on-image {
        display: none;
    }
    .guest-panel {
        padding: 1.5rem 1.15rem 1.25rem;
        align-items: flex-start;
    }
    .guest-credit--page {
        display: block;
        padding: .85rem 1rem 1.15rem;
        color: #7a756c;
        background: #f6f4f0;
        border: 0;
    }
    .guest-credit--page a {
        color: #4f4b45;
    }
    .landing {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1.15rem 2.25rem;
    }
    .landing-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 575.98px) {
    .site-nav__inner {
        padding: .7rem .9rem;
        gap: .5rem;
    }
    .site-nav__brand {
        font-size: .95rem;
    }
    .site-nav__menu a {
        font-size: .8rem;
        padding: .35rem .5rem;
    }
}
