/* ==========================================================================
   MERITERS NEET MDS 2027 Scholarship — design system
   Plain CSS on top of Bootstrap 5 (grid, utilities, forms, modal, dropdown).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens and base
   -------------------------------------------------------------------------- */
:root {
    --navy: #14284b;
    --navy-deep: #0d1c37;
    --ink-soft: #4a5468;
    --ink-muted: #6b7280;
    --ivory: #faf6ec;
    --ivory-deep: #f2ebda;
    --ivory-card: #fffcf4;
    --line: #e2d8c1;
    --gold: #b8924a;
    --gold-deep: #8c6a2a;
    --gold-light: #dcc28b;
    --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--navy);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    color: #14284b;
    background: #ead9ae;
}

:focus-visible {
    outline: 3px solid rgba(184, 146, 74, 0.55);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.font-display {
    font-family: var(--font-display);
}

.scholarship-page {
    min-height: 100dvh;
    overflow-x: clip;
    background: var(--ivory);
    color: var(--navy);
}

/* Shared widths ------------------------------------------------------------ */
.shell {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 16px;
}

@media (min-width: 640px) {
    .shell {
        padding-inline: 24px;
    }
}

@media (min-width: 768px) {
    .shell {
        padding-inline: 40px;
    }
}

/* Shared text helpers ------------------------------------------------------ */
.eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.eyebrow-light {
    color: var(--gold-light);
}

.text-navy {
    color: var(--navy) !important;
}

.text-soft {
    color: var(--ink-soft);
}

.text-ink-muted {
    color: var(--ink-muted);
}

.text-gold-deep {
    color: var(--gold-deep);
}

.section-title {
    margin-top: 12px;
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--navy);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.7rem;
    }
}

.ornament {
    display: flex;
    align-items: center;
    width: 120px;
    height: 9px;
}

.ornament::before,
.ornament::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gold);
}

.ornament span {
    width: 7px;
    height: 7px;
    margin: 0 8px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}

.ornament-light::before,
.ornament-light::after {
    background: var(--gold-light);
}

.ornament-light span {
    border-color: var(--gold-light);
}

.diamond {
    width: 5px;
    height: 5px;
    flex-shrink: 0;
    background: var(--gold);
    transform: rotate(45deg);
}

.page-enter {
    animation: rise-in 0.45s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .page-enter {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.academic-rule-top {
    height: 4px;
    background: linear-gradient(90deg, var(--navy) 0 70%, var(--gold) 70% 100%);
}

.academic-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--line);
    background: rgba(250, 246, 236, 0.96);
    backdrop-filter: blur(6px);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    height: 68px;
    margin-inline: auto;
    padding-inline: 16px;
}

@media (min-width: 640px) {
    .header-bar {
        padding-inline: 24px;
    }
}

@media (min-width: 768px) {
    .header-bar {
        height: 80px;
        padding-inline: 40px;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.crest {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    border-radius: 2px;
    overflow: hidden;
}

.crest img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    display: block;
    /* font-family: var(--font-display); */
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.05em;
    color: var(--navy);
}

@media (min-width: 640px) {
    .brand-name {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .academic-header .brand-name {
        font-size: 18px;
    }
}

.brand-tag,
.brand-subtitle {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: var(--gold-deep);
    white-space: nowrap;
}

@media (min-width: 640px) {
    .brand-tag,
    .brand-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .academic-header .brand-tag,
    .academic-header .brand-subtitle {
        margin-top: 3px;
        font-size: 10.5px;
    }
}

.academic-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 500;
}

@media (min-width: 1280px) {
    .academic-nav {
        gap: 32px;
        font-size: 14px;
    }
}

.academic-nav a {
    position: relative;
    padding: 4px 0;
    color: var(--ink-soft);
    transition: color 0.2s;
}

.academic-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: 0;
    transition: transform 0.25s;
}

.academic-nav a:hover,
.academic-nav a[aria-current="page"] {
    color: var(--navy);
}

.academic-nav a:hover::after,
.academic-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* The navigation switches at 1024px, matching the original design. */
.nav-desktop {
    display: none !important;
}

.nav-mobile {
    display: block;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex !important;
    }

    .btn-apply.nav-desktop {
        display: inline-flex !important;
    }

    .nav-mobile {
        display: none !important;
    }
}

.min-w-0 {
    min-width: 0;
}

.nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--navy);
}

.nav-toggle[aria-expanded="true"] {
    background: var(--ivory-deep);
}

.nav-dropdown {
    width: min(280px, calc(100vw - 32px));
    min-width: 0;
    margin-top: 12px !important;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fffcf4;
    box-shadow: 0 20px 25px -5px rgba(20, 40, 75, 0.12), 0 8px 10px -6px rgba(20, 40, 75, 0.1);
}

.nav-dropdown li+li a {
    border-top: 0;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.nav-dropdown li:last-child a {
    border-bottom: 0;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
    background: var(--ivory-deep);
}

/* Shared button skins ------------------------------------------------------ */
.btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--ivory);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-apply:hover {
    background: var(--navy-deep);
    box-shadow: inset 0 -2px 0 var(--gold);
    color: var(--ivory);
}

.btn-apply:active {
    transform: translateY(1px);
}

.btn-apply.is-header {
    min-height: 40px;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 12px;
}

@media (min-width: 640px) {
    .btn-apply.is-header {
        font-size: 14px;
    }
}

.btn-hero-apply {
    min-height: 54px;
    padding: 0 32px;
    border-radius: 999px;
    font-size: 15px;
}

.btn-final-apply {
    min-height: 44px;
    padding: 0 28px;
    border-radius: 14px;
    background: var(--gold-light);
    color: var(--navy-deep);
}

.btn-final-apply:hover {
    background: var(--ivory);
    color: var(--navy-deep);
    box-shadow: none;
}

.text-link {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    transition: color 0.2s;
}

.text-link:hover {
    color: var(--gold-deep);
}

/* --------------------------------------------------------------------------
   Hero (reference layout: headline left, award cards right)
   -------------------------------------------------------------------------- */
.hero-section {
    --h-gold: #b07a14;
    --h-gold2: #d4a237;
    position: relative;
    overflow: hidden;
}

.hero-wash {
    background: radial-gradient(ellipse at 8% 10%, rgba(220, 194, 139, 0.18), transparent 45%), #faf6ec;
}

.hero-mobile-photo {
    display: none;
}

