.application-page {
    --app-teal: #0f7773;
    --app-teal-dark: #0a5350;
    --app-ink: #202425;
    --app-muted: #626a6a;
    --app-line: #dce3e2;
    --app-soft: #f3f7f6;
    --app-cream: #faf8f3;
    --app-white: #ffffff;
    color: var(--app-ink);
    background: var(--app-white);
    font-family: "Manrope", Arial, sans-serif;
    line-height: 1.75;
}

.application-page *,
.application-page *::before,
.application-page *::after {
    box-sizing: border-box;
}

.application-page h1,
.application-page h2,
.application-page h3 {
    margin-top: 0;
    color: inherit;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    line-height: 1.08;
}

.application-page h1 {
    max-width: 900px;
    margin-bottom: 28px;
    font-size: clamp(3.5rem, 8vw, 7.2rem);
    letter-spacing: -0.045em;
}

.application-page h2 {
    margin-bottom: 22px;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    letter-spacing: -0.035em;
}

.application-page h3 {
    margin-bottom: 14px;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.application-page p {
    margin-top: 0;
}

.app-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.app-narrow {
    width: min(780px, calc(100% - 48px));
}

.app-section {
    padding: clamp(78px, 10vw, 140px) 0;
}

.app-section--tinted {
    background: var(--app-soft);
}

.app-eyebrow,
.app-kicker {
    margin-bottom: 18px;
    color: var(--app-teal);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.app-hero {
    color: var(--app-white);
    background: var(--app-teal-dark);
}

.app-hero__inner {
    min-height: 590px;
    padding-top: clamp(110px, 14vw, 180px);
    padding-bottom: clamp(90px, 11vw, 140px);
}

.app-hero .app-eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.app-hero__lead {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.app-status-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 48px;
    align-items: center;
    padding: clamp(38px, 7vw, 76px);
    border: 1px solid var(--app-line);
    background: var(--app-cream);
}

.app-status-card__content p:not(.app-kicker) {
    max-width: 760px;
    color: var(--app-muted);
}

.app-status-card__action {
    display: grid;
    gap: 22px;
    justify-items: start;
}

.app-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border: 1px solid #b8c1c0;
    border-radius: 999px;
    color: #5d6665;
    background: #eef1f0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.app-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.app-heading > p:not(.app-kicker),
.app-narrow > p:not(.app-kicker) {
    color: var(--app-muted);
    font-size: 1.05rem;
}

.app-document-actions,
.app-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.app-document-actions {
    margin-bottom: 26px;
}

.app-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.app-button--primary {
    color: var(--app-white);
    background: var(--app-teal);
}

.app-button--secondary {
    color: var(--app-teal-dark);
    border-color: var(--app-teal);
    background: transparent;
}

.app-pdf-viewer {
    overflow: hidden;
    border: 1px solid var(--app-line);
    background: #dfe5e4;
    box-shadow: 0 24px 60px rgba(29, 48, 47, 0.08);
}

.app-pdf-viewer object {
    display: block;
    width: 100%;
    height: min(82vh, 1000px);
    min-height: 680px;
    border: 0;
}

.app-pdf-fallback {
    display: grid;
    min-height: 680px;
    place-content: center;
    padding: 48px;
    text-align: center;
    background: var(--app-white);
}

.app-file-notice {
    padding: clamp(36px, 6vw, 64px);
    border: 1px solid var(--app-line);
    background: var(--app-white);
}

@media (max-width: 820px) {
    .app-status-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .app-container,
    .app-narrow {
        width: min(100% - 32px, 1180px);
    }

    .app-document-actions,
    .app-actions {
        flex-direction: column;
    }

    .app-button {
        width: 100%;
    }

    .app-pdf-viewer object {
        height: 620px;
        min-height: 520px;
    }
}
