@font-face {
    font-family: "Noto Sans Arabic";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/NotoSansArabic-Arabic.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
    font-family: "Noto Sans Arabic";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/NotoSansArabic-Latin.woff2") format("woff2");
    unicode-range: U+0000-024F, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --brand: #75449d;
    --brand-dark: #5f3488;
    --brand-deep: #4d286d;
    --brand-soft: #f6f1f9;
    --ink: #211c24;
    --text: #2b2630;
    --muted: #6b6470;
    --canvas: #faf9fb;
    --paper: #ffffff;
    --border: #e5dfe8;
    --border-strong: #d7cddd;
    --focus: rgba(117, 68, 157, 0.28);
    --shadow-soft: 0 8px 24px rgba(32, 26, 37, 0.06);
    --radius: 8px;
    --container: 1120px;
    --contact-container: 960px;
    --reading: 720px;
}

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

html {
    background: var(--canvas);
    scroll-behavior: smooth;
}

body {
    min-width: 0;
    margin: 0;
    overflow-x: hidden;
    background: var(--canvas);
    color: var(--text);
    font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
}

body,
button,
input,
textarea,
select {
    font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p,
ul {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0;
}

h1 {
    font-size: 30px;
    line-height: 1.3;
}

h2 {
    font-size: 24px;
    line-height: 1.4;
}

h3 {
    font-size: 18px;
    line-height: 1.45;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin-inline: auto;
}

.container--contact {
    max-width: var(--contact-container);
}

.reading-width {
    width: min(calc(100% - 32px), var(--reading));
    margin-inline: auto;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--brand);
    color: var(--paper);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button:hover {
    background: var(--brand-dark);
}

.button--secondary {
    border-color: var(--border-strong);
    background: var(--paper);
    color: var(--brand-deep);
}

.button--secondary:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
}

.button--small {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 14px;
}

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
}

.site-header__inner {
    display: flex;
    min-height: 64px;
    align-items: center;
    gap: 20px;
}

.brand {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.brand img {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    object-fit: cover;
}

.site-nav {
    display: none;
    align-items: center;
    gap: 6px;
    margin-inline: auto;
}

.site-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius);
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 150ms ease, color 150ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.site-header__action {
    margin-inline-start: auto;
    white-space: nowrap;
}

.page-intro {
    padding: 40px 0 32px;
    border-bottom: 1px solid var(--border);
    background: var(--paper);
}

.page-intro__content {
    max-width: 720px;
}

.page-intro h1 {
    margin-bottom: 10px;
    color: var(--brand-deep);
}

.page-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.eyebrow {
    margin-bottom: 8px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.section {
    padding: 48px 0;
}

.section--paper {
    background: var(--paper);
}

.section--soft {
    background: var(--brand-soft);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 8px;
    color: var(--brand-deep);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.home-hero {
    padding: 50px 0 42px;
    border-bottom: 1px solid var(--border);
    background: var(--paper);
    text-align: center;
}

.home-hero__content {
    max-width: 780px;
    margin-inline: auto;
}

.home-hero__logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    object-fit: cover;
}

.home-hero h1 {
    max-width: 760px;
    margin: 0 auto 14px;
    color: var(--ink);
    font-size: 32px;
    line-height: 1.25;
}

.home-hero__lead {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.home-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.status-badge {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 6px 13px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.product-proof {
    padding: 34px 0 48px;
    background: var(--paper);
}

.product-proof__frame {
    width: min(100%, 520px);
    aspect-ratio: 4 / 5;
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--brand-soft);
    box-shadow: var(--shadow-soft);
}

.product-proof__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 67%;
}

.steps-list,
.feature-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step-item,
.feature-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.step-item:last-child,
.feature-item:last-child {
    border-bottom: 0;
}

.step-number,
.feature-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: 16px;
    font-weight: 700;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.step-item h3,
.feature-item h3 {
    margin: 0 0 5px;
}

.step-item p,
.feature-item p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.story-content {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.story-content h2 {
    margin-bottom: 14px;
    color: var(--brand-deep);
}

.story-content p {
    margin-bottom: 12px;
    color: var(--muted);
}

.story-content .button {
    margin-top: 8px;
}

.service-strip {
    padding: 34px 0;
    border-block: 1px solid var(--border);
    background: var(--canvas);
    text-align: center;
}

.service-strip h2 {
    margin-bottom: 12px;
    color: var(--brand-deep);
}

.service-strip p {
    max-width: 560px;
    margin: 12px auto 0;
    color: var(--muted);
}

.download-cta {
    padding: 48px 0 54px;
    background: var(--brand-soft);
    text-align: center;
}

.download-cta h2 {
    margin-bottom: 8px;
    color: var(--brand-deep);
}

.download-cta > .container > p {
    max-width: 580px;
    margin: 0 auto;
    color: var(--muted);
}

.store-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(100%, 340px);
    margin: 22px auto 0;
}

.store-button {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 15px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.store-button:hover {
    border-color: var(--brand);
    background: #fdfcfe;
}

.store-button span,
.store-button strong {
    display: block;
}

.store-button span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.3;
}

.store-button strong {
    color: var(--ink);
    font-size: 17px;
    line-height: 1.35;
}

.store-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
}