.hero-content {
    position: relative;
    display: grid;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

@media (min-width: 640px) {
    .hero-content {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 768px) {
    .hero-content {
        max-width: 90rem;
        min-height: 600px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(140px, 0.5fr);
        gap: 24px;
        padding: 56px 32px;
    }

    .hero-mobile-photo {
        display: block;
        position: absolute;
        inset: 0 0 0 auto;
        width: min(720px, 55%);
        background-position: right center;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 0.62;
        mask-image: linear-gradient(to right, transparent, #000 58%);
        -webkit-mask-image: linear-gradient(to right, transparent, #000 58%);
        pointer-events: none;
    }

    .hero-mobile-photo::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, #faf6ec, transparent 24%);
    }
}

.hero-stack,
.hero-benefits {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-intro {
    text-align: left;
}

.hero-exam {
    background: var(--navy);
    color: #f3e3bd;
    box-shadow: inset 0 -2px 0 var(--gold);
}

.hero-exam.hero-exam-heading {
    display: inline-block;
    margin-bottom: 14px;
    padding: 10px 16px;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.045em;
    white-space: nowrap;
}

.hero-title {
    font-family: var(--font-sans);
    color: #0f2147;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-amount-gold {
    display: block;
    font-weight: 800;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    background: linear-gradient(180deg, var(--h-gold2), var(--h-gold) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-worth {
    display: block;
    margin-top: 0.25em;
    font-weight: 700;
    font-size: clamp(1rem, 2.2vw, 1.7rem);
    letter-spacing: -0.01em;
}

.hero-sch {
    display: block;
    margin-top: 0.08em;
    font-weight: 800;
    font-size: clamp(2.1rem, 5.6vw, 4.4rem);
}

.hero-forall {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 9px;
    border-left: 3px solid #b98218;
    background: #f2e4bc;
    font-weight: 800;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.25;
    color: #0f2147;
    letter-spacing: 0.01em;
}

.hero-lead {
    margin-top: 10px;
    font-size: 14px;
    color: var(--ink-soft);
}

.hero-lead strong {
    color: var(--navy);
}

.hero-cta {
    display: none;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .hero-cta {
        display: flex;
        flex-wrap: wrap;
    }

    .hero-mobile-how {
        display: none !important;
    }
}

.hero-how {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
}

.btn-hero-apply {
    min-height: 54px;
    border-radius: 999px;
    padding: 0 32px;
    font-size: 15px;
}

.hero-award {
    position: relative;
    margin-top: 8px;
    padding: 20px 22px 18px !important;
    border: 1px solid #e3cf9f !important;
    border-top: 2px solid #c79a3c !important;
    border-radius: 10px;
    background: #fffdf7;
    translate: 0 -2px;
    box-shadow: 0 3px 8px rgba(15, 33, 71, 0.08), 0 16px 30px -12px rgba(15, 33, 71, 0.24) !important;
    animation-delay: 0.12s;
}

.hero-applicant-benefit {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    background: #fffcf4;
    font-size: 13px;
    translate: 0 -2px;
    box-shadow: 0 3px 8px rgba(15, 33, 71, 0.08), 0 16px 30px -12px rgba(15, 33, 71, 0.24);
}

.award-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 0;
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9a6f1c;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.award-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #e3cf9f, transparent);
}

.hero-award .prize-card {
    display: flex;
    align-items: center;
    gap: 16px !important;
    margin: 0;
    padding: 0 0 16px !important;
    max-width: none;
    border: 0;
    border-bottom: 1px solid #efe5cc !important;
    background: transparent;
    box-shadow: none;
}

.trophy-ring,
.prize-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.trophy-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid #d9bd7c;
    background: #fbf4e2;
    color: #9a6f1c;
}

.trophy-ring svg {
    width: 26px;
    height: 26px;
}

.award-copy {
    min-width: 0;
}

.award-name {
    font-weight: 700;
    font-size: clamp(17px, 1.6vw, 20px);
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: #0f2147;
}

.award-valid {
    /* margin-top: 3px; */
    font-size: 13px;
    color: var(--ink-soft);
}

.award-valid strong {
    color: #0f2147;
}

.award-value {
    display: block;
    /* margin-top: 3px; */
    padding: 0;
    font-weight: 600;
    font-size: 13px;
    color: #9a6f1c;
    background: none;
}

.hero-award .hero-facts {
    margin-top: 14px;
}

.hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 11px;
    line-height: 16px;
    color: var(--ink-soft);
}

@media (min-width: 640px) {
    .hero-facts {
        font-size: 12px;
    }
}

.hero-facts > div {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.hero-facts > div:first-child {
    padding-right: 8px;
}

.hero-facts > div + div {
    padding-left: 8px;
    padding-right: 8px;
    border-left: 1px solid var(--line);
}

.hero-facts svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--gold-deep);
}

.hero-facts strong {
    color: var(--navy);
}

@media (min-width: 768px) {
    .hero-facts {
        grid-template-columns: 1fr;
        gap: 14px;
        font-size: 14px;
        line-height: 1.45;
    }

    .hero-facts > div {
        padding: 0 !important;
    }

    .hero-facts > div + div {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 14px !important;
    }
}

.hero-applicant-benefit .font-display {
    margin-top: 4px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
}

.hero-applicant-benefit .prize-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: var(--ivory);
    color: var(--gold-deep);
}

.hero-applicant-benefit p.mt {
    margin-top: 4px;
    color: var(--ink-soft);
}

.hero-mobile-how {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
}

.hero-mobile-how a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
}

