@font-face {
    font-family: "Tajawal Regular";
    src: url("/legacy/fonts/Tajawal-Regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal Regular";
    src: url("/legacy/fonts/Tajawal-Medium.woff") format("woff");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal Regular";
    src: url("/legacy/fonts/Tajawal-Bold.woff") format("woff");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal Regular";
    src: url("/legacy/fonts/Tajawal-ExtraBold.woff") format("woff");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

:root {
    --legacy-red: #d24143;
    --legacy-red-light: #e36159;
    --legacy-charcoal: #484b4d;
    --legacy-dark: #212529;
    --legacy-copy: #303438;
    --legacy-muted: #777;
    --legacy-shell: min(1340px, calc(100% - 64px));
}

body.legacy-public {
    color: var(--legacy-copy);
    background: #fff;
    font-family: "Tajawal Regular", "Tajawal", Arial, sans-serif;
    font-size: 14px;
    line-height: 26px;
}

html[dir="rtl"] body.legacy-public {
    font-family: "Tajawal Regular", "Tajawal", Arial, sans-serif;
}

.legacy-public h1,
.legacy-public h2,
.legacy-public h3,
.legacy-public p {
    letter-spacing: normal;
}

.legacy-public a:focus-visible,
.legacy-public button:focus-visible,
.legacy-public input:focus-visible,
.legacy-public textarea:focus-visible {
    outline: 3px solid rgba(210, 65, 67, .35);
    outline-offset: 3px;
}

/* Legacy public header */
.legacy-public .legacy-topline {
    min-height: 62px;
    padding: 0;
    color: #b7b9ba;
    background: #45484a;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    font-size: 12px;
}

.legacy-topline-inner {
    width: var(--legacy-shell);
    min-height: 62px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.legacy-contact-links,
.legacy-account-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.legacy-contact-links > span,
.legacy-contact-links > a,
.legacy-account-links > a,
.legacy-account-links form,
.legacy-language-menu summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.legacy-top-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--legacy-red);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.legacy-account-links form {
    margin: 0;
}

.legacy-public .legacy-account-links .nav-link-button {
    padding: 0;
    color: #b7b9ba;
    font: inherit;
    cursor: pointer;
}

.legacy-language-menu {
    position: relative;
}

.legacy-language-menu summary {
    color: #b7b9ba;
    cursor: pointer;
    list-style: none;
}

.legacy-language-menu summary::-webkit-details-marker {
    display: none;
}

.legacy-language-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .24);
}

.legacy-language-menu > div {
    min-width: 118px;
    padding: 7px;
    position: absolute;
    inset-block-start: calc(100% + 12px);
    inset-inline-end: 0;
    z-index: 80;
    display: grid;
    gap: 2px;
    color: #777;
    background: #fff;
    border: 1px solid #e4e4e4;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.legacy-language-menu > div a {
    padding: 7px 9px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #555 !important;
}

.legacy-language-menu > div a:hover {
    color: var(--legacy-red) !important;
    background: #f5f5f5;
}

.legacy-public .legacy-topline a {
    color: #b7b9ba;
}

.legacy-public .legacy-topline a:hover {
    color: #fff;
}

.legacy-public .public-header {
    height: 121px;
    min-height: 121px;
    padding: 0;
    position: relative;
    top: auto;
    z-index: 50;
    background: #45484a;
    border: 0;
    box-shadow: none;
}

.legacy-header-inner {
    width: var(--legacy-shell);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.legacy-logo {
    flex: 0 0 auto;
}

.legacy-logo img {
    width: 188px;
    height: 44px;
    object-fit: contain;
}

.legacy-public .public-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 1.35vw, 27px);
    color: #f3f3f3;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

html[dir="rtl"] .legacy-public .public-nav {
    font-size: 14px;
    text-transform: none;
}

.legacy-public .public-nav > a {
    color: #f2f2f2;
    text-decoration: none;
    white-space: nowrap;
}

.legacy-public .public-nav > a:not(.button):hover,
.legacy-public .public-nav > a[aria-current="page"] {
    color: var(--legacy-red-light);
}

.legacy-public .public-nav .button {
    min-height: 48px;
    padding: 0 25px;
    color: #fff;
    background: var(--legacy-red);
    border: 1px solid var(--legacy-red);
    border-radius: 28px;
    font-size: 12px;
    box-shadow: none;
}

