.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding-block: clamp(64px, 12vw, 128px);
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    isolation: isolate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    z-index: -1;
    height: 38%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, #0a0a0a 100%);
}

.hero__constellation {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    width: 100%;
    text-align: center;
}

.hero__title {
    max-width: 20ch;
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.hero__lead {
    max-width: 62ch;
    color: var(--color-fg-muted);
    font-size: 17px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.section {
    padding-block: var(--space-8);
}

.section--tight {
    padding-block: var(--space-7);
}

.section--subtle {
    background-color: var(--color-bg-subtle);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section__stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.section__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.section__index {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--color-fg-muted);
}

.section__label {
    font-family: var(--font-mono);
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--color-fg);
}

.section__intro {
    max-width: 62ch;
    color: var(--color-fg-muted);
}

.prose {
    width: 100%;
}

.empty-state {
    margin-top: var(--space-5);
    padding: var(--space-5);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
    color: var(--color-fg-muted);
    text-align: center;
}

.auth {
    max-width: 400px;
}

.auth__title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.auth__lead {
    margin-top: var(--space-2);
    color: var(--color-fg-muted);
}

.form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-5);
}

.field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.field__label {
    font-size: 13px;
    font-weight: 500;
}

.field__input {
    height: 40px;
    padding-inline: var(--space-3);
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.field__input:focus {
    outline: none;
    border-color: var(--color-border-strong);
    box-shadow: 0 0 0 1px var(--color-border-strong);
}

select.field__input,
textarea.field__input {
    height: auto;
    min-height: 40px;
    padding-block: calc(var(--space-2) + 2px);
}

textarea.field__input {
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
}

.form__error {
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius);
    font-size: 14px;
}

.form__success {
    border-color: var(--color-border-strong);
    color: var(--color-fg);
}

.apply__note {
    color: var(--color-fg-muted);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 720px) {
    .site-footer__bottom {
        flex-direction: column;
        justify-content: center;
        gap: var(--space-2);
        padding-block: var(--space-4);
    }
}