@media (max-width: 767px) {
    .scholarship-page {
        --m-bar: calc(73px + env(safe-area-inset-bottom));
        --m-links: 52px;
        padding-bottom: calc(var(--m-bar));
    }

    .hero-section {
        display: flex;
        min-height: calc(100svh - 72px - var(--m-bar) - var(--m-links));
    }

    .hero-mobile-photo {
        display: block;
        position: absolute;
        inset: 0 0 auto 38%;
        height: 250px;
        background-size: auto 100%;
        background-position: right top;
        background-repeat: no-repeat;
        pointer-events: none;
    }

    .hero-mobile-photo::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(to right, #faf6ec 0%, rgba(250, 246, 236, 0.3) 35%, transparent 60%),
            linear-gradient(to top, #faf6ec 0%, transparent 35%);
    }

    .hero-content {
        flex: 1;
        width: 100%;
        grid-template-rows: auto auto minmax(0, 1fr);
        row-gap: 0;
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .hero-stack {
        display: contents;
    }

    .hero-intro {
        grid-row: 1;
        max-width: 64%;
    }

    .hero-benefits {
        grid-row: 2;
        margin-top: 26px;
    }

    .hero-mobile-how {
        position: fixed;
        inset: auto 0 var(--m-bar);
        z-index: 30;
        height: var(--m-links);
        min-height: var(--m-links);
        margin: 0;
        padding: 0 8px;
        justify-self: stretch;
        gap: clamp(10px, 3vw, 20px);
        background: rgba(250, 246, 236, 0.98);
        font-size: clamp(11px, 3vw, 14px);
        flex-wrap: nowrap;
    }

    .hero-mobile-how a {
        min-height: 44px;
        white-space: nowrap;
        gap: 4px;
    }

    .hero-amount-gold {
        font-size: clamp(2.2rem, 11vw, 2.9rem);
    }

    .hero-worth {
        font-size: clamp(0.78rem, 3.6vw, 0.95rem);
    }

    .hero-sch {
        font-size: clamp(1.6rem, 8vw, 2.1rem);
    }

    .hero-forall {
        margin-top: 8px;
        font-size: 15px;
    }

    .hero-lead {
        margin-top: 4px;
        font-size: 11px;
        line-height: 1.35;
    }

    .hero-award {
        padding: 14px 14px 12px !important;
    }

    .award-label {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .hero-award .prize-card {
        gap: 12px !important;
        padding-bottom: 10px !important;
    }

    .trophy-ring {
        width: 42px;
        height: 42px;
    }

    .trophy-ring svg {
        width: 20px;
        height: 20px;
    }

    .award-name {
        font-size: 14.5px;
    }

    .award-valid,
    .award-value {
        font-size: 11.5px;
        margin-top: 2px;
    }

    .hero-award .hero-facts {
        margin-top: 10px;
    }

    .hero-applicant-benefit {
        margin-top: 12px;
        padding: 12px 14px;
        gap: 12px;
        font-size: 11px;
    }

    .hero-applicant-benefit .font-display {
        font-size: 16px;
    }

    .hero-applicant-benefit .prize-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 767px) and (max-height: 700px) {
    .hero-section {
        min-height: calc(100svh - 60px - var(--m-bar) - var(--m-links));
    }

    .hero-content {
        padding-top: 10px;
        padding-bottom: 16px;
    }

    .hero-mobile-photo {
        height: 200px;
    }

    .hero-exam.hero-exam-heading {
        margin-bottom: 8px;
        padding: 8px 12px;
        font-size: 19px;
    }

    .hero-intro {
        max-width: 100%;
    }

    .hero-title {
        max-width: 64%;
    }

    .hero-amount-gold {
        font-size: 2.15rem;
    }

    .hero-sch {
        font-size: 1.55rem;
    }

    .hero-worth {
        font-size: 0.76rem;
    }

    .hero-forall {
        margin-top: 6px;
        padding: 5px 8px;
        font-size: 14px;
    }

    .hero-benefits {
        margin-top: 18px;
    }

    .hero-award {
        padding: 11px 12px 9px !important;
    }

    .award-label {
        font-size: 9.5px;
        margin-bottom: 7px;
    }

    .trophy-ring {
        width: 36px;
        height: 36px;
    }

    .trophy-ring svg {
        width: 18px;
        height: 18px;
    }

    .award-name {
        font-size: 13px;
    }

    .award-valid,
    .award-value {
        font-size: 10.5px;
        margin-top: 1px;
    }

    .hero-award .prize-card {
        padding-bottom: 7px !important;
    }

    .hero-award .hero-facts {
        margin-top: 7px;
    }

    .hero-applicant-benefit {
        margin-top: 8px;
        padding: 9px 12px;
        font-size: 10px;
    }

    .hero-applicant-benefit .font-display {
        font-size: 14px;
    }
}

@media (max-width: 767px) and (max-height: 620px) {
    .hero-content {
        padding-top: 8px !important;
    }

    .hero-exam.hero-exam-heading {
        padding: 6px 10px;
        margin-bottom: 6px;
        font-size: 17px;
    }

    .hero-amount-gold {
        font-size: 2rem;
    }

    .hero-sch {
        font-size: 1.5rem;
    }

    .hero-forall {
        margin-top: 5px;
        padding: 4px 6px;
        font-size: 12px;
    }
}

/* --------------------------------------------------------------------------
   Award progress
   -------------------------------------------------------------------------- */
.award-progress {
    padding: 32px 16px;
    background: var(--ivory);
    border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
    .award-progress {
        padding-inline: 24px;
    }
}

@media (min-width: 768px) {
    .award-progress {
        padding: 40px;
    }
}

.award-card {
    width: 100%;
    max-width: 1024px;
    margin-inline: auto;
    padding: 20px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy);
    background: var(--ivory-card);
    box-shadow: 0 14px 34px rgba(20, 40, 75, 0.07);
}

@media (min-width: 640px) {
    .award-card {
        padding: 28px;
    }
}

.row-between,
.award-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.award-top .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-tag,
.award-live {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.award-body,
.award-grid {
    display: grid;
    gap: 24px;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .award-body,
    .award-grid {
        grid-template-columns: 1fr auto;
        align-items: end;
    }
}

.awarded-amount,
.award-amount {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
}

.awarded-amount .of,
.award-amount .of {
    font-size: 0.6em;
    font-style: italic;
    font-weight: 400;
    color: var(--gold-deep);
}

.award-meter {
    position: relative;
    height: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--ivory-deep);
}

.award-meter-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--navy), #24406f);
    box-shadow: inset 0 -2px 0 var(--gold);
    transform-origin: left;
}

.award-meter-tick {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(184, 146, 74, 0.5);
}

.meter-legend,
.award-meter-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: var(--ink-muted);
}

.meter-legend strong,
.award-meter-labels strong {
    color: var(--navy);
}

.stat-pair,
.award-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    text-align: center;
}

@media (min-width: 768px) {
    .stat-pair,
    .award-stats {
        min-width: 260px;
    }
}

.stat-pair > div,
.stat-cell {
    padding: 12px;
}

.stat-cell + .stat-cell,
.stat-pair > div + div {
    border-left: 1px solid var(--line);
}

.stat-pair dt,
.stat-cell dt {
    font-size: 10px;
    font-weight: 400;
    color: var(--ink-muted);
}

.stat-pair dd,
.stat-cell dd {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--navy);
}

.award-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    line-height: 20px;
    color: var(--ink-soft);
}