.legacy-public .public-nav .button:hover {
    background: #b82e31;
    transform: none;
}

.legacy-public .nav-toggle {
    display: none;
    color: #fff;
    border: 0;
    background: transparent;
}

.legacy-public.legacy-home .legacy-topline,
.legacy-public.legacy-home .public-header {
    width: 100%;
    position: absolute;
    inset-inline: 0;
}

.legacy-public.legacy-home .legacy-topline {
    inset-block-start: 0;
    z-index: 60;
}

.legacy-public.legacy-home .public-header {
    inset-block-start: 62px;
}

/* Hero and legacy callout */
.legacy-slider {
    height: 100svh;
    min-height: 720px;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: #53565a;
}

.legacy-slider::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(23, 25, 27, .08), rgba(23, 25, 27, 0) 46%, rgba(23, 25, 27, .08));
}

.legacy-slider-viewport,
.legacy-slide {
    width: 100%;
    height: 100%;
}

.legacy-slide {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
}

.legacy-slide[hidden] {
    display: none;
}

.legacy-slide-copy {
    padding: 80px 90px 20px;
}

.legacy-slide-copy .legacy-slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    color: #d5d5d5;
    font-size: 20px;
    font-weight: 500;
    text-transform: none;
}

.legacy-slide-copy .legacy-slide-eyebrow::before,
.legacy-slide-copy .legacy-slide-eyebrow::after {
    width: 48px;
    height: 10px;
    content: "";
    opacity: .34;
    background: repeating-linear-gradient(135deg, #fff 0 3px, transparent 3px 6px);
}

.legacy-slide-copy h1 {
    margin: 14px 0 10px;
    color: #fff;
    font-size: clamp(52px, 4.2vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    text-transform: none;
    text-shadow: none;
}

.legacy-slide-copy p {
    margin: 0;
    color: #f1f1f1;
    font-size: 21px;
    font-weight: 500;
}

.legacy-slider-control {
    width: 50px;
    height: 52px;
    padding: 0;
    position: absolute;
    z-index: 5;
    inset-block-start: 50%;
    display: grid;
    place-items: center;
    color: #aeb1b4;
    background: rgba(26, 29, 31, .44);
    border: 0;
    border-radius: 4px;
    transform: translateY(-50%);
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.legacy-slider-control:hover {
    color: #fff;
    background: rgba(26, 29, 31, .78);
}

.legacy-slider-control span {
    font-family: Arial, sans-serif;
    font-size: 38px;
    font-weight: 300;
    line-height: 1;
}

.legacy-slider-previous {
    inset-inline-start: 34px;
}

.legacy-slider-next {
    inset-inline-end: 34px;
}

.legacy-intro {
    min-height: 126px;
    padding: 26px max(24px, calc((100% - 1040px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: #fff;
    background: var(--legacy-red);
    border: 0;
}

.legacy-intro p {
    margin: 0 0 7px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.legacy-intro span {
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
}

.legacy-cta {
    min-height: 38px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: var(--legacy-red);
    border: 1px solid var(--legacy-red);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.legacy-cta:hover {
    background: #b82e31;
    border-color: #b82e31;
}

.legacy-cta-dark {
    color: #fff !important;
    background: #1f2326;
    border-color: #1f2326;
}

.legacy-cta-dark:hover {
    background: #050606;
    border-color: #050606;
}

/* Four-step concept */
.legacy-concept {
    min-height: 690px;
    padding: 86px 24px 80px;
    color: var(--legacy-copy);
    text-align: center;
    background: #fff;
}

.legacy-concept > h2 {
    margin: 0 0 13px;
    color: #33383c;
    font-size: 23px;
    font-weight: 700;
}

.legacy-concept > p {
    margin: 0 auto 42px;
    color: #999;
    font-size: 11px;
}

.legacy-flow {
    width: min(1080px, 100%);
    min-height: 370px;
    margin: 0 auto;
    padding: 58px 34px 20px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.85fr;
    align-items: center;
    gap: 10px;
    background: url('/legacy/home-concept.png') center 36px / 100% auto no-repeat;
}

html[dir="rtl"] .legacy-flow {
    background-image: url('/legacy/home-concept-rtl.png');
}

.legacy-flow-step {
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: var(--legacy-red);
}

.legacy-flow div:not(:last-child)::after {
    content: none;
}

.legacy-flow-step:nth-child(2) {
    transform: translateY(18px);
}

.legacy-flow-step img {
    width: 132px;
    height: 132px;
    object-fit: cover;
    border: 6px solid #f2f2f2;
    border-radius: 50%;
    background: #fff;
}

.legacy-flow-step strong {
    color: var(--legacy-red);
    font-size: 13px;
    font-weight: 500;
}

.legacy-flow-publish {
    transform: translateY(34px);
}

.legacy-flow-publish img {
    width: 246px;
    height: 246px;
    border-width: 9px;
}

/* Video */
.legacy-video {
    min-height: 730px;
    padding: 65px 24px 74px;
    display: block;
    color: #fff;
    text-align: center;
    background: linear-gradient(rgba(202, 65, 70, .88), rgba(202, 65, 70, .88)), url('/legacy/custom-header-bg.jpg') center / cover no-repeat;
}

.legacy-video-inner {
    width: min(870px, 100%);
    margin: 0 auto;
}

.legacy-video h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.legacy-video p {
    margin: 0 0 32px;
    color: rgba(255, 255, 255, .86);
    font-size: 10px;
}

.legacy-video .legacy-video-frame {
    width: min(760px, 100%);
    height: 500px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    color: #888;
    background: #fff;
    border-radius: 1px;
    box-shadow: 0 2px 15px rgba(70, 15, 18, .12);
}

.legacy-video-frame span {
    color: #9a9a9a;
    font-size: 13px;
}

/* Features */
.legacy-section,
.legacy-pricing {
    padding: 92px 24px;
    text-align: center;
}

.legacy-features-section {
    min-height: 760px;
    background: #f5f5f5;
}

.legacy-subtitle {
    display: inline-block;
    margin-bottom: 6px;
    color: #999;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.legacy-subtitle::before {
    width: 34px;
    height: 2px;
    margin: 0 auto 14px;
    display: block;
    content: "";
    background: var(--legacy-red);
}

.legacy-section > h2,
.legacy-pricing > h2 {
    margin: 0;
    color: #303438;
    font-size: 22px;
    font-weight: 700;
}

.legacy-features {
    width: min(1000px, 100%);
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.legacy-features article {
    min-height: 205px;
    padding: 38px 22px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    color: #333;
    text-align: center;
    background: #fff;
    border: 0;
    box-shadow: none;
}

.legacy-features article > img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.legacy-features h3 {
    max-width: 220px;
    margin: 0;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

/* Plans */
.legacy-pricing {
    min-height: 760px;
    padding-top: 88px;
    background: #fff;
}

.legacy-price-grid {
    width: min(660px, 100%);
    margin: 62px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.legacy-price-grid .legacy-plan {
    padding: 0 0 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #efefef;
    box-shadow: none;
}

.legacy-price-grid .legacy-plan h3 {
    min-height: 38px;
    margin: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: #050505;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.legacy-price-grid .legacy-plan-featured h3 {
    background: #f0060b;
}

.legacy-price {
    width: auto;
    min-height: 125px;
    margin: 0;
    padding: 24px 20px 16px;
    display: grid;
    grid-template-columns: auto auto;
    align-content: center;
    justify-content: center;
    column-gap: 7px;
    background: #f6f6f6;
}

.legacy-price strong {
    color: #333;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.legacy-price span {
    align-self: end;
    color: #333;
    font-size: 12px;
    font-weight: 700;
}

.legacy-price small {
    grid-column: 1 / -1;
    margin-top: 10px;
    color: #aaa;
    font-size: 8px;
}

.legacy-price-grid ul {
    margin: 0;
    padding: 0 26px 18px;
    list-style: none;
}

.legacy-price-grid li {
    padding: 9px 3px;
    color: #999;
    border-bottom: 1px solid #f0f0f0;
    font-size: 9px;
}

.legacy-buy {
    min-width: 54px;
    min-height: 30px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #222;
    border: 1px solid #222;
    background: #fff;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.legacy-buy:hover {
    color: #fff;
    background: #222;
}

/* Countdown */
.legacy-countdown {
    padding: 0 24px 48px;
    background: #fff;
}

.legacy-countdown-inner {
    width: min(1040px, 100%);
    min-height: 220px;
    margin: 0 auto;
    padding: 20px 42px 34px;
    color: #fff;
    text-align: center;
    background: #970000;
    border-radius: 4px;
}

.legacy-countdown h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: lowercase;
}

.legacy-countdown-inner > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
}

.legacy-countdown strong {
    color: rgba(255, 255, 255, .27);
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 400;
}

.legacy-countdown small {
    margin-inline-start: 9px;
    color: rgba(255, 255, 255, .5);
    font-size: 8px;
    font-weight: 400;
    text-transform: uppercase;
}

/* Statistics and customers */
.legacy-stats {
    min-height: 360px;
    padding: 72px max(24px, calc((100% - 1040px) / 2));
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: 70px;
    color: #34383b;
    background: linear-gradient(rgba(245, 245, 245, .85), rgba(245, 245, 245, .85)), url('/legacy/parallax-corporate-9-1.jpg') center 43% / cover no-repeat;
}

.legacy-stats-copy span {
    color: #444;
    font-size: 12px;
}

.legacy-stats h2 {
    margin: 8px 0 23px;
    color: #333;
    font-size: 12px;
    font-weight: 400;
}

.legacy-stat-link {
    min-height: 32px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    color: var(--legacy-red);
    border: 1px solid var(--legacy-red);
    font-size: 8px;
    font-weight: 700;
}

.legacy-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 65px;
}

.legacy-stat-grid strong {
    color: #4a4c4e;
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
}

.legacy-stat-grid small {
    margin-top: 10px;
    display: block;
    color: #777;
    font-size: 9px;
    font-weight: 400;
}

.legacy-customers {
    min-height: 420px;
    padding: 72px 24px 65px;
    color: #333;
    text-align: center;
    background: #fff;
}

.legacy-customers h2 {
    margin: 0 auto 12px;
    font-size: 18px;
    font-weight: 400;
}

.legacy-customers p {
    margin: 0;
    color: var(--legacy-red);
    font-size: 9px;
}

.legacy-brand-row {
    width: min(1040px, 100%);
    min-height: 150px;
    margin: 45px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.8vw, 46px);
    color: #cdd0d5;
    white-space: nowrap;
}

.legacy-brand-row img {
    width: 105px;
    height: 78px;
    object-fit: contain;
    opacity: .38;
    filter: grayscale(.2) saturate(.55);
    mix-blend-mode: multiply;
}

/* Affiliate, contact and footer */
.legacy-affiliate {
    min-height: 112px;
    padding: 25px max(24px, calc((100% - 1040px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: #fff;
    text-align: start;
    background: var(--legacy-red-light);
}

.legacy-affiliate h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.legacy-affiliate p {
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 9px;
}

.legacy-contact {
    min-height: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #eee;
}

.legacy-map,
.legacy-map iframe {
    width: 100%;
    min-height: 500px;
    height: 100%;
}

.legacy-map iframe {
    display: block;
    border: 0;
    filter: saturate(.78);
}

.legacy-contact-form {
    width: min(620px, 100%);
    padding: 80px 70px 60px;
    align-self: center;
}

.legacy-contact-form h2 {
    margin: 0 0 28px;
    color: #333;
    font-size: 22px;
    font-weight: 700;
}

.legacy-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.legacy-contact-form label {
    margin: 0 0 15px;
    display: grid;
    gap: 7px;
    color: #777;
    font-size: 9px;
    font-weight: 400;
}

.legacy-contact-form input,
.legacy-contact-form textarea {
    width: 100%;
    padding: 11px 12px;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    resize: vertical;
}

.legacy-contact-form .legacy-cta {
    margin-top: 4px;
    border-radius: 18px;
}

.legacy-public .site-footer {
    padding: 0;
    color: #95999d;
    background: var(--legacy-dark);
}

.legacy-footer-inner {
    width: var(--legacy-shell);
    min-height: 245px;
    margin: 0 auto;
    padding: 54px 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
}

.legacy-footer-inner > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 9px;
}

html[dir="rtl"] .legacy-footer-inner > div {
    align-items: flex-start;
}

.legacy-footer-brand img {
    width: 110px;
    height: auto;
}

.legacy-footer-brand p {
    margin-top: auto;
    color: #666d72;
}

.legacy-footer-inner strong {
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
}

.legacy-footer-inner a,
.legacy-footer-inner span {
    color: #92989d;
}

.legacy-footer-inner a:hover {
    color: var(--legacy-red-light);
}

@media (max-width: 1260px) {
    .legacy-public .public-header {
        height: 72px;
        min-height: 72px;
    }

    .legacy-public .nav-toggle {
        display: block;
        margin-inline-start: auto;
        font-size: 28px;
    }

    .legacy-public .public-nav {
        display: none;
        position: absolute;
        top: 72px;
        inset-inline: 0;
        padding: 22px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #35383a;
        box-shadow: 0 12px 25px rgba(0, 0, 0, .22);
    }

    .legacy-public .public-nav.is-open {
        display: flex;
    }

    .legacy-public .public-nav > a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .legacy-public .public-nav .button {
        width: max-content;
        margin-top: 12px;
        padding-inline: 18px;
    }

    .legacy-flow {
        background-position: center 62px;
    }

    .legacy-flow-step img {
        width: 108px;
        height: 108px;
    }

    .legacy-flow-publish img {
        width: 205px;
        height: 205px;
    }
}

@media (max-width: 760px) {
    :root {
        --legacy-shell: min(100% - 32px, 1040px);
    }

    .legacy-public .legacy-topline {
        min-height: 34px;
        display: block;
        font-size: 9px;
    }

    .legacy-topline-inner {
        min-height: 34px;
    }

    .legacy-public.legacy-home .public-header {
        inset-block-start: 34px;
    }

    .legacy-top-icon {
        width: 13px;
        height: 13px;
    }

    .legacy-contact-links span,
    .legacy-contact-links a:nth-of-type(2) {
        display: none;
    }

    .legacy-contact-links,
    .legacy-account-links {
        gap: 9px;
    }

    .legacy-logo img {
        width: 126px;
        height: auto;
    }

    .legacy-slider {
        min-height: 480px;
    }

    .legacy-slide-copy h1 {
        font-size: 42px;
    }

    .legacy-slide-copy {
        padding: 76px 58px 20px;
    }

    .legacy-slide-copy .legacy-slide-eyebrow {
        gap: 12px;
        font-size: 15px;
    }

    .legacy-slide-copy .legacy-slide-eyebrow::before,
    .legacy-slide-copy .legacy-slide-eyebrow::after {
        width: 26px;
        height: 7px;
    }

    .legacy-slide-copy p {
        font-size: 17px;
    }

    .legacy-slider-control {
        width: 38px;
        height: 44px;
    }

    .legacy-slider-previous {
        inset-inline-start: 10px;
    }

    .legacy-slider-next {
        inset-inline-end: 10px;
    }

    .legacy-intro,
    .legacy-affiliate {
        padding: 30px 20px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .legacy-concept {
        min-height: 0;
        padding: 65px 20px;
    }

    .legacy-concept > h2 {
        font-size: 20px;
    }

    .legacy-flow {
        min-height: 0;
        padding: 30px 0 0;
        grid-template-columns: 1fr 1fr;
        gap: 36px 16px;
        background: none;
    }

    .legacy-flow-step:nth-child(2),
    .legacy-flow-publish {
        transform: none;
    }

    .legacy-flow-publish img,
    .legacy-flow-step img {
        width: 118px;
        height: 118px;
        border-width: 6px;
    }

    .legacy-video {
        min-height: 0;
        padding: 54px 18px 60px;
    }

    .legacy-video .legacy-video-frame {
        height: 52vw;
        min-height: 220px;
    }

    .legacy-features-section,
    .legacy-pricing {
        min-height: 0;
        padding: 68px 18px;
    }

    .legacy-features {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .legacy-features article {
        min-height: 175px;
    }

    .legacy-price-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .legacy-countdown-inner {
        padding: 24px 12px 30px;
    }

    .legacy-countdown strong {
        font-size: 32px;
    }

    .legacy-countdown small {
        margin: 6px 0 0;
        display: block;
    }

    .legacy-stats {
        padding: 62px 24px;
        grid-template-columns: 1fr;
        gap: 45px;
        text-align: center;
    }

    .legacy-stat-grid {
        gap: 34px 18px;
    }

    .legacy-stat-grid strong {
        font-size: 31px;
    }

    .legacy-customers {
        min-height: 0;
        padding: 60px 20px;
    }

    .legacy-brand-row {
        min-height: 0;
        flex-wrap: wrap;
        white-space: normal;
    }

    .legacy-contact {
        grid-template-columns: 1fr;
    }

    .legacy-map,
    .legacy-map iframe {
        min-height: 360px;
    }

    .legacy-contact-form {
        padding: 60px 24px;
    }

    .legacy-contact-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .legacy-footer-inner {
        padding: 45px 0;
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .legacy-footer-brand p {
        margin-top: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legacy-public * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Internal marketing pages — matched to the original Porto-era public site. */
.legacy-internal-hero {
    min-height: 350px;
    padding: 138px 24px 82px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background-color: #212529;
    background-image: linear-gradient(rgba(20, 23, 26, .76), rgba(20, 23, 26, .76)), url('/legacy/internal/page-header-services.jpg');
    background-position: center;
    background-size: cover;
}

.legacy-internal-hero-about {
    background-image: linear-gradient(rgba(20, 23, 26, .76), rgba(20, 23, 26, .76)), url('/legacy/internal/page-header-about-us.jpg');
}

.legacy-internal-hero > div {
    width: min(1120px, 100%);
}

.legacy-internal-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 3.1vw, 39px);
    font-weight: 700;
    line-height: 1.15;
}

.legacy-internal-hero p {
    max-width: 720px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}

.legacy-breadcrumbs {
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, .7);
    list-style: none;
    font-size: 12px;
}

.legacy-breadcrumbs li + li::before {
    margin-inline-end: 10px;
    content: "/";
    opacity: .7;
}

.legacy-breadcrumbs a {
    color: #fff;
}

.legacy-breadcrumbs a:hover {
    color: var(--legacy-red-light);
}

.legacy-page-content {
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
    padding: 74px 0 86px;
}

.legacy-page-heading {
    margin: 0 0 42px;
    color: #303438;
    text-align: center;
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 600;
}

.legacy-page-heading > span {
    display: block;
    color: var(--legacy-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.legacy-page-heading h2 {
    margin: 7px 0 10px;
    color: #303438;
    font-size: inherit;
    line-height: 1.25;
}

.legacy-page-heading p {
    max-width: 720px;
    margin: 0 auto;
    color: #7c7c7c;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.85;
}

.legacy-page-heading::after {
    width: 46px;
    height: 2px;
    margin: 16px auto 0;
    display: block;
    content: "";
    background: var(--legacy-red);
}

/* Original-style template catalogue with the new catalogue data. */
.legacy-template-shell {
    width: min(1420px, calc(100% - 48px));
    margin: 0 auto;
    padding: 58px 0 90px;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.legacy-template-shell > * {
    min-width: 0;
}

.legacy-template-shell > div:last-child,
.legacy-public .legacy-catalog-grid {
    width: 100%;
}

.legacy-template-filter {
    position: sticky;
    top: 24px;
    padding: 24px 22px;
    background: #fff;
    border: 1px solid #e7e7e7;
}

.legacy-template-filter h2 {
    margin: 0 0 18px;
    color: #333;
    font-size: 16px;
    font-weight: 700;
}

.legacy-template-filter button {
    width: 100%;
    padding: 9px 0;
    display: block;
    color: #777;
    text-align: start;
    border: 0;
    border-bottom: 1px solid #eee;
    background: transparent;
    font-size: 13px;
}

.legacy-template-filter button:hover,
.legacy-template-filter button[aria-pressed="true"] {
    color: var(--legacy-red);
}

.legacy-public .legacy-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
}

.legacy-public .legacy-catalog-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 5px 20px rgba(32, 37, 41, .055);
    transition: transform .22s ease, box-shadow .22s ease;
}

.legacy-public .legacy-catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(32, 37, 41, .11);
}

.legacy-catalog-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #eceeef;
}

.legacy-public .legacy-catalog-media img {
    width: 100%;
    aspect-ratio: 1.42;
    object-fit: cover;
    transition: transform .4s ease;
}

.legacy-catalog-card:hover .legacy-catalog-media img {
    transform: scale(1.035);
}

.legacy-catalog-media::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    content: "View";
    color: #fff;
    background: rgba(20, 23, 26, .68);
    opacity: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: opacity .22s ease;
}

html[dir="rtl"] .legacy-catalog-media::after {
    content: "معاينة";
}

.legacy-catalog-card:hover .legacy-catalog-media::after {
    opacity: 1;
}

.legacy-catalog-copy {
    padding: 20px 20px 22px;
}

.legacy-catalog-copy > span {
    color: var(--legacy-red);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.legacy-catalog-copy h2 {
    margin: 7px 0 7px;
    color: #2f3336;
    font-size: 18px;
    line-height: 1.35;
}

.legacy-catalog-copy p {
    min-height: 44px;
    margin: 0;
    color: #858585;
    font-size: 12px;
    line-height: 1.65;
}

.legacy-catalog-meta {
    margin-top: 18px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #eee;
}

.legacy-catalog-meta strong {
    color: #333;
    font-size: 13px;
}

.legacy-small-action {
    min-height: 32px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--legacy-red);
    border: 1px solid var(--legacy-red);
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.legacy-small-action:hover {
    color: var(--legacy-red);
    background: #fff;
}

/* Services and information pages. */
.legacy-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.legacy-service-card {
    overflow: hidden;
    color: #777;
    background: #fff;
    box-shadow: 0 7px 24px rgba(32, 37, 41, .12);
}

.legacy-service-card figure {
    height: 250px;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.legacy-service-card figure::after {
    position: absolute;
    inset: 45% 0 0;
    content: "";
    background: linear-gradient(transparent, rgba(0, 0, 0, .82));
}

.legacy-service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.legacy-service-card h2 {
    position: absolute;
    z-index: 1;
    inset-inline: 24px;
    inset-block-end: 20px;
    margin: 0;
    color: #fff;
    font-size: 19px;
}

.legacy-service-card p {
    min-height: 120px;
    margin: 0;
    padding: 24px;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
}

.legacy-about-layout {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.6fr);
    gap: 45px;
    align-items: start;
}

.legacy-about-card {
    padding: 46px 34px;
    color: #fff;
    text-align: center;
    background: var(--legacy-red);
    border-radius: 10px 10px 45px 10px;
}

.legacy-about-card h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.legacy-about-card strong {
    display: block;
    color: #fff;
    font-size: 25px;
    line-height: 1.35;
}

.legacy-about-card p {
    color: rgba(255, 255, 255, .76);
}

.legacy-about-card a {
    margin-top: 18px;
}

.legacy-about-card > span,
.legacy-about-card > a[href^="tel"] {
    display: block;
    color: #fff;
}

.legacy-about-card > span {
    margin-top: 20px;
    font-size: 11px;
    font-weight: 700;
}

.legacy-about-card > a[href^="tel"] {
    margin-top: 2px;
    font-size: 20px;
    font-weight: 700;
}

.legacy-outline-action,
.legacy-ghost-action {
    min-height: 38px;
    padding: 0 22px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 3px;
    font-size: 10px !important;
    font-weight: 700;
}

.legacy-outline-action:hover,
.legacy-ghost-action:hover {
    color: #333 !important;
    background: #fff;
}

.legacy-affiliate-hero h1 {
    color: var(--legacy-red-light);
    font-style: italic;
    font-size: clamp(36px, 4.1vw, 55px);
}

.legacy-hero-actions {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.legacy-ghost-action {
    margin: 0 !important;
}

.legacy-rich-copy h2 {
    margin: 0 0 20px;
    color: #303438;
    font-size: 30px;
}

.legacy-rich-copy h3 {
    margin: 34px 0 10px;
    color: #333;
    font-size: 20px;
}

.legacy-rich-copy p,
.legacy-rich-copy li {
    color: #707070;
    font-size: 15px;
    line-height: 1.95;
}

.legacy-rich-copy ul {
    padding-inline-start: 22px;
}

.legacy-highlight-band {
    padding: 64px 24px;
    color: #fff;
    text-align: center;
    background: var(--legacy-red);
}

.legacy-highlight-band h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 30px;
}

.legacy-highlight-band p {
    width: min(760px, 100%);
    margin: 0 auto;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
}

.legacy-process-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #dedede;
}

.legacy-process-grid article {
    padding: 35px 28px;
    background: #fff;
}

.legacy-process-grid p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
}

.legacy-process-grid span {
    color: var(--legacy-red);
    font-weight: 700;
}

.legacy-process-grid h3 {
    margin: 18px 0 8px;
    color: #333;
    font-size: 19px;
}

.legacy-callout {
    padding: 34px max(24px, calc((100% - 1140px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #fff;
    background: #3d4144;
}

.legacy-callout h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 22px;
}

.legacy-callout p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
}

/* Legal and transactional pages inherit the same public identity. */
.legacy-public .legal-page {
    width: min(980px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto;
    padding: 70px 0 88px;
    background: #fff;
}

.legacy-public .legal-page h2 {
    margin: 36px 0 10px;
    color: #303438;
    font-size: 23px;
    letter-spacing: normal;
}

.legacy-public .legal-page p {
    max-width: none;
    color: #707070;
    font-size: 14px;
    line-height: 1.95;
}

.legacy-public .legal-page a {
    color: var(--legacy-red);
}

.legacy-empty-state {
    padding: 34px;
    color: #777;
    text-align: center;
    border: 1px dashed #d2d2d2;
}

.legacy-price-grid-page {
    width: min(900px, 100%);
    margin-top: 0;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.legacy-plan-action {
    min-width: 112px;
    min-height: 36px;
    margin: 6px auto 0;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    color: #24282b;
    border: 1px solid #24282b;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.legacy-plan-action:hover {
    color: #fff;
    background: var(--legacy-red);
    border-color: var(--legacy-red);
}

.legacy-public .form-shell {
    width: min(760px, calc(100% - 36px));
    max-width: none;
    margin: 72px auto 90px;
    padding: 0;
}

.legacy-public .form-panel {
    padding: clamp(30px, 5vw, 54px);
    background: #fff;
    border: 1px solid #e1e1e1;
    border-top: 3px solid var(--legacy-red);
    box-shadow: 0 10px 35px rgba(32, 37, 41, .08);
}

.legacy-public .form-panel > .eyebrow {
    color: var(--legacy-red);
    font-size: 10px;
}

.legacy-public .form-panel h1 {
    margin: 8px 0 24px;
    color: #303438;
    font-size: clamp(28px, 4vw, 40px);
}

.legacy-public .field input,
.legacy-public .field select,
.legacy-public .field textarea {
    border-color: #ccc;
    border-radius: 2px;
}

.legacy-public .field input:focus,
.legacy-public .field select:focus,
.legacy-public .field textarea:focus {
    border-color: var(--legacy-red);
    outline-color: rgba(210, 65, 67, .18);
}

.legacy-public .form-panel .button {
    min-height: 40px;
    color: #fff;
    background: var(--legacy-red);
    border-color: var(--legacy-red);
    border-radius: 2px;
}

.legacy-public .form-panel .button:hover {
    background: #b82e31;
}

.legacy-application-list {
    margin: 26px 0 30px;
    padding-inline-start: 22px;
    color: #707070;
}

.legacy-application-list li {
    margin-bottom: 7px;
}

@media (max-width: 1100px) {
    .legacy-template-shell {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .legacy-public .legacy-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .legacy-internal-hero {
        min-height: 300px;
        padding: 92px 20px 62px;
    }

    .legacy-template-shell,
    .legacy-about-layout {
        width: min(100% - 32px, 1140px);
        grid-template-columns: 1fr;
    }

    .legacy-template-filter {
        position: static;
    }

    .legacy-template-filter div {
        display: flex;
        gap: 8px;
        overflow-x: auto;
    }

    .legacy-template-filter button {
        width: auto;
        min-width: max-content;
        padding: 8px 12px;
        border: 1px solid #e1e1e1;
    }

    .legacy-public .legacy-catalog-grid,
    .legacy-service-grid,
    .legacy-process-grid {
        grid-template-columns: 1fr;
    }

    .legacy-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    .legacy-hero-actions {
        align-items: center;
        flex-direction: column;
    }
}
