.papersup-home {
    --home-ink: #132e3b;
    --home-primary: #1c546b;
    --home-accent-bright: #e67e22;
    --home-accent: #a3b18a;
    --home-muted: #49616c;
    --home-surface: #f1f6f5;
    --home-border: #dce7e5;
    margin: 0;
    color: var(--home-ink);
    background: #fff;
    font: 400 1rem/1.65 "DM Sans", sans-serif;
}

.papersup-home h1,
.papersup-home h2,
.papersup-home h3 {
    margin: 0;
    font-family: "Jost", sans-serif;
    line-height: 1.12;
}

.papersup-home h2 {
    font-size: 3.35rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.papersup-home h3 {
    font-size: 1.4rem;
}

.home-shell {
    width: min(74rem, calc(100% - 2.5rem));
    margin-inline: auto;
}

.home-section {
    padding-block: 7rem;
}

.home-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 5rem;
}

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

.home-hero {
    overflow: hidden;
    background: radial-gradient(ellipse at 85% 35%, #dce9e6, transparent 58%), #f2f7f6;
}

.home-hero .home-split {
    min-height: min(40rem, 85vh);
    padding-block: 5.5rem 0;
}

.home-hero h1 {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.home-hero h1 span,
.home-partners h2 span {
    color: var(--home-accent-bright);
}

.home-hero h1 span {
    display: block;
}

.home-hero p {
    max-width: 34rem;
    margin: 1.35rem 0 1.6rem;
    color: var(--home-muted);
    font-size: 1.2rem;
}

.home-illustration {
    position: relative;
}

.home-hero .home-illustration {
    align-self: end;
}

.home-hero-image {
    max-height: 37rem;
    object-position: bottom;
}

.home-image-stat {
    position: absolute;
    right: 0;
    bottom: 1rem;
    display: grid;
    padding: 0.75rem 1rem;
    border: 1px solid var(--home-border);
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 0.5rem 1.5rem rgb(19 46 59 / 8%);
    color: var(--home-muted);
    font-size: 0.85rem;
}

.home-image-stat strong {
    color: var(--home-primary);
    font: 700 1.5rem/1.1 "Jost", sans-serif;
}

.home-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-sizing: border-box;
    width: min(100%, 34rem);
    padding: 0.4rem;
    border: 1px solid var(--home-border);
    border-radius: 0.75rem;
    background: white;
}

.home-search input {
    flex: 1;
    min-width: 0;
    padding: 0.65rem;
    border: 0;
    color: var(--home-ink);
    background: transparent;
    font: inherit;
}

.home-search button,
.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-sizing: border-box;
    padding: 0.7rem 1rem;
    border: 1px solid var(--home-primary);
    border-radius: 0.55rem;
    color: white;
    background: var(--home-primary);
    font: 700 1rem/1.3 "DM Sans", sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.home-search button:hover,
.home-button:hover {
    background: #123c50;
}

.home-exam-link {
    display: inline-block;
    margin-block: 1.25rem 2.25rem;
    color: var(--home-primary);
    font-weight: 700;
}

.home-stats {
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--home-border);
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-reference {
    margin: 0 0 0.65rem;
    color: var(--home-muted);
    font-size: 0.82rem;
}

.home-stat-grid {
    margin: 0;
}

.home-stat-grid > div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.85rem;
    align-items: center;
}

.home-stat-grid i,
.home-journey article i {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.65rem;
    color: var(--home-primary);
    background: #e5eeec;
    font-size: 1.2rem;
}

.home-stat-grid i {
    grid-row: span 2;
}

.home-stat-grid dt {
    display: contents;
}

.home-stat-grid dt span {
    grid-column: 2;
    grid-row: 2;
    color: var(--home-muted);
    font-size: 0.9rem;
}

.home-stat-grid dd {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font: 700 2rem/1.1 "Jost", sans-serif;
}

.home-section-heading {
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.home-section-heading p,
.home-benefits p,
.home-benefits li {
    color: var(--home-muted);
}

.home-journey article,
.home-quote {
    padding: 2rem;
    border: 1px solid var(--home-border);
    border-radius: 0.85rem;
    background: white;
}

.home-journey article i {
    margin-bottom: 1rem;
}

.home-journey article p {
    color: var(--home-muted);
}

.home-journey article a,
.home-results a {
    color: var(--home-primary);
    font-weight: 700;
}

.home-partners {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    align-items: center;
    box-sizing: border-box;
    gap: 1.75rem;
    padding: 3rem;
    border: 1px solid var(--home-border);
    border-radius: 0.9rem;
    background: var(--home-surface);
}

.home-partners h2 {
    font-size: 2.1rem;
}

.home-partner-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
}