.award-foot .body-xs {
    font-size: 12px;
    line-height: 20px;
    color: var(--ink-soft);
}

.award-foot .text-link,
.award-foot .link-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 600;
}

@media (min-width: 640px) {
    .award-foot {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section-ivory-deep {
    padding-block: 56px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--ivory-deep);
}

.section-benefits,
.section-eligibility {
    padding-block: 56px;
}

.section-panel {
    padding-bottom: 56px;
    padding-top: 56px;
}

.section-faqs {
    padding-block: 56px;
}

.section-final {
    padding: 40px 16px;
}

@media (min-width: 640px) {
    .section-final {
        padding-inline: 24px;
    }
}

@media (min-width: 768px) {
    .section-ivory-deep {
        padding-block: 80px;
    }

    .section-benefits,
    .section-eligibility {
        padding-block: 96px;
    }

    .section-panel {
        padding-bottom: 96px;
        padding-top: 96px;
    }

    .section-final {
        padding-block: 56px;
    }
}

.scholarship-page section[id],
.scholarship-page #contact {
    scroll-margin-top: 96px;
}

/* How it works ------------------------------------------------------------- */
.how-heading {
    max-width: 48rem;
    margin-inline: auto;
    text-align: center;
}

.how-heading .section-title {
    margin-top: 12px;
    line-height: 1.2;
}

.how-heading .ornament {
    margin: 20px auto 0;
}

.how-heading > p:not(.eyebrow) {
    margin-top: 20px;
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
}

.step-panel {
    display: grid;
    gap: 0;
    margin-top: 40px;
    border: 1px solid var(--line);
    background: #fffcf4;
}

@media (min-width: 768px) {
    .step-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 48px;
    }

    .step-card + .step-card {
        border-left: 1px solid var(--line);
    }
}

.step-card {
    padding: 24px;
    border-bottom: 1px solid var(--line);
    transition: background 0.25s;
}

.step-card:last-child {
    border-bottom: 0;
}

.step-card:hover {
    background: #fff8e8;
}

@media (min-width: 768px) {
    .step-card {
        padding: 32px;
        border-bottom: 0;
    }
}

.step-numeral {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1;
    color: var(--gold);
}

.step-card h3 {
    margin-top: 12px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.375;
    color: var(--navy);
}

.step-card ul {
    margin-top: 16px;
    padding-left: 16px !important;
    list-style: disc !important;
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
}

.step-card li + li {
    margin-top: 12px;
}

.step-card li::marker {
    color: var(--gold-deep);
}

/* Benefit summary card ----------------------------------------------------- */
.benefit-summary {
    padding: 20px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    background: #fffcf4;
}

@media (min-width: 640px) {
    .benefit-summary {
        padding: 24px;
    }
}

.benefit-summary .prize-icon {
    width: 48px;
    height: 48px;
}

.benefit-summary-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefit-summary-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.375;
    color: var(--navy);
}

.benefit-summary p + p {
    margin-top: 4px;
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
}

.benefit-summary strong {
    color: var(--navy);
}

.benefit-summary.applicant-benefit {
    margin-top: 24px;
}

.benefit-summary.applicant-benefit .benefit-summary-title {
    margin-top: 8px;
    font-size: 20px;
}

.benefit-summary.applicant-benefit > p:last-child {
    margin-top: 8px;
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
}

/* Next year scholarship card ----------------------------------------------- */
.section-next-year {
    padding: 0 16px 48px;
}

@media (min-width: 640px) {
    .section-next-year {
        padding-inline: 24px;
    }
}

@media (min-width: 768px) {
    .section-next-year {
        padding-inline: 40px;
    }
}

.section-next-year .shell {
    max-width: 80rem;
}

.next-year-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--navy);
    background: var(--ivory-deep);
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
}

.next-year-card h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
}

.next-year-card > p {
    margin-top: 4px;
}

.next-year-card .text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* Benefits ----------------------------------------------------------------- */
.benefits-intro {
    display: grid;
    gap: 32px;
}

.benefits-intro .section-title {
    margin-top: 12px;
    line-height: 1.2;
}

.benefits-intro .ornament {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .benefits-intro {
        grid-template-columns: 0.8fr 1.2fr;
        align-items: end;
        gap: 64px;
    }
}

.benefit-grid {
    display: grid;
    margin-top: 40px;
    border: 1px solid var(--line);
    border-top: 2px solid var(--navy);
    background: #fffcf4;
}

@media (min-width: 768px) {
    .benefit-grid {
        grid-template-columns: 1fr 1fr;
        margin-top: 48px;
    }
}

.benefit-group {
    padding: 24px;
    border-bottom: 1px solid var(--line);
}

.benefit-group:last-child {
    border-bottom: 0;
}

@media (min-width: 768px) {
    .benefit-group {
        padding: 32px;
    }

    .benefit-group:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .benefit-group:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

.benefit-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rule-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: var(--ivory-deep);
    color: var(--gold-deep);
}

.benefit-head .rule-icon {
    width: 40px;
    height: 40px;
}

.benefit-head h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: var(--navy);
}

.benefit-group ul {
    margin-top: 20px;
}

.benefit-group li {
    display: flex;
    gap: 12px;
}

.benefit-group li+li {
    margin-top: 16px;
}

.benefit-group .diamond {
    margin-top: 8px;
}

.benefit-group li span:last-child {
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
}

.benefit-group li strong {
    display: block;
    color: var(--navy);
}

.benefit-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.benefit-foot p {
    max-width: 672px;
    font-size: 11px;
    line-height: 20px;
    color: var(--ink-muted);
}

.benefit-foot .text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
}

@media (min-width: 640px) {
    .benefit-foot {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Eligibility two-column --------------------------------------------------- */
.eligibility-grid {
    display: grid;
    gap: 36px;
}

@media (min-width: 768px) {
    .eligibility-grid {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 80px;
    }
}

.eligibility-copy .section-title {
    max-width: 28rem;
    margin-top: 12px;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .eligibility-copy .section-title {
        font-size: 3rem;
    }
}

.eligibility-copy>p:not(.eyebrow) {
    max-width: 512px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
}

.eligibility-list {
    margin-top: 28px;
    padding-left: 20px;
    border-left: 1px solid var(--gold);
}

.eligibility-list p {
    display: flex;
    gap: 12px;
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
}

.eligibility-list p+p {
    margin-top: 16px;
}

.eligibility-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--gold-deep);
}

.eligibility-list strong {
    color: var(--navy);
}

.document-card {
    position: relative;
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--ivory-card);
    box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(20, 40, 75, 0.06);
}