.editorial-page {
    padding: 48px 0 64px;
    background: var(--paper);
}

.editorial-copy {
    color: var(--text);
    font-size: 17px;
    line-height: 1.9;
}

.editorial-copy .eyebrow {
    margin-bottom: 18px;
}

.editorial-copy p {
    margin-bottom: 24px;
}

.editorial-copy p:last-child {
    margin-bottom: 0;
}

.contact-page {
    padding: 40px 0 56px;
}

.contact-grid {
    display: grid;
    gap: 14px;
}

.contact-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--paper);
}

.method-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: var(--radius);
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.method-icon svg {
    width: 22px;
    height: 22px;
}

.contact-card h2 {
    margin-bottom: 5px;
    font-size: 20px;
}

.contact-value {
    direction: ltr;
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
}

.contact-card .button {
    width: 100%;
    margin-top: auto;
}

.help-section {
    margin-top: 42px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.help-section h2 {
    margin-bottom: 20px;
    color: var(--brand-deep);
}

.help-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-list li {
    position: relative;
    padding: 13px 24px 13px 0;
    border-bottom: 1px solid var(--border);
}

.help-list li::before {
    position: absolute;
    top: 22px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    content: "";
}

.legal-page {
    padding: 40px 0 64px;
    background: var(--paper);
}

.legal-document {
    width: min(calc(100% - 32px), var(--reading));
    margin-inline: auto;
    color: var(--text);
    line-height: 1.9;
}

.legal-document h1 {
    margin-bottom: 18px;
    color: var(--brand-deep);
}

.legal-document h2 {
    margin: 36px 0 14px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    color: var(--brand-deep);
    font-size: 21px;
}

.legal-document p {
    margin-bottom: 17px;
}

.legal-document .date {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
}

.legal-document ul {
    margin-bottom: 20px;
    padding-right: 24px;
}

.legal-document li {
    margin-bottom: 8px;
    padding-right: 3px;
}

.legal-document hr {
    height: 1px;
    margin: 32px 0;
    border: 0;
    background: var(--border);
}

.legal-document a {
    color: var(--brand-deep);
    font-weight: 700;
    text-underline-offset: 4px;
}

.legal-email {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    max-width: 100%;
    padding: 8px 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--brand-soft);
    direction: ltr;
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.site-footer {
    padding: 34px 0 24px;
    background: var(--ink);
    color: #d8d2dc;
    font-size: 14px;
}

.site-footer__main {
    display: grid;
    justify-items: center;
    gap: 22px;
}

.brand--footer {
    color: var(--paper);
}

.brand--footer img {
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
}

.footer-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: #d8d2dc;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--paper);
}

.site-footer__social {
    text-align: center;
}

