.listing-heading {
    margin: 0 0 clamp(1.65rem, 3vw, 2.4rem);
    text-align: center;
}

.listing-heading::after {
    content: "";
    display: block;
    width: 2.75rem;
    height: 0.2rem;
    margin: 0.75rem auto 0;
    border-radius: 1rem;
    background: color-mix(in srgb, var(--accent) 72%, #a65d2a);
}

@media screen and (prefers-reduced-motion: no-preference) {
    .section-reveal.is-awaiting-reveal:not(:focus-within) {
        opacity: 0;
    }

    .section-reveal.is-revealing:not(:focus-within) {
        animation: section-arrival var(--arrival-duration, 620ms) var(--arrival-easing, ease-out)
            var(--arrival-delay, 0ms) backwards;
    }
}

@keyframes section-arrival {
    from {
        opacity: 0;
        translate: 0 var(--arrival-distance, 100px);
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

.point-section-heading {
    display: grid;
    gap: 1.5rem;
    margin-block-end: clamp(1.75rem, 4vw, 3rem);
}

.point-section-heading.has-image {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 4.5rem);
    align-items: center;
}

.point-section-copy {
    max-width: 42rem;
}

.point-section-copy .eyebrow {
    margin-block-end: 0.8rem;
}

.point-section-copy h2 {
    margin-block-end: 0.6em;
    color: var(--primary);
    font-size: clamp(1.65rem, 3.65vw, 2.85rem);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.rtl .point-section-copy h2 {
    line-height: 1.65;
    letter-spacing: normal;
}

.point-section-copy > p {
    max-width: 52ch;
    margin-block-end: 0;
    line-height: 1.9;
}

.point-section-copy > a {
    margin-block-start: 1.3rem;
}

.point-section-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 3;
    object-fit: cover;
    border-radius: 1.125rem;
}

.point-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.85rem, 2.1vw, 1.55rem);
}

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

.point-card-reveal {
    min-width: 0;
}

.point-card {
    position: relative;
    height: 100%;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid color-mix(in srgb, var(--primary) 10%, white);
    border-radius: 1.125rem;
    background: #fff;
    box-shadow: 0 7px 24px rgb(13 39 62 / 5%);
    transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.point-card::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: clamp(1.25rem, 3vw, 2rem);
    width: 2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transition: width 280ms ease;
}

.point-card-icon {
    display: inline-grid;
    place-items: center;
    width: 2.875rem;
    height: 2.875rem;
    margin-block-end: 0.9rem;
    border-radius: 0.85rem;
    background: color-mix(in srgb, var(--accent) 20%, white);
    color: var(--primary);
    font-size: 1.2rem;
    transition: color 280ms ease, background-color 280ms ease;
}

.point-card .point-card-copy {
    overflow-wrap: anywhere;
}

.point-card .point-card-copy h3 {
    margin-block: 0 0.55rem;
    color: var(--primary);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.55;
}

.point-card .point-card-copy > :last-child {
    margin-block-end: 0;
}

.content-section:has(.why-orban) {
    padding-block: clamp(2rem, 4.3vw, 3.65rem);
}

.why-orban {
    display: grid;
    grid-template-columns: minmax(14rem, 0.9fr) minmax(0, 2.1fr);
    gap: clamp(0.85rem, 2vw, 1.4rem);
}

.why-orban .point-section-heading {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.8rem;
    margin: 0;
    padding: clamp(1rem, 2.1vw, 1.45rem);
    border-radius: 1.1rem;
    color: white;
    background: linear-gradient(155deg, color-mix(in srgb, var(--primary) 87%, white), var(--primary));
}

.why-orban .point-section-copy :is(.eyebrow, .text-link) {
    color: color-mix(in srgb, var(--accent) 70%, white);
}

.why-orban .point-section-copy h2 {
    margin-block-end: 0.35em;
    color: white;
    font-size: clamp(1.4rem, 2.7vw, 2.15rem);
}

.why-orban .point-section-copy p {
    color: #edf1f5;
    font-size: 0.86rem;
    line-height: 1.65;
}