.document-card::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(184, 146, 74, 0.22);
    pointer-events: none;
}

@media (min-width: 640px) {
    .document-card {
        padding: 32px;
    }
}

.document-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.document-head h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: var(--navy);
}

.tag-gold {
    padding: 6px 12px;
    border: 1px solid var(--gold);
    background: var(--ivory);
    color: var(--gold-deep);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mechanics-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
    border: 1px solid var(--line);
}

.mechanics-stats>div {
    padding: 16px 8px;
    text-align: center;
}

.mechanics-stats>div+div {
    border-left: 1px solid var(--line);
}

.mechanics-stats p:first-child {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--navy);
}

.mechanics-stats p:last-child {
    margin-top: 4px;
    font-size: 10px;
    line-height: 16px;
    color: var(--ink-muted);
}

.document-note {
    margin-top: 16px;
    padding: 16px;
    background: var(--ivory-deep);
    font-size: 12px;
    line-height: 20px;
    color: var(--ink-soft);
}

.document-note strong {
    color: var(--navy);
}

.note-gold {
    margin-top: 12px;
    padding: 16px;
    border-left: 3px solid var(--gold);
    background: #fbf3df;
    font-size: 12px;
    line-height: 20px;
    color: var(--ink-soft);
}

.note-gold strong {
    color: var(--gold-deep);
}

.document-fine {
    margin-top: 16px;
    font-size: 10px;
    line-height: 16px;
    color: var(--ink-muted);
}

/* Navy eligibility panel --------------------------------------------------- */
.panel-shell {
    width: 100%;
    max-width: 896px;
    margin-inline: auto;
    padding-inline: 16px;
}

@media (min-width: 640px) {
    .panel-shell {
        padding-inline: 24px;
    }
}

@media (min-width: 768px) {
    .panel-shell {
        padding-inline: 40px;
    }
}

.eligibility-panel {
    position: relative;
    padding: 24px;
    background: var(--navy);
    color: var(--ivory);
    box-shadow: 0 24px 50px rgba(13, 28, 55, 0.18);
}

.eligibility-panel::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201, 168, 98, 0.35);
    pointer-events: none;
}

@media (min-width: 640px) {
    .eligibility-panel {
        padding: 40px;
    }
}

.eligibility-panel h2 {
    margin-top: 12px;
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 36px;
    color: var(--ivory);
}

.eligibility-panel > p:not(.eyebrow):not(.eligibility-fine) {
    margin-top: 12px;
    font-size: 14px;
    line-height: 24px;
    color: #cdd6e2;
}

.eligibility-rules {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.rule-item {
    display: flex;
    gap: 16px;
}

.eligibility-rules .rule-icon {
    margin-top: 2px;
    width: 32px;
    height: 32px;
    border-color: #dcc28b;
    background: transparent;
    color: #dcc28b;
}

.eligibility-rules .rule-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: #faf6ec;
}

.eligibility-rules .rule-detail {
    margin-top: 4px;
    font-size: 14px;
    line-height: 24px;
    color: #cdd6e2;
}

.eligibility-fine {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 168, 98, 0.35);
    font-size: 12px;
    line-height: 20px;
    color: #cdd6e2;
}

.eligibility-fine strong {
    color: var(--gold-light);
}

#faqs.section-ivory-deep {
    padding-block: 56px;
}

@media (min-width: 768px) {
    #faqs.section-ivory-deep {
        padding-block: 80px;
    }
}

/* FAQs --------------------------------------------------------------------- */
.faq-shell {
    width: 100%;
    max-width: 896px;
    margin-inline: auto;
    padding-inline: 16px;
}

@media (min-width: 640px) {
    .faq-shell {
        padding-inline: 24px;
    }
}

.faq-heading {
    margin-bottom: 32px;
    text-align: center;
}

.faq-heading .section-title {
    margin-top: 8px;
    font-size: 1.875rem;
    line-height: 36px;
}

@media (min-width: 768px) {
    .faq-heading .section-title {
        font-size: 2.25rem;
        line-height: 40px;
    }
}

.faq-heading .ornament {
    margin: 20px auto 0;
}

.faq-list {
    border-top: 2px solid var(--navy);
    border-bottom: 1px solid var(--line);
}

.faq-row+.faq-row {
    border-top: 1px solid var(--line);
}

.faq-row summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
}

.faq-row summary::-webkit-details-marker {
    display: none;
}

.faq-row summary::marker {
    content: "";
}

.faq-row summary:focus-visible {
    outline: 3px solid rgba(184, 146, 74, 0.5);
    outline-offset: 2px;
    border-radius: 2px;
}

.faq-open {
    display: none;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--gold-deep);
}

.faq-closed {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--gold-deep);
}

.faq-row[open] .faq-open {
    display: inline;
}

.faq-row[open] .faq-closed {
    display: none;
}

.faq-row>p {
    max-width: 768px;
    padding: 0 32px 20px 0;
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
}

.help-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--ivory-card);
}

@media (min-width: 640px) {
    .help-card {
        padding: 24px;
    }
}

@media (min-width: 768px) {
    .help-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.help-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: var(--navy);
}

.help-card p {
    max-width: 576px;
    margin-top: 4px;
    font-size: 12px;
    line-height: 20px;
    color: var(--ink-soft);
}

.help-actions {
    display: grid;
    gap: 8px;
}

@media (min-width: 640px) {
    .help-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding-inline: 16px;
    border: 1px solid var(--line);
    background: var(--ivory);
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: border-color 0.2s;
}

.contact-link:hover {
    border-color: var(--gold);
    color: var(--navy);
}

/* Final call to action ----------------------------------------------------- */
.final-band {
    position: relative;
    max-width: 1280px;
    margin-inline: auto;
    padding: 48px 20px;
    background: var(--navy);
    text-align: center;
}

.final-band::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201, 168, 98, 0.4);
    pointer-events: none;
}

.final-band>* {
    position: relative;
}

@media (min-width: 640px) {
    .final-band {
        padding-inline: 40px;
    }
}

@media (min-width: 768px) {
    .final-band {
        padding-block: 56px;
    }
}

.final-band h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 32px;
    color: var(--ivory);
}

@media (min-width: 640px) {
    .final-band h2 {
        font-size: 2.1rem;
        line-height: 44.8px;
    }
}

.final-band .ornament {
    margin: 16px auto 0;
}