.home-partner-logos img {
    width: 7rem;
    height: auto;
    object-fit: contain;
}

.home-benefits img {
    max-height: 32rem;
}

.home-benefits ul {
    display: grid;
    gap: 0.6rem;
    margin: 1.4rem 0 1.7rem;
    padding: 0;
    list-style: none;
}

.home-benefits li {
    padding-left: 1.5rem;
    position: relative;
}

.home-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--home-primary);
    font-weight: 700;
}

.home-testimonials {
    background: var(--home-surface);
}

.home-testimonials h2 {
    margin-bottom: 1.5rem;
}

.home-testimonials img {
    max-height: 25rem;
}

.home-quote {
    margin: 0;
    box-shadow: 0 0.75rem 2rem rgb(19 46 59 / 7%);
}

.home-quote figcaption {
    color: var(--home-primary);
    font-weight: 700;
}

.home-quote blockquote {
    margin: 1rem 0;
    font: 600 1.8rem/1.4 "Jost", sans-serif;
}

.home-quote p {
    margin-bottom: 0;
    color: var(--home-muted);
}

.home-results,
.home-exam-entry {
    scroll-margin-top: 6rem;
}

.home-results li {
    margin-block: 0.5rem;
}

.home-results li span {
    color: var(--home-muted);
    margin-inline-start: 0.45rem;
}

.home-exam-entry {
    text-align: center;
}

.home-exam-entry .home-search {
    margin: 1rem auto 0;
}

.home-error {
    color: #954344;
    font-weight: 700;
}

.home-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 1199px) {
    .home-hero h1 {
        font-size: 4.6rem;
    }

    .home-split {
        gap: 3.5rem;
    }
}

@media (max-width: 991px) {
    .papersup-home h2 {
        font-size: 2.75rem;
    }

    .home-section {
        padding-block: 5rem;
    }

    .home-hero .home-split {
        padding-top: 4rem;
    }

    .home-hero h1 {
        font-size: 3.8rem;
    }

    .home-split {
        gap: 2.75rem;
    }

    .home-partners h2 {
        font-size: 1.85rem;
    }

    .home-partner-logos img {
        width: 5.5rem;
    }

    .home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .papersup-home h2 {
        font-size: 2.35rem;
    }

    .home-section {
        padding-block: 3.75rem;
    }

    .home-split {
        gap: 1.75rem;
    }

    .home-hero h1 {
        font-size: 3.5rem;
    }

    .home-hero p {
        font-size: 1.1rem;
    }

    .home-grid {
        gap: 1rem;
    }

    .home-journey article,
    .home-quote {
        padding: 1.5rem;
    }

    .home-quote blockquote {
        font-size: 1.5rem;
    }

    .home-partners {
        padding: 1.75rem;
    }

    .home-partners h2 {
        font-size: 1.7rem;
    }

    .home-split,
    .home-partners {
        grid-template-columns: 1fr;
    }

    .home-hero .home-split {
        gap: 0;
        min-height: auto;
    }

    .home-hero-image {
        max-height: 26rem;
    }

    .home-benefits img,
    .home-testimonials img {
        max-height: 22rem;
    }

    .home-partner-logos {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .papersup-home h2 {
        font-size: 2rem;
    }

    .home-section {
        padding-block: 3.25rem;
    }

    .home-hero .home-split {
        padding-top: 2.5rem;
    }

    .home-hero h1 {
        font-size: 3.1rem;
    }

    .home-partners h2 {
        font-size: 1.55rem;
    }

    .home-partner-logos img {
        width: 4.5rem;
    }

    .home-journey .home-grid {
        grid-template-columns: 1fr;
    }

    .home-stat-grid > div {
        grid-template-columns: auto 1fr;
        gap: 0.25rem 0.5rem;
    }

    .home-stat-grid i {
        width: 2rem;
        height: 2rem;
        font-size: 0.85rem;
    }

    .home-search button {
        padding-inline: 0.65rem;
    }

    .home-search button i {
        display: none;
    }
}