.why-orban .point-section-copy > a {
    margin-block-start: 0.65rem;
}

.why-orban .point-section-image {
    aspect-ratio: 2.4;
    max-block-size: 8rem;
    border-radius: 0.65rem;
}

.why-orban .point-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.65rem, 1.4vw, 1rem);
}

.why-orban .point-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    align-items: start;
    gap: 0.65rem;
    padding: clamp(0.85rem, 1.5vw, 1.15rem);
    border-radius: 0.9rem;
}

.why-orban .point-card::before {
    content: none;
}

.why-orban .point-card-icon {
    width: 2rem;
    height: 2rem;
    margin: 0;
    border-radius: 0.55rem;
    font-size: 0.95rem;
}

.why-orban .point-card-copy h3 {
    margin-block-end: 0.3rem;
    font-size: clamp(0.94rem, 1.45vw, 1.1rem);
}

.why-orban .point-card-copy p {
    font-size: 0.84rem;
    line-height: 1.72;
}

@media (max-width: 850px) {
    .why-orban {
        grid-template-columns: minmax(0, 1fr);
    }

    .why-orban .point-section-heading.has-image {
        display: grid;
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        align-items: center;
    }
}

@media (max-width: 540px) {
    .why-orban .point-section-heading.has-image,
    .why-orban .point-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .point-card:hover {
        transform: translateY(-5px);
        border-color: color-mix(in srgb, var(--accent) 75%, white);
        box-shadow: 0 16px 30px rgb(13 39 62 / 10%);
    }

    .point-card:hover::before {
        width: 3.25rem;
    }

    .point-card:hover .point-card-icon {
        background: var(--primary);
        color: var(--accent);
    }
}

.home-content-backdrop {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    isolation: isolate;
    background: var(--primary);
}

.home-content-backdrop::before,
.home-content-sections {
    grid-area: 1 / 1;
}

.home-content-backdrop::before {
    content: "";
    position: sticky;
    inset-block-start: 0;
    height: 100vh;
    height: 100svh;
    background: var(--primary) url('../images/legal-rights-background.webp') center / cover no-repeat;
    pointer-events: none;
}

.home-content-sections {
    position: relative;
    min-width: 0;
}

.home-content-sections > .content-section {
    --tint-main: color-mix(in srgb, var(--section-tint, var(--paper)) 90%, transparent);
    --tint-edge: color-mix(in srgb, var(--section-tint, var(--paper)) 48%, transparent);
    background: linear-gradient(90deg, var(--tint-edge), var(--tint-main) 8%, var(--tint-main) 92%, var(--tint-edge));
}