.final-band p {
    margin-top: 16px;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.final-band .btn-apply {
    margin-top: 28px;
}

.final-band .btn-wrap {
    display: none;
}

@media (min-width: 768px) {
    .final-band .btn-wrap {
        display: block;
    }
}

/* Footer ------------------------------------------------------------------- */
.academic-footer {
    padding-block: 32px;
    border-top: 1px solid var(--line);
    background: var(--ivory-deep);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #14284b;
}

.footer-brand .brand-name {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.footer-brand .brand-subtitle {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

@media (min-width: 640px) {
    .footer-brand .brand-name {
        font-size: 20px;
    }

    .footer-brand .brand-subtitle {
        font-size: 13px;
    }
}

.footer-inner p {
    max-width: 672px;
    font-size: 11px;
    line-height: 20px;
    color: var(--ink-muted);
}

.footer-inner .text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* Mobile apply bar --------------------------------------------------------- */
.mobile-apply-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 12px;
    padding: 12px;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(250, 246, 236, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 -8px 24px rgba(20, 40, 75, 0.08);
}

.mobile-apply-bar .contact-link {
    min-height: 48px;
    border-radius: 3px;
    font-size: 14px;
}

.mobile-apply-bar .btn-apply {
    min-height: 48px;
    padding: 0;
    border-radius: 99px;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   Contact modal
   -------------------------------------------------------------------------- */
.contact-modal .modal-dialog {
    width: calc(100% - 2rem);
    max-width: 28rem;
    margin: 1rem auto;
}

.contact-modal .modal-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 24px;
    border: 1px solid #e2d8c1;
    border-radius: 8px;
    background: #faf6ec;
    color: #14284b;
}

.contact-modal h2 {
    padding-right: 24px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.01em;
}

.contact-modal .contact-intro {
    font-size: 14px;
    line-height: 24px;
    color: #4a5468;
}

.contact-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 2px;
    color: #14284b;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.contact-close:hover {
    opacity: 1;
}

.callback-form {
    display: grid;
    gap: 12px;
}

.callback-form label {
    font-size: 14px;
    font-weight: 600;
}

.phone-field {
    display: flex;
    align-items: center;
    min-height: 48px;
    border: 1px solid #cbbd9f;
    border-radius: 4px;
    background: #fff;
}

.phone-field:focus-within {
    box-shadow: 0 0 0 2px rgba(184, 146, 74, 0.55);
}

.phone-field span {
    padding: 0 12px;
    border-right: 1px solid #e2d8c1;
    font-size: 14px;
}

.phone-field input {
    flex: 1;
    min-width: 0;
    padding: 14px 12px;
    border: 0;
    background: transparent;
    font-size: 16px;
    line-height: 24px;
    outline: none;
}

.callback-consent {
    font-size: 12px;
    line-height: 20px;
    color: #4a5468;
}

.callback-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding-inline: 16px;
    border-radius: 4px;
    background: #14284b;
    color: #faf6ec;
    font-size: 14px;
    font-weight: 600;
}

.callback-submit:disabled {
    cursor: not-allowed;
}

.callback-success {
    padding: 16px;
    border: 1px solid #e2d8c1;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.6);
}

.callback-success svg {
    margin-bottom: 8px;
    color: #8c6a2a;
}

.callback-success h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.callback-success p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 24px;
}

.contact-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8c6a2a;
}

.contact-divider::before,
.contact-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2d8c1;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding-inline: 12px;
    border: 1px solid #b0cbb4;
    border-radius: 4px;
    background: #edf5ee;
    color: #215936;
    font-size: 14px;
    font-weight: 600;
}

.whatsapp-link:hover {
    color: #215936;
    border-color: #7fae86;
}

.contact-note {
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    color: #4a5468;
}

/* --------------------------------------------------------------------------
   Winners page
   -------------------------------------------------------------------------- */
.winners-main {
    width: 100%;
    max-width: 1024px;
    margin-inline: auto;
    padding: 32px 16px 64px;
}

@media (min-width: 640px) {
    .winners-main {
        padding-inline: 24px;
    }
}

@media (min-width: 768px) {
    .winners-main {
        padding: 48px 40px 64px;
    }
}

.winners-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.winners-body {
    margin-top: 24px;
}

.winners-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.winners-meta span {
    font-size: 12px;
    color: var(--gold-deep);
}

.winners-title {
    margin-top: 12px;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--navy);
}

.winners-body>.ornament {
    margin-top: 20px;
}

.winners-intro {
    max-width: 672px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
}

.winners-summary {
    display: grid;
    margin-top: 32px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy);
    background: var(--ivory-card);
    box-shadow: 0 14px 34px rgba(20, 40, 75, 0.07);
}

@media (min-width: 640px) {
    .winners-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.winner-stat {
    padding: 20px;
}

.winner-stat+.winner-stat {
    border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
    .winner-stat+.winner-stat {
        border-top: 0;
        border-left: 1px solid var(--line);
    }
}

.winner-stat dt {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.winner-stat dd {
    margin-top: 4px;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    color: var(--navy);
}

.winners-meter {
    margin-top: 12px;
}

.winners-meter-note {
    margin-top: 8px;
    font-size: 12px;
    color: var(--ink-muted);
}

.results-section {
    margin-top: 48px;
}

.results-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--navy);
}

@media (min-width: 640px) {
    .results-head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.results-head h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
}

.results-empty {
    margin-top: 24px;
    padding: 32px;
    text-align: center;
}

@media (min-width: 640px) {
    .results-empty {
        padding: 48px;
    }
}

.results-empty .prize-icon {
    width: 48px;
    height: 48px;
    margin-inline: auto;
}

.results-empty h3 {
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: var(--navy);
}

.results-empty p {
    max-width: 448px;
    margin: 8px auto 0;
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
}

.winners-intro-note {
    margin-top: 8px;
    font-size: 13px;
    color: var(--ink-muted);
}

.college-search {
    position: relative;
    display: block;
    width: 100%;
}

@media (min-width: 640px) {
    .college-search {
        width: 288px;
    }
}

.college-search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--ink-muted);
    pointer-events: none;
    transform: translateY(-50%);
}

.college-search-field {
    width: 100%;
    height: 44px;
    padding: 0 36px;
    border: 1px solid var(--line);
    background: var(--ivory-card);
    color: var(--navy);
    font-size: 14px;
    line-height: 20px;
    outline: none;
}

.college-search-field:focus {
    border-color: var(--gold);
}

.search-empty {
    margin-top: 24px;
    padding: 32px;
    border: 1px dashed var(--gold);
    text-align: center;
}

