.home-page {
    background: var(--color-navy);
}

.home-main {
    width: 100%;
    margin: 0;
    padding: 0;
}

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

/* Homepage navigation */

.home-header {
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    color: var(--color-white);
    transition:
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.home-header.is-scrolled {
    position: fixed;
    background: rgb(11 37 69 / 96%);
    box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 18%);
    backdrop-filter: blur(0.75rem);
}

.home-header__inner {
    display: grid;
    width: min(100% - 3rem, 82rem);
    min-height: 6.25rem;
    margin-inline: auto;
    align-items: center;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 3rem;
}

.home-header__brand {
    display: inline-flex;
    align-items: center;
}

.home-header__logo {
    display: block;
    width: 8.75rem;
    height: auto;
}

.home-header__navigation {
    display: grid;
    min-width: 0;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
}

.home-header__menu-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.home-header__menu-links a {
    color: rgb(255 255 255 / 88%);
    font-size: 0.875rem;
    font-weight: 650;
    text-decoration: none;
}

.home-header__menu-links a:hover {
    color: var(--color-white);
}

.home-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-header__menu-button {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.65rem;
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: 0.65rem;
    background: rgb(11 37 69 / 35%);
    color: var(--color-white);
    cursor: pointer;
}

.home-header__menu-line {
    display: block;
    width: 100%;
    height: 2px;
    margin-block: 0.25rem;
    border-radius: 999px;
    background: currentColor;
    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

.home-header__menu-button[aria-expanded="true"] .home-header__menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.home-header__menu-button[aria-expanded="true"] .home-header__menu-line:nth-child(2) {
    opacity: 0;
}

.home-header__menu-button[aria-expanded="true"] .home-header__menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Shared homepage buttons */

.home-button {
    display: inline-flex;
    min-height: 2.875rem;
    padding: 0.65rem 1rem;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.home-button:hover {
    transform: translateY(-2px);
}

.home-button--primary {
    color: var(--color-white);
    background: var(--color-orange);
}

.home-button--primary:hover {
    background: #c84929;
}

.home-button--outline {
    border-color: rgb(255 255 255 / 55%);
    color: var(--color-white);
    background: rgb(11 37 69 / 18%);
}

.home-button--outline:hover {
    border-color: var(--color-white);
    background: rgb(255 255 255 / 12%);
}

.home-button--light {
    border-color: rgb(255 255 255 / 65%);
    color: var(--color-navy);
    background: var(--color-white);
}

.home-button--light:hover {
    background: #eef3f8;
}

.home-button--large {
    min-height: 3.5rem;
    padding-inline: 1.4rem;
    font-size: 0.95rem;
}

.home-button:focus-visible,
.home-header__brand:focus-visible,
.home-header__menu-links a:focus-visible,
.home-header__menu-button:focus-visible {
    outline: 3px solid #ffb29d;
    outline-offset: 4px;
}

/* Hero */

.home-hero {
    position: relative;
    display: grid;
    min-height: clamp(43rem, 100svh, 58rem);
    overflow: hidden;
    align-items: center;
    isolation: isolate;
}

.home-hero__image,
.home-hero__overlay {
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
    inset: 0;
}

.home-hero__image {
    object-fit: cover;
    object-position: center;
}

.home-hero__overlay {
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgb(5 21 40 / 96%) 0%,
            rgb(5 21 40 / 84%) 32%,
            rgb(5 21 40 / 50%) 55%,
            rgb(5 21 40 / 12%) 78%
        ),
        linear-gradient(
            0deg,
            rgb(5 21 40 / 58%) 0%,
            transparent 45%
        );
}

.home-hero__content {
    width: min(100% - 3rem, 82rem);
    margin-inline: auto;
    padding-block: 9.5rem 4.5rem;
    color: var(--color-white);
}

.home-hero__route {
    width: fit-content;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 999px;
    margin: 0 0 1.5rem;
    background: rgb(11 37 69 / 48%);
    color: rgb(255 255 255 / 92%);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(0.5rem);
}

.home-hero h1 {
    max-width: 47rem;
    margin: 0;
    color: var(--color-white);
    font-size: clamp(2.75rem, 5.5vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
    text-wrap: balance;
}

.home-hero__summary {
    max-width: 38rem;
    margin: 1.5rem 0 0;
    color: rgb(255 255 255 / 84%);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.65;
}

.home-hero__actions {
    display: flex;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.home-hero__delivery-options {
    display: flex;
    margin: 2.75rem 0 0;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    color: rgb(255 255 255 / 72%);
    font-size: 0.8rem;
    font-weight: 650;
}

/* Responsive navigation and hero */

@media (max-width: 64rem) {
    .home-header__inner {
        gap: 1.5rem;
    }

    .home-header__navigation {
        gap: 1rem;
    }

    .home-header__menu-links {
        gap: 1rem;
    }

    .home-header__menu-links a {
        font-size: 0.8rem;
    }
}

@media (max-width: 54rem) {
    .home-header__inner {
        width: min(100% - 2rem, 82rem);
        min-height: 5.25rem;
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .home-header__logo {
        width: 7.5rem;
    }

    .home-header__menu-button {
        display: block;
    }

    .home-header__navigation {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        left: 1rem;
        display: none;
        padding: 1.25rem;
        border: 1px solid rgb(255 255 255 / 15%);
        border-radius: 1rem;
        background: rgb(11 37 69 / 98%);
        box-shadow: 0 1.25rem 3rem rgb(0 0 0 / 28%);
    }

    .home-header__navigation.is-open {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 1.25rem;
    }

    .home-header__menu-links,
    .home-header__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-header__menu-links {
        gap: 0;
    }

    .home-header__menu-links a {
        padding-block: 0.8rem;
        border-bottom: 1px solid rgb(255 255 255 / 12%);
        font-size: 0.95rem;
    }

    .home-header__actions .home-button {
        width: 100%;
    }

    .home-hero {
        min-height: 47rem;
    }

    .home-hero__content {
        width: min(100% - 2rem, 82rem);
        padding-top: 8rem;
    }

    .home-hero__image {
        object-position: 62% center;
    }

    .home-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgb(5 21 40 / 96%) 0%,
                rgb(5 21 40 / 78%) 58%,
                rgb(5 21 40 / 28%) 100%
            ),
            linear-gradient(
                0deg,
                rgb(5 21 40 / 72%) 0%,
                transparent 55%
            );
    }
}

@media (max-width: 36rem) {
    .home-hero {
        min-height: 45rem;
        align-items: end;
    }

    .home-hero__content {
        padding-block: 7.5rem 3rem;
    }

    .home-hero__image {
        object-position: 60% center;
    }

    .home-hero__overlay {
        background:
            linear-gradient(
                0deg,
                rgb(5 21 40 / 98%) 0%,
                rgb(5 21 40 / 82%) 54%,
                rgb(5 21 40 / 32%) 100%
            );
    }

    .home-hero h1 {
        font-size: clamp(2.4rem, 13vw, 3.5rem);
    }

    .home-hero__summary {
        font-size: 1rem;
        line-height: 1.55;
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero__actions .home-button {
        width: 100%;
    }

    .home-hero__delivery-options {
        line-height: 1.7;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-header,
    .home-header__menu-line,
    .home-button {
        transition: none;
    }

    .home-button:hover {
        transform: none;
    }
}

/* Delivery options */

.delivery-options {
    padding-block: clamp(5rem, 9vw, 8rem);
    scroll-margin-top: 6rem;
    background: #f2f6fa;
}

.delivery-options__inner {
    width: min(100% - 3rem, 82rem);
    margin-inline: auto;
}

.delivery-options__heading {
    display: flex;
    max-width: 58rem;
    margin: 0 auto 3.5rem;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.home-section-label {
    margin: 0;
    color: var(--color-orange);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.delivery-options__heading h2 {
    max-width: 48rem;
    margin: 0;
    color: var(--color-navy);
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    text-wrap: balance;
}

.delivery-options__heading > p:last-child {
    max-width: 44rem;
    margin: 0;
    color: #50647c;
    font-size: 1.05rem;
    line-height: 1.7;
}

.delivery-options__layout {
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.45fr);
    gap: 1.5rem;
}

.delivery-options__tabs {
    display: grid;
    height: 100%;
    align-content: stretch;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.delivery-option {
    display: grid;
    width: 100%;
    padding: 1.25rem 1.35rem;
    border: 1px solid #d5e0eb;
    border-radius: 1rem;
    background: var(--color-white);
    color: var(--color-navy);
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    gap: 0.35rem;
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.delivery-option:hover {
    border-color: #9fb0c2;
    transform: translateX(0.25rem);
}

.delivery-option.is-active {
    border-color: var(--color-orange);
    background: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 1rem 2.5rem rgb(216 89 55 / 22%);
    transform: translateX(0.5rem);
}

.delivery-option:focus-visible {
    outline: 3px solid var(--color-orange);
    outline-offset: 3px;
}

.delivery-option.is-active:focus-visible {
    outline-color: var(--color-navy);
}

.delivery-option__name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.delivery-option__summary {
    color: #60748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

.delivery-option.is-active .delivery-option__summary {
    color: rgb(255 255 255 / 82%);
}

.delivery-options__panels {
    min-width: 0;
}

.delivery-route-panel {
    position: relative;
    display: flex;
    min-height: 28.5rem;
    padding: clamp(2rem, 4vw, 3.75rem);
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 1.5rem;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgb(0 135 90 / 34%),
            transparent 32%
        ),
        var(--color-navy);
    color: var(--color-white);
    isolation: isolate;
}

.delivery-route-panel::after {
    position: absolute;
    z-index: -1;
    right: -4rem;
    bottom: -7rem;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 50%;
    box-shadow:
        0 0 0 3rem rgb(255 255 255 / 3%),
        0 0 0 6rem rgb(255 255 255 / 2%);
    content: "";
}

.delivery-route-panel[hidden] {
    display: none;
}

.delivery-route-panel:not([hidden]) {
    animation: delivery-panel-enter 220ms ease both;
}

.delivery-route-panel__label {
    width: fit-content;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 999px;
    margin: 0 0 1rem;
    background: rgb(255 255 255 / 8%);
    color: #bfe8d9;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.delivery-route-panel h3 {
    max-width: 35rem;
    margin: 0;
    color: var(--color-white);
    font-size: clamp(1.85rem, 3.2vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    text-wrap: balance;
}

.delivery-route {
    display: grid;
    margin-top: 4rem;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
}

.delivery-route__point {
    display: grid;
    min-width: 0;
    padding: 1.1rem;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 1rem;
    background: rgb(255 255 255 / 8%);
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    backdrop-filter: blur(0.5rem);
}

.delivery-route__number {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-orange);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 800;
}

.delivery-route__point p {
    margin: 0 0 0.25rem;
    color: rgb(255 255 255 / 58%);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.delivery-route__point strong {
    display: block;
    color: var(--color-white);
    font-size: 0.9rem;
    line-height: 1.45;
}

.delivery-route__line {
    display: flex;
    width: clamp(3rem, 7vw, 6rem);
    align-items: center;
}

.delivery-route__line::before,
.delivery-route__line::after {
    width: 0.55rem;
    height: 0.55rem;
    flex: 0 0 auto;
    border: 2px solid #8bd4ba;
    border-radius: 50%;
    content: "";
}

.delivery-route__line span {
    width: 100%;
    height: 2px;
    background:
        repeating-linear-gradient(
            90deg,
            #8bd4ba 0,
            #8bd4ba 0.45rem,
            transparent 0.45rem,
            transparent 0.8rem
        );
}

.delivery-options__availability {
    margin: 1.5rem 0 0;
    color: #60748b;
    font-size: 0.85rem;
    font-weight: 650;
    text-align: right;
}

@keyframes delivery-panel-enter {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }

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

@media (max-width: 58rem) {
    .delivery-options__heading {
        grid-template-columns: 1fr 1.5fr;
    }

    .delivery-options__heading > p:last-child {
        grid-column: 2;
    }

    .delivery-options__layout {
        grid-template-columns: 1fr;
    }

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

    .delivery-option.is-active,
    .delivery-option:hover {
        transform: none;
    }
}

@media (max-width: 40rem) {
    .delivery-options {
        padding-block: 4.5rem;
    }

    .delivery-options__inner {
        width: min(100% - 2rem, 82rem);
    }

    .delivery-options__heading {
        margin-bottom: 2.5rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .delivery-options__heading > p:last-child {
        grid-column: auto;
    }

    .delivery-options__tabs {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }

    .delivery-route-panel {
        min-height: 34rem;
        padding: 1.5rem;
    }

    .delivery-route {
        margin-top: 2.5rem;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .delivery-route__line {
        width: 2.25rem;
        height: 2.5rem;
        margin-left: 1.1rem;
        flex-direction: column;
    }

    .delivery-route__line span {
        width: 2px;
        height: 100%;
        background:
            repeating-linear-gradient(
                180deg,
                #8bd4ba 0,
                #8bd4ba 0.45rem,
                transparent 0.45rem,
                transparent 0.8rem
            );
    }

    .delivery-options__availability {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .delivery-option {
        transition: none;
    }

    .delivery-route-panel:not([hidden]) {
        animation: none;
    }
}

/* How it works */

.how-it-works {
    position: relative;
    padding-block: clamp(5rem, 9vw, 8rem);
    overflow: hidden;
    scroll-margin-top: 6rem;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgb(0 135 90 / 18%),
            transparent 26%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgb(216 89 55 / 14%),
            transparent 30%
        ),
        var(--color-navy);
    color: var(--color-white);
    isolation: isolate;
}

.how-it-works::before {
    position: absolute;
    z-index: -1;
    top: -12rem;
    right: -10rem;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgb(255 255 255 / 7%);
    border-radius: 50%;
    box-shadow:
        0 0 0 5rem rgb(255 255 255 / 2%),
        0 0 0 10rem rgb(255 255 255 / 1%);
    content: "";
}

.how-it-works__inner {
    width: min(100% - 3rem, 82rem);
    margin-inline: auto;
}

.how-it-works__heading {
    max-width: 58rem;
    margin-inline: auto;
    text-align: center;
}

.how-it-works__heading h2 {
    margin: 1rem 0 0;
    color: var(--color-white);
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    text-wrap: balance;
}

.how-it-works__heading > p:last-child {
    max-width: 42rem;
    margin: 1.25rem auto 0;
    color: rgb(255 255 255 / 70%);
    font-size: 1.05rem;
    line-height: 1.7;
}

.delivery-steps {
    position: relative;
    display: grid;
    padding: 0;
    margin: 4.5rem 0 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
}

.delivery-steps::before {
    position: absolute;
    top: 1.7rem;
    right: 10%;
    left: 10%;
    height: 2px;
    background:
        repeating-linear-gradient(
            90deg,
            #8bd4ba 0,
            #8bd4ba 0.55rem,
            transparent 0.55rem,
            transparent 1rem
        );
    content: "";
}

.delivery-step {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 0;
    grid-template-rows: auto 1fr;
    justify-items: center;
}

.delivery-step__number {
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border: 0.4rem solid var(--color-navy);
    border-radius: 50%;
    background: var(--color-orange);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.04em;
}

.delivery-step:last-child .delivery-step__number {
    background: var(--color-green);
}

.delivery-step__content {
    width: 100%;
    min-height: 15rem;
    padding: 1.5rem;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 1.25rem;
    margin-top: 1.5rem;
    background: rgb(255 255 255 / 7%);
    box-shadow: 0 1.25rem 3rem rgb(0 0 0 / 12%);
    backdrop-filter: blur(0.65rem);
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.delivery-step:hover .delivery-step__content {
    border-color: rgb(216 89 55 / 70%);
    background: rgb(255 255 255 / 10%);
    transform: translateY(-0.4rem);
}

.delivery-step__content h3 {
    margin: 0;
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.35;
}

.delivery-step__content p {
    margin: 1rem 0 0;
    color: rgb(255 255 255 / 65%);
    font-size: 0.9rem;
    line-height: 1.65;
}

.how-it-works__action {
    display: flex;
    padding: 1.5rem;
    margin-top: 3rem;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 1.25rem;
    background: rgb(255 255 255 / 8%);
    gap: 2rem;
}

.how-it-works__action p {
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
}

.how-it-works__action span {
    display: block;
    margin-top: 0.3rem;
    color: rgb(255 255 255 / 62%);
    font-size: 0.875rem;
}

@media (max-width: 64rem) {
    .delivery-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .delivery-steps::before {
        display: none;
    }

    .delivery-step__content {
        min-height: 12rem;
    }
}

@media (max-width: 40rem) {
    .how-it-works {
        padding-block: 4.5rem;
    }

    .how-it-works__inner {
        width: min(100% - 2rem, 82rem);
    }

    .delivery-steps {
        display: grid;
        margin-top: 3rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .delivery-steps::before {
        display: block;
        top: 1.75rem;
        right: auto;
        bottom: 1.75rem;
        left: 1.7rem;
        width: 2px;
        height: auto;
        background:
            repeating-linear-gradient(
                180deg,
                #8bd4ba 0,
                #8bd4ba 0.55rem,
                transparent 0.55rem,
                transparent 1rem
            );
    }

    .delivery-step {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: start;
        justify-items: start;
        gap: 1rem;
    }

    .delivery-step__content {
        min-height: 0;
        margin-top: 0;
    }

    .delivery-step:hover .delivery-step__content {
        transform: none;
    }

    .how-it-works__action {
        align-items: stretch;
        flex-direction: column;
    }

    .how-it-works__action .home-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .delivery-step__content {
        transition: none;
    }

    .delivery-step:hover .delivery-step__content {
        transform: none;
    }
}

/* Scroll-driven delivery bike */

.delivery-steps-track {
    position: relative;
    display: flow-root;
}

.delivery-steps__motion-route {
    position: absolute;
    z-index: 0;
    display: none;
    width: 100%;
    height: 100%;
    overflow: visible;
    inset: 0;
    pointer-events: none;
}

.delivery-steps__motion-path {
    fill: none;
    stroke: #8bd4ba;
    stroke-width: 2;
    stroke-dasharray: 8 8;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.delivery-bike {
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    display: none;
    width: 4.5rem;
    height: 2.75rem;
    filter: drop-shadow(0 0.65rem 0.65rem rgb(0 0 0 / 35%));
    pointer-events: none;
    transform-origin: center;
    will-change: transform;
}

.delivery-bike svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.delivery-bike__wheel {
    fill: var(--color-navy);
    stroke: var(--color-white);
    stroke-width: 3;
}

.delivery-bike__frame,
.delivery-bike__handle {
    fill: none;
    stroke: var(--color-orange);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.delivery-bike__parcel {
    fill: var(--color-orange);
    stroke: var(--color-white);
    stroke-width: 1.5;
}

.delivery-bike__parcel-line {
    fill: none;
    stroke: var(--color-white);
    stroke-width: 1.5;
}

.delivery-steps-track.is-motion-ready .delivery-steps__motion-route,
.delivery-steps-track.is-motion-ready .delivery-bike {
    display: block;
}

.delivery-steps-track.is-motion-ready .delivery-steps::before {
    display: none;
}

.delivery-step__number {
    transition:
        background-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.delivery-step__content {
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.delivery-step.is-scroll-active .delivery-step__number {
    background: var(--color-green);
    box-shadow:
        0 0 0 0.4rem rgb(139 212 186 / 16%),
        0 0.75rem 1.75rem rgb(0 0 0 / 30%);
    transform: scale(1.13);
}

.delivery-step.is-scroll-active .delivery-step__content {
    border-color: rgb(216 89 55 / 82%);
    background: rgb(255 255 255 / 12%);
    box-shadow:
        0 1.5rem 3.5rem rgb(0 0 0 / 22%),
        0 0 0 1px rgb(216 89 55 / 18%);
    transform: translateY(-0.5rem) scale(1.035);
}

@media (max-width: 40rem) {
    .delivery-bike {
        width: 3.75rem;
        height: 2.3rem;
    }

    .delivery-step.is-scroll-active .delivery-step__content {
        transform: scale(1.015);
    }
}

@media (prefers-reduced-motion: reduce) {
    .delivery-steps-track.is-motion-ready .delivery-steps__motion-route,
    .delivery-steps-track.is-motion-ready .delivery-bike {
        display: none;
    }

    .delivery-steps-track.is-motion-ready .delivery-steps::before {
        display: block;
    }

    .delivery-step__number,
    .delivery-step__content {
        transition: none;
    }

    .delivery-step.is-scroll-active .delivery-step__number,
    .delivery-step.is-scroll-active .delivery-step__content {
        box-shadow: none;
        transform: none;
    }
}

/* Sticky desktop journey */

@media (min-width: 64.0625rem) and (min-height: 45rem) {
    .how-it-works {
        height: 240svh;
        padding-block: 0;
        overflow: clip;
    }

    .how-it-works__inner {
        position: sticky;
        top: 0;
        display: flex;
        min-height: 100svh;
        padding-block: 6.5rem 2rem;
        flex-direction: column;
        justify-content: center;
    }

    .delivery-steps {
        margin-top: 2.25rem;
    }

    .delivery-step__content {
        min-height: 11rem;
        padding: 1.25rem;
        margin-top: 1.25rem;
    }

    .delivery-step__content p {
        margin-top: 0.75rem;
    }

    .how-it-works__action {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }
}

/*
 * Visitors who disable motion should not be held inside a sticky
 * section when the bike animation is disabled.
 */

@media (
    prefers-reduced-motion: reduce
) and (
    min-width: 64.0625rem
) and (
    min-height: 45rem
) {
    .how-it-works {
        height: auto;
        padding-block: clamp(5rem, 9vw, 8rem);
        overflow: hidden;
    }

    .how-it-works__inner {
        position: static;
        display: block;
        min-height: 0;
        padding-block: 0;
    }

    .delivery-steps {
        margin-top: 4.5rem;
    }

    .delivery-step__content {
        min-height: 15rem;
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .delivery-step__content p {
        margin-top: 1rem;
    }

    .how-it-works__action {
        padding: 1.5rem;
        margin-top: 3rem;
    }
}
/* Why Pamile */

.why-pamile {
    padding-block: clamp(3.75rem, 6vw, 5.5rem);
    scroll-margin-top: 6rem;
    color: var(--color-navy);
    background: #f7f9fc;
}

.why-pamile__inner {
    width: min(82rem, calc(100% - 3rem));
    margin-inline: auto;
}

.why-pamile__heading {
    max-width: 58rem;
    margin-inline: auto;
    text-align: center;
}

.why-pamile__heading .home-section-label {
    margin-bottom: 1rem;
}

.why-pamile__heading h2 {
    max-width: 52rem;
    margin: 0 auto;
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4.5vw, 4.25rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.why-pamile__heading > p:last-child {
    max-width: 46rem;
    margin: 1.1rem auto 0;
    color: #536b87;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
}

.pamile-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.pamile-benefit {
    position: relative;
    display: grid;
    min-height: 13rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    overflow: hidden;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    border: 1px solid #d7e1ec;
    border-radius: 1.5rem;
    background: var(--color-white);
    box-shadow: 0 1rem 2.5rem rgb(11 37 69 / 6%);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.pamile-benefit::after {
    position: absolute;
    width: 8rem;
    height: 8rem;
    right: -4rem;
    bottom: -4rem;
    border: 1.5rem solid rgb(0 147 105 / 7%);
    border-radius: 50%;
    content: "";
}

.pamile-benefit:hover {
    border-color: rgb(221 86 50 / 55%);
    box-shadow: 0 1.5rem 3rem rgb(11 37 69 / 10%);
    transform: translateY(-5px);
}

.pamile-benefit__number {
    display: inline-flex;
    width: 3.25rem;
    height: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-white);
    background: var(--color-orange);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
}

.pamile-benefit:nth-child(2) .pamile-benefit__number,
.pamile-benefit:nth-child(3) .pamile-benefit__number {
    background: var(--color-green);
}

.pamile-benefit h3 {
    margin: 0;
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    line-height: 1.15;
}

.pamile-benefit p {
    max-width: 31rem;
    margin: 0.85rem 0 0;
    color: #5b708a;
    line-height: 1.65;
}

.why-pamile__actions {
    display: flex;
    margin-top: clamp(2.5rem, 5vw, 3.75rem);
    gap: 0.85rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.home-button--navy {
    border-color: var(--color-navy);
    color: var(--color-white);
    background: var(--color-navy);
}

.home-button--navy:hover {
    border-color: #163f6d;
    background: #163f6d;
}

@media (max-width: 48rem) {
    .pamile-benefits {
        grid-template-columns: 1fr;
    }

    .pamile-benefit {
        min-height: 0;
    }
}

@media (max-width: 36rem) {
    .why-pamile__inner {
        width: min(100% - 2rem, 82rem);
    }

    .pamile-benefit {
        grid-template-columns: 1fr;
    }

    .pamile-benefit__number {
        width: 2.8rem;
        height: 2.8rem;
    }

    .why-pamile__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .why-pamile__actions .home-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pamile-benefit {
        transition: none;
    }

    .pamile-benefit:hover {
        transform: none;
    }
}

/* Why Pamile entrance sequence */

[data-why-typewriter].is-typing::after {
    display: inline-block;
    margin-left: 0.08em;
    color: var(--color-orange);
    content: "_";
    animation: why-pamile-cursor-blink 650ms steps(1, end) infinite;
}

.why-pamile.is-animation-ready .why-pamile__supporting-copy,
.why-pamile.is-animation-ready .pamile-benefit,
.why-pamile.is-animation-ready .why-pamile__actions {
    opacity: 0;
    transform: translateY(4rem);
    will-change: opacity, transform;
}

.why-pamile.is-animation-ready .why-pamile__supporting-copy {
    transition:
        opacity 650ms ease,
        transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.why-pamile.is-animation-ready .pamile-benefit {
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        opacity 680ms ease,
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.why-pamile.is-animation-ready .why-pamile__actions {
    transition:
        opacity 650ms ease,
        transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.why-pamile.is-animation-ready .why-pamile__supporting-copy.is-visible,
.why-pamile.is-animation-ready .pamile-benefit.is-visible,
.why-pamile.is-animation-ready .why-pamile__actions.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.why-pamile.is-animation-ready .pamile-benefit.is-visible:hover {
    transform: translateY(-5px);
}

@keyframes why-pamile-cursor-blink {
    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-why-typewriter].is-typing::after {
        display: none;
        animation: none;
    }

    .why-pamile.is-animation-ready .why-pamile__supporting-copy,
    .why-pamile.is-animation-ready .pamile-benefit,
    .why-pamile.is-animation-ready .why-pamile__actions {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
/* Frequently asked questions */

.home-faq {
    padding-block: clamp(5rem, 8vw, 7.5rem);
    scroll-margin-top: 6rem;
    color: var(--color-navy);
    background: var(--color-white);
}

.home-faq__inner {
    display: grid;
    width: min(82rem, calc(100% - 3rem));
    margin-inline: auto;
    grid-template-columns: minmax(17rem, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.home-faq__heading {
    position: sticky;
    top: 8rem;
}

.home-faq__heading .home-section-label {
    margin: 0;
}

.home-faq__heading h2 {
    max-width: 31rem;
    margin: 1rem 0 0;
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.home-faq__heading > p:last-child {
    max-width: 30rem;
    margin: 1.35rem 0 0;
    color: #5b708a;
    font-size: 1.08rem;
    line-height: 1.7;
}

.home-faq__list {
    border-top: 1px solid #d7e1ec;
}

.home-faq__item {
    border-bottom: 1px solid #d7e1ec;
}

.home-faq__item h3 {
    margin: 0;
}

.home-faq__question {
    display: flex;
    width: 100%;
    padding: 1.55rem 0;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    border: 0;
    color: var(--color-navy);
    background: transparent;
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    font-weight: 750;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: color 180ms ease;
}

.home-faq__question:hover {
    color: var(--color-orange);
}

.home-faq__question:focus-visible {
    border-radius: 0.35rem;
    outline: 3px solid #ffb29d;
    outline-offset: 5px;
}

.home-faq__icon {
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    border: 1px solid #cbd7e4;
    border-radius: 50%;
    background: #f5f8fb;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        transform 220ms ease;
}

.home-faq__icon::before,
.home-faq__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.8rem;
    height: 2px;
    border-radius: 2px;
    background: currentcolor;
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 220ms ease;
}

.home-faq__icon::after {
    transform: translate(-50%, -50%) scaleY(0) rotate(90deg);
}

.home-faq__question[aria-expanded="false"] .home-faq__icon::after {
    transform: translate(-50%, -50%) scaleY(1) rotate(90deg);
}

.home-faq__question:hover .home-faq__icon {
    border-color: var(--color-orange);
    background: #fff2ed;
}

.home-faq__answer {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
}

.home-faq__answer-inner {
    overflow: hidden;
}

.home-faq__answer p {
    max-width: 45rem;
    padding: 0 4rem 1.6rem 0;
    margin: 0;
    color: #5b708a;
    line-height: 1.7;
}

.home-faq.is-accordion-ready .home-faq__answer {
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
        grid-template-rows 360ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 260ms ease;
}

.home-faq.is-accordion-ready
    .home-faq__item.is-open
    .home-faq__answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

/* Final homepage action */

.home-final-cta {
    padding: 0 1.5rem clamp(5rem, 8vw, 7rem);
    background: var(--color-white);
}

.home-final-cta__inner {
    position: relative;
    display: grid;
    width: min(82rem, 100%);
    padding: clamp(2.5rem, 6vw, 5rem);
    margin-inline: auto;
    overflow: hidden;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
    align-items: center;
    border-radius: 2rem;
    color: var(--color-white);
    background:
        radial-gradient(
            circle at 90% 10%,
            rgb(0 147 105 / 32%),
            transparent 32%
        ),
        linear-gradient(125deg, var(--color-navy), #113e68);
    box-shadow: 0 2rem 4rem rgb(11 37 69 / 16%);
}

.home-final-cta__inner::after {
    position: absolute;
    width: 16rem;
    height: 16rem;
    right: -7rem;
    bottom: -10rem;
    border: 2.5rem solid rgb(255 255 255 / 7%);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-final-cta__copy {
    position: relative;
    z-index: 1;
}

.home-final-cta__copy .home-section-label {
    margin: 0;
}

.home-final-cta__copy h2 {
    max-width: 46rem;
    margin: 1rem 0 0;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.home-final-cta__copy > p:last-child {
    max-width: 42rem;
    margin: 1.3rem 0 0;
    color: rgb(255 255 255 / 75%);
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-final-cta__actions {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 12rem;
    gap: 0.8rem;
    align-items: stretch;
    flex-direction: column;
}

.home-final-cta__actions .home-button {
    width: 100%;
}

@media (max-width: 56rem) {
    .home-faq__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .home-faq__heading {
        position: static;
        max-width: 44rem;
        margin-inline: auto;
        text-align: center;
    }

    .home-faq__heading h2,
    .home-faq__heading > p:last-child {
        margin-inline: auto;
    }

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

    .home-final-cta__actions {
        min-width: 0;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .home-final-cta__actions .home-button {
        width: auto;
    }
}

@media (max-width: 40rem) {
    .home-faq {
        padding-block: 4rem;
    }

    .home-faq__inner {
        width: min(100% - 2rem, 82rem);
    }

    .home-faq__question {
        padding-block: 1.25rem;
        gap: 1rem;
    }

    .home-faq__answer p {
        padding-right: 0;
    }

    .home-final-cta {
        padding: 0 1rem 4rem;
    }

    .home-final-cta__inner {
        padding: 2.25rem 1.25rem;
        border-radius: 1.4rem;
        text-align: center;
    }

    .home-final-cta__copy h2,
    .home-final-cta__copy > p:last-child {
        margin-inline: auto;
    }

    .home-final-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-final-cta__actions .home-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-faq__question,
    .home-faq__icon,
    .home-faq__icon::before,
    .home-faq__icon::after,
    .home-faq.is-accordion-ready .home-faq__answer {
        transition: none;
    }
}