:root {
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    --ink: #101820;
    --muted: #5d6973;
    --line: #dbe1e5;
    --paper: #ffffff;
    --soft: #f3f6f7;
    --cyan: #00a9b9;
    --cyan-dark: #006e79;
    --yellow: #f3c544;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--cyan-dark);
    text-underline-offset: 0.22em;
}

a:hover {
    color: var(--ink);
}

.site-header,
.site-footer,
.intro,
.apps-section,
.legal-page {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 750;
    text-decoration: none;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: white;
    font-size: 1.1rem;
    line-height: 1;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

nav a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 650;
    text-decoration: none;
}

nav a[aria-current="page"] {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--cyan);
    text-decoration-thickness: 3px;
}

.intro {
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 64px;
    align-items: end;
    padding-block: 88px 72px;
}

.intro-copy {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--cyan-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: 0;
    line-height: 1.08;
}

h1 {
    font-size: clamp(3.2rem, 8vw, 6.8rem);
    font-weight: 820;
}

.lede {
    max-width: 650px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 1.3rem;
    line-height: 1.55;
}

.intro-arabic {
    margin: 0;
    padding: 22px 0 6px 24px;
    border-left: 5px solid var(--yellow);
    color: var(--muted);
    font-size: 1.05rem;
}

.apps-section {
    padding-block: 72px 96px;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.app-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    min-height: 620px;
    background: var(--ink);
    color: white;
    overflow: hidden;
}

.app-details {
    display: grid;
    align-content: center;
    grid-template-columns: auto 1fr;
    gap: 30px 24px;
    padding: clamp(34px, 6vw, 76px);
}

.app-icon {
    width: 112px;
    height: 112px;
    border-radius: 22px;
}

.app-status {
    margin: 6px 0 8px;
    color: #8fd9df;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.app-details h3 {
    font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.app-description,
.feature-list,
.app-actions {
    grid-column: 1 / -1;
}

.app-description {
    max-width: 610px;
    margin: 0;
    color: #d1dade;
    font-size: 1.18rem;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    background: var(--yellow);
}

.app-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.app-actions a {
    color: white;
    font-weight: 700;
}

.store-note {
    padding: 10px 14px;
    border: 1px solid #52616c;
    color: #d9e1e5;
    font-size: 0.9rem;
    font-weight: 700;
}

.product-visual {
    position: relative;
    min-height: 620px;
    margin: 0;
    overflow: hidden;
    background: var(--soft);
}

.product-visual img {
    position: absolute;
    width: 74%;
    max-width: 390px;
    height: auto;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 28px 70px rgba(8, 17, 24, 0.22);
}

.future-slot {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 26px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.future-slot p {
    margin: 0;
}

.future-slot .eyebrow {
    min-width: 80px;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 32px;
    padding-block: 34px 46px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer p {
    margin: 4px 0 0;
}

.copyright {
    font-size: 0.9rem;
}

.legal-page {
    max-width: 780px;
    padding-block: 72px 88px;
}

.legal-page h1 {
    margin-bottom: 36px;
    font-size: clamp(2.6rem, 7vw, 4.8rem);
}

.legal-page h2 {
    margin: 38px 0 10px;
    font-size: 1.35rem;
}

.legal-page p,
.legal-page li {
    max-width: 68ch;
}

.arabic {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 4px solid var(--yellow);
    direction: rtl;
    text-align: right;
}

.legal-footer {
    max-width: 780px;
    grid-template-columns: 1fr auto;
}

@media (max-width: 760px) {
    .site-header,
    .site-footer,
    .intro,
    .apps-section,
    .legal-page {
        width: min(100% - 32px, 1180px);
    }

    .site-header {
        min-height: 74px;
    }

    .site-header nav {
        gap: 14px;
    }

    .intro {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 38px;
        padding-block: 64px 54px;
    }

    h1 {
        font-size: clamp(3rem, 17vw, 4.8rem);
    }

    .intro-arabic {
        max-width: 360px;
    }

    .apps-section {
        padding-block: 54px 72px;
    }

    .app-feature {
        grid-template-columns: 1fr;
    }

    .app-details {
        grid-template-columns: 76px 1fr;
        gap: 24px 18px;
        padding: 30px 24px 40px;
    }

    .app-icon {
        width: 76px;
        height: 76px;
        border-radius: 17px;
    }

    .app-details h3 {
        font-size: 2rem;
    }

    .product-visual {
        min-height: 520px;
    }

    .product-visual img {
        top: 36px;
        width: min(72%, 330px);
    }

    .site-footer {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 460px) {
    .brand span:last-child {
        display: none;
    }

    nav {
        gap: 16px;
    }

    .lede {
        font-size: 1.12rem;
    }
}

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