.search-empty-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--navy);
}

.search-empty .text-link {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

.college-list {
    margin-top: 16px;
    padding: 0;
    list-style: none;
}

.college-list > li + li {
    margin-top: 12px;
}

.winner-college {
    border: 1px solid var(--line);
    background: var(--ivory-card);
    transition: border-color 0.2s;
}

.winner-college:hover {
    border-color: var(--gold);
}

.college-head {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 16px;
    text-align: left;
}

@media (min-width: 640px) {
    .college-head {
        padding-inline: 24px;
    }
}

.college-index {
    flex-shrink: 0;
    width: 32px;
    font-family: var(--font-display);
    font-size: 20px;
    font-style: italic;
    line-height: 28px;
    color: var(--gold);
}

.college-meta {
    flex: 1;
    min-width: 0;
}

.college-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--navy);
}

.college-winners {
    margin-top: 2px;
    font-size: 12px;
    line-height: 16px;
    color: var(--ink-muted);
}

.college-total {
    text-align: right;
}

.college-total-label {
    display: block;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.college-total-value {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--navy);
}

.college-panel {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    background: var(--ivory);
}

@media (min-width: 640px) {
    .college-panel {
        padding-inline: 24px;
    }
}

.winner-table {
    width: 100%;
    font-size: 14px;
    line-height: 1.4;
    border-collapse: collapse;
}

.winner-table thead tr {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
    color: var(--ink-muted);
}

.winner-table th {
    padding: 8px 0;
    font-weight: 600;
    text-align: left;
}

.winner-table th:last-child,
.winner-table td:last-child {
    text-align: right;
}

.winner-table tbody tr {
    border-top: 1px solid var(--line);
}

.winner-table td {
    padding: 10px 0;
}

.winner-table td:first-child {
    color: var(--navy);
}

.winner-table td:last-child {
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
}

.winner-id {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--ink-muted);
}

.winner-table tfoot tr {
    border-top: 2px solid var(--navy);
}

.winner-table tfoot th,
.winner-table tfoot td {
    padding: 10px 0;
    font-weight: 600;
}

.winner-table tfoot td {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.more-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}

.more-button svg {
    transition: transform 0.15s;
}

.more-button[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.applicants {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.applicants-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--navy);
}

.applicants-note {
    margin-top: 4px;
    font-size: 12px;
    line-height: 20px;
    color: var(--ink-muted);
}

.applicant-list {
    margin-top: 12px;
    padding: 0;
    list-style: none;
}

.applicant {
    padding: 10px 0;
    font-size: 14px;
    color: var(--ink-soft);
}

.applicant + .applicant {
    border-top: 1px solid var(--line);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Application flow
   -------------------------------------------------------------------------- */
.apply-shell {
    padding-bottom: 0 !important;
}

.apply-header {
    border-bottom: 1px solid var(--line);
}

.apply-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    height: 56px;
    margin-inline: auto;
    padding-inline: 16px;
}

.apply-exit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-size: 14px;
    color: var(--ink-soft);
    transition: color 0.2s;
}

.apply-exit:hover {
    color: var(--navy);
}

.apply-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* font-family: var(--font-display); */
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.13em;
    color: var(--navy);
    text-decoration: none;
}

.apply-wordmark .crest {
    width: 28px;
    height: 28px;
}

.apply-main {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
    padding: 24px 16px 48px;
}

@media (min-width: 768px) {
    .apply-main {
        padding-top: 40px;
    }
}

.apply-steps {
    display: flex;
    gap: 6px;
}

.ap-seg {
    flex: 1;
    height: 3px;
    background: var(--line);
    transition: background 0.3s;
}

.ap-seg.is-on {
    background: var(--navy);
}

.apply-step-label {
    margin-top: 8px;
    font-size: 12px;
    color: var(--ink-muted);
}

.apply-step-label strong {
    font-weight: 600;
    color: var(--navy);
}

.apply-body {
    margin-top: 24px;
}

.ap-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.apply-heading {
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--navy);
}

@media (min-width: 768px) {
    .apply-heading {
        font-size: 32px;
    }
}

.apply-subhead {
    margin-top: 8px;
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
}

.apply-intro {
    margin-bottom: 24px;
}

.ap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding-inline: 20px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.ap-btn:disabled {
    cursor: not-allowed;
}

.ap-btn-primary {
    background: var(--navy);
    color: var(--ivory);
}

.ap-btn-primary:hover:not(:disabled) {
    background: var(--navy-deep);
    box-shadow: inset 0 -2px 0 var(--gold);
    color: var(--ivory);
}

.ap-btn-primary:disabled {
    background: #c9ccd3;
    color: #f4f2ec;
}

.ap-btn-ghost {
    background: transparent;
    color: var(--navy);
}

.ap-btn-ghost:hover:not(:disabled) {
    background: var(--ivory-deep);
    color: var(--navy);
}

.ap-btn-ghost:disabled {
    color: #9aa0ab;
}

.ap-btn-preview {
    border: 1px dashed var(--gold);
    background: var(--ivory-card);
    color: var(--gold-deep);
}

.ap-btn-preview:hover {
    background: #fbf3df;
    color: var(--gold-deep);
}

.ap-btn-outline {
    border: 1px solid var(--line);
}

button.ap-google {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #3c4043;
    border-radius: 4px;
    background: #ffffff;
    color: #1f1f1f;
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.15px;
    cursor: pointer;
    box-shadow: none;
}

button.ap-google:hover:not(:disabled) {
    background: #f8f9fa;
    color: #1f1f1f;
}

button.ap-google:active:not(:disabled) {
    background: #eeeeee;
    color: #1f1f1f;
}

button.ap-google:disabled {
    cursor: wait;
    opacity: 1;
    background: #ffffff;
    color: #1f1f1f;
}

button.ap-google .ap-google-icon {
    display: flex;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

button.ap-google .ap-google-label {
    color: #1f1f1f;
    line-height: 1;
}

.ap-notice {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--ink-soft);
}

.ap-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.ap-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 16px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.ap-divider::before,
.ap-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.apply-form .form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

.apply-form .form-control,
.apply-form .form-select {
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background-color: var(--ivory-card);
    color: var(--navy);
    font-size: 16px;
    line-height: 46px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.apply-form .form-control:focus,
.apply-form .form-select:focus {
    border-color: var(--navy);
    background-color: var(--ivory-card);
    color: var(--navy);
    box-shadow: none;
}

.apply-form .form-control::placeholder {
    color: #a6a59c;
}

.apply-form .form-control:disabled,
.apply-form .form-select:disabled {
    background-color: var(--ivory-deep);
    color: #9aa0ab;
    opacity: 1;
}

.apply-form .form-text {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 20px;
    color: var(--ink-muted);
}

.college-field {
    position: relative;
}

.college-results {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 280px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 40, 75, 0.08);
}