.home-content-sections > .section-tone-0 { --section-tint: color-mix(in srgb, var(--custom-paper, #fffdfa) 65%, #fffdfa); }
.home-content-sections > .section-tone-1 { --section-tint: color-mix(in srgb, var(--primary) 4%, var(--custom-paper, white)); }
.home-content-sections > .section-tone-2 { --section-tint: color-mix(in srgb, var(--accent) 16%, var(--custom-paper, white)); }
.home-content-sections > .section-tone-3 { --section-tint: color-mix(in srgb, var(--custom-paper, #f2f6f3) 65%, #f2f6f3); }
.home-content-sections > .section-tone-4 { --section-tint: color-mix(in srgb, var(--custom-paper, #f5f4f8) 65%, #f5f4f8); }
.home-content-sections > .section-tone-5 { --section-tint: color-mix(in srgb, var(--custom-paper, #f0f4f7) 65%, #f0f4f7); }
.home-content-sections > .section-tone-6 { --section-tint: color-mix(in srgb, var(--custom-paper, #faf6ee) 65%, #faf6ee); }
.home-content-sections > .section-tone-7 { --section-tint: color-mix(in srgb, var(--custom-paper, #f4f6f3) 65%, #f4f6f3); }

.home-content-sections > .section-cta {
    background: color-mix(in srgb, var(--primary) 90%, transparent);
}

.home-content-sections > #home-process {
    --section-tint: color-mix(in srgb, var(--custom-paper, #edf2f6) 65%, #edf2f6);
    padding-block: clamp(2.8rem, 5.65vw, 5rem);
}

.process-heading {
    max-width: 38rem;
    margin: 0 auto clamp(1.6rem, 3.8vw, 2.75rem);
    text-align: center;
}

.process-heading .eyebrow {
    margin-block-end: 0.6rem;
}

.process-heading h2 {
    margin-block-end: 0.45rem;
    color: var(--primary);
    font-size: clamp(1.75rem, 3.8vw, 3rem);
    font-weight: 675;
    line-height: 1.3;
    text-wrap: balance;
}

.process-heading p {
    margin: 0;
    color: #394956;
    font-size: clamp(0.875rem, 1.55vw, 1rem);
    line-height: 1.75;
}

.process-image {
    max-inline-size: 42rem;
    margin: 0 auto 1.5rem;
}

.process-list {
    --step-gap: clamp(0.75rem, 2vw, 1.4rem);
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--step-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list:has(> .process-list-item:nth-child(3):last-child)::before {
    content: "";
    position: absolute;
    inset-block-start: 1.25rem;
    inset-inline: 16%;
    block-size: 1px;
    background: color-mix(in srgb, var(--primary) 33%, white);
}

.process-list-item {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0.8rem;
    min-width: 0;
}

.process-number {
    z-index: 1;
    display: grid;
    place-items: center;
    justify-self: center;
    width: 2.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-family: var(--body-font), sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
}

.process-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    padding: clamp(0.55rem, 1vw, 0.85rem);
    border: 1px solid #dbe4ea;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgb(13 39 62 / 5%);
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.process-card-photo {
    display: block;
    inline-size: 100%;
    block-size: auto;
    aspect-ratio: 3 / 1;
    min-block-size: 5.15rem;
    max-block-size: 8rem;
    border-radius: 0.7rem;
    object-fit: cover;
}

.process-copy {
    padding: 0.1rem clamp(0.4rem, 1vw, 0.85rem) 0.55rem;
}

.process-copy h3 {
    margin: 0 0 0.35rem;
    color: var(--primary);
    font-size: clamp(1rem, 1.8vw, 1.28rem);
    line-height: 1.55;
}

.process-copy :is(p, ul, ol) {
    color: #435360;
    font-size: 0.89rem;
    line-height: 1.8;
}

.process-copy > :last-child {
    margin-block-end: 0;
}

@media (hover: hover) {
    .process-card:hover {
        border-color: color-mix(in srgb, var(--accent) 65%, #dbe4ea);
        box-shadow: 0 13px 30px rgb(13 39 62 / 10%);
    }
}

@media (max-width: 700px) {
    .process-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .process-list:has(> .process-list-item:nth-child(3):last-child)::before {
        content: none;
    }

    .process-list-item {
        grid-template-columns: 2.5rem minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: start;
    }

    .process-list-item:not(:last-child)::before {
        content: "";
        position: absolute;
        inset-block-start: 1.25rem;
        inset-inline-start: 1.25rem;
        block-size: calc(100% + var(--step-gap));
        inline-size: 1px;
        background: color-mix(in srgb, var(--primary) 33%, white);
    }
}

.home-content-sections > .home-section-divider {
    background-color: rgb(9 24 38 / 28%);
    padding-block: 1.15rem;
}

.home-content-sections > .home-section-divider > span {
    background: linear-gradient(90deg, transparent, rgb(255 239 210 / 62%));
}

.home-content-sections > .home-section-divider > i {
    color: #ffe4b3;
}

@media (max-width: 900px) {
    .point-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-content-backdrop::before {
        background-position: 79% center;
        background-image: url('../images/legal-rights-background-768w.webp');
    }
}

@media (max-width: 600px) {
    .point-section-heading.has-image,
    .point-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-content-sections > .content-section {
        --tint-edge: color-mix(in srgb, var(--section-tint, var(--paper)) 66%, transparent);
    }
}