.site-footer__title {
    margin-bottom: 10px;
    color: var(--paper);
    font-size: 18px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.social-links a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: var(--radius);
    color: var(--paper);
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.social-links a:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.site-footer__copy {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #aaa3af;
    text-align: center;
}

.download-page {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
}

.download-main {
    display: grid;
    flex: 1;
    align-content: center;
    padding: clamp(18px, 4svh, 38px) 16px;
    text-align: center;
}

.download-content {
    width: min(100%, 720px);
    margin-inline: auto;
}

.download-logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.download-content .eyebrow {
    margin-bottom: 6px;
}

.download-content h1 {
    max-width: 640px;
    margin: 0 auto 14px;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.3;
}

.download-lead {
    max-width: 580px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.download-page .store-links {
    margin-top: 18px;
}

.download-badge {
    margin-top: 14px;
}

.site-footer--compact {
    flex: 0 0 auto;
    padding: 10px 16px max(12px, env(safe-area-inset-bottom));
}

.site-footer--compact .site-footer__copy {
    margin-top: 6px;
    padding-top: 0;
    border-top: 0;
}

@media (min-width: 480px) {
    .home-hero__actions {
        flex-direction: row;
        justify-content: center;
    }

    .help-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 28px;
    }
}

@media (min-width: 720px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    .container,
    .reading-width,
    .legal-document {
        width: min(calc(100% - 48px), var(--container));
    }

    .reading-width,
    .legal-document {
        max-width: var(--reading);
    }

    .site-header__inner {
        min-height: 72px;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .site-nav {
        display: flex;
    }

    .site-header__action {
        margin-inline-start: 0;
    }

    .page-intro {
        padding: 48px 0 40px;
    }

    .section {
        padding: 64px 0;
    }

    .home-hero {
        padding: 66px 0 52px;
    }

    .home-hero__logo {
        width: 80px;
        height: 80px;
        margin-bottom: 24px;
    }

    .home-hero h1 {
        font-size: 42px;
    }

    .home-hero__lead {
        font-size: 18px;
    }

    .product-proof {
        padding: 42px 0 66px;
    }

    .steps-list,
    .feature-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }

    .step-item,
    .feature-item {
        display: block;
        padding: 0;
        border-bottom: 0;
    }

    .step-number,
    .feature-icon {
        margin-bottom: 16px;
    }

    .service-strip {
        padding: 44px 0;
    }

    .download-cta {
        padding: 64px 0 70px;
    }

    .store-links {
        grid-template-columns: repeat(2, minmax(0, 206px));
        justify-content: center;
        width: auto;
    }

    .editorial-page {
        padding: 64px 0 80px;
    }

    .contact-page {
        padding: 56px 0 72px;
    }

    .legal-page {
        padding: 56px 0 80px;
    }

    .site-footer__main {
        grid-template-columns: auto 1fr auto;
        align-items: center;
        justify-items: stretch;
    }

    .footer-nav {
        justify-content: center;
    }

    .download-logo {
        width: 108px;
        height: 108px;
        margin-bottom: 18px;
    }

    .download-content h1 {
        font-size: 36px;
    }

    .download-lead {
        font-size: 17px;
    }
}

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

    .contact-card {
        min-height: 250px;
        padding: 24px;
    }
}

@media (max-height: 640px) and (max-width: 719px) {
    .download-main {
        padding-block: 12px;
    }

    .download-logo {
        width: 78px;
        height: 78px;
        margin-bottom: 10px;
    }

    .download-content .eyebrow {
        margin-bottom: 2px;
        font-size: 13px;
    }

    .download-content h1 {
        margin-bottom: 8px;
        font-size: 25px;
    }

    .download-lead {
        font-size: 14px;
        line-height: 1.55;
    }

    .download-page .store-links {
        gap: 6px;
        margin-top: 10px;
    }

    .download-page .store-button {
        min-height: 48px;
    }

    .download-badge {
        margin-top: 8px;
    }

    .download-badge .status-badge {
        min-height: 32px;
        padding-block: 4px;
        font-size: 13px;
    }

    .site-footer--compact {
        padding-top: 6px;
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }

    .site-footer--compact .social-links a {
        width: 40px;
        height: 40px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