.college-results li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-bottom: 1px solid #eceae3;
    cursor: pointer;
}

.college-results li:last-child {
    border-bottom: 0;
}

.college-results li:hover,
.college-results li:focus {
    background: #f7f5ef;
    outline: none;
}

.college-results-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--navy);
}

.college-results-meta {
    font-size: 12px;
    line-height: 1.35;
    color: var(--ink-muted);
}

.college-results-empty {
    padding: 14px;
    font-size: 13px;
    color: var(--ink-muted);
    cursor: default;
}

.apply-form .form-select {
    appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2314284b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.form-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid .span-2 {
        grid-column: span 2;
    }
}

.phone-input {
    display: flex;
    align-items: center;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--ivory-card);
    transition: border-color 0.2s;
}

.phone-input:focus-within {
    border-color: var(--navy);
}

.phone-input span {
    padding-left: 14px;
    font-size: 14px;
    color: var(--ink-muted);
}

.phone-input input {
    height: 100%;
    flex: 1;
    min-width: 0;
    padding: 0 12px 0 12px;
    border: 0;
    background: transparent;
    font-size: 16px;
    color: var(--navy);
    outline: none;
}

.apply-field-note {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-soft);
}

.phone-input input::placeholder {
    color: #a6a59c;
}

.otp-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 16px;
}

.otp-row input {
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--ivory-card);
    color: var(--navy);
    font-size: 16px;
    outline: none;
}

.otp-row input:focus {
    border-color: var(--navy);
}

.otp-row input::placeholder {
    color: #a6a59c;
}

.otp-row input:disabled {
    background: var(--ivory-deep);
    color: #9aa0ab;
}

.otp-row .ap-btn {
    border: 1px solid var(--line);
}

.apply-note {
    margin-top: 20px;
    font-size: 12px;
    line-height: 20px;
    color: var(--ink-muted);
}

.apply-actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    margin-top: 32px;
}

.apply-actions .ap-btn {
    width: 100%;
}

.apply-actions-note {
    margin-top: 8px;
    font-size: 12px;
    color: var(--ink-muted);
}

@media (min-width: 640px) {
    .apply-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .apply-actions .ap-btn {
        width: auto;
    }

    .apply-actions-note {
        text-align: right;
    }
}

.apply-disclosure {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    line-height: 20px;
    color: var(--ink-muted);
}

/* Document upload ---------------------------------------------------------- */
.upload-stack {
    display: grid;
    gap: 12px;
}

.ap-drop {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px dashed #cdbf9f;
    background: var(--ivory-card);
    cursor: pointer;
    transition: border-color 0.2s;
}

.ap-drop:hover,
.ap-drop:focus-within {
    border-color: var(--navy);
}

.ap-drop svg {
    flex-shrink: 0;
    color: var(--gold-deep);
}

.ap-drop strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.ap-drop small {
    display: block;
    font-size: 12px;
    color: var(--ink-muted);
}

.ap-drop>span {
    min-width: 0;
    flex: 1;
}

.ap-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 6px 10px 10px;
    border: 1px solid var(--line);
    background: var(--ivory-card);
}

.ap-file-thumb,
.ap-file-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.ap-file-thumb {
    object-fit: cover;
}

.ap-file-icon {
    display: grid;
    place-items: center;
    background: var(--ivory-deep);
    color: var(--navy);
}

.ap-file-body {
    min-width: 0;
    flex: 1;
}

.ap-file-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.ap-file-name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: var(--navy);
}

.ap-file-meta {
    display: block;
    font-size: 12px;
    color: var(--ink-muted);
}

.ap-file-meta label {
    font-weight: 600;
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.ap-file-remove {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--ink-muted);
}

.ap-file-remove:hover {
    color: #9a3b2e;
}

.ap-error {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-left: 3px solid #c0634f;
    background: #fbefe9;
    color: #9a3b2e;
    font-size: 13px;
}

/* Review ------------------------------------------------------------------- */
.ap-group {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.ap-group:last-of-type {
    border-bottom: 1px solid var(--line);
}

.review-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-group-head h2 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.review-edit {
    min-height: 36px;
    padding-inline: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.review-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-block: 6px;
    font-size: 14px;
}

.review-row dt {
    flex-shrink: 0;
    color: var(--ink-muted);
}

.review-row dd {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
    color: var(--navy);
}

.consent-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.form-check.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 0;
    font-size: 14px;
    line-height: 24px;
    color: var(--ink-soft);
    cursor: pointer;
}

.form-check.consent .form-check-input,
.form-check.consent .form-check-label {
    cursor: pointer;
}

.form-check.consent .form-check-input {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 4px 0 0;
    border-color: #b8b3a5;
    border-radius: 2px;
    accent-color: var(--navy);
}

.form-check.consent .form-check-input:checked {
    background-color: var(--navy);
    border-color: var(--navy);
}

.consent-muted {
    color: var(--ink-muted);
}

.apply-submit {
    width: 100%;
    margin-top: 24px;
}

.apply-section-title {
    margin-top: 32px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
}

.ap-college {
    margin-top: 24px;
}

.apply-back-overview {
    width: 100%;
    margin-top: 12px;
}

/* Next steps --------------------------------------------------------------- */
.ap-steps li {
    position: relative;
    padding: 0 0 14px 34px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
    counter-increment: step;
}

.ap-steps {
    counter-reset: step;
    margin-top: 12px;
}

.ap-steps li strong {
    display: block;
    font-weight: 600;
    color: var(--navy);
}

.ap-steps li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--gold-deep);
}

.ap-steps li:last-child {
    padding-bottom: 0;
}

.ap-share {
    margin-top: 28px;
    padding: 18px;
    border-left: 3px solid var(--gold);
    background: var(--ivory-deep);
}

.ap-share p:first-child {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.ap-share p+p {
    margin-top: 4px;
    font-size: 12px;
    line-height: 20px;
    color: var(--ink-soft);
}

.ap-share .ap-btn {
    width: 100%;
    margin-top: 16px;
}

.ap-group-label {
    font-size: 12px;
    color: var(--ink-muted);
}

.ap-group-value {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}