:root {
    --ink: #17120f;
    --espresso: #2b211b;
    --brown: #5e4b3d;
    --taupe: #a78c73;
    --sand: #d9c8b9;
    --cream: #f7f2ec;
    --paper: #fffdf9;
    --muted: #74675e;
    --line: rgba(23, 18, 15, 0.13);
    --display: "Cormorant Garamond", Georgia, serif;
    --sans: "Jost", Arial, sans-serif;
    --arabic: "Almarai", Arial, sans-serif;
    --shadow: 0 28px 80px rgba(58, 42, 31, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--taupe);
    outline-offset: 5px;
}

.shell {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    transform: translateY(-150%);
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-size: 13px;
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    min-height: 94px;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.brand img,
.footer-brand img {
    width: auto;
    height: 48px;
    object-fit: contain;
}

.primary-nav,
.site-footer nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.7vw, 38px);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.primary-nav a,
.site-footer nav a,
.text-link {
    transition: color 180ms ease, opacity 180ms ease;
}

.primary-nav a:hover,
.site-footer nav a:hover,
.text-link:hover {
    color: var(--taupe);
}

.primary-nav .nav-cta {
    padding: 11px 17px;
    border: 1px solid var(--ink);
    border-radius: 999px;
}

.primary-nav .nav-cta:hover {
    background: var(--ink);
    color: var(--paper);
}

.language {
    color: var(--muted);
    font-family: var(--arabic);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(58px, 8vw, 112px) 0 clamp(78px, 10vw, 144px);
}

.hero::before {
    position: absolute;
    top: 0;
    right: -13vw;
    width: min(52vw, 760px);
    height: min(52vw, 760px);
    border: 1px solid rgba(167, 140, 115, 0.22);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
    align-items: center;
    gap: clamp(54px, 7vw, 104px);
}

.hero-copy {
    position: relative;
    z-index: 2;
    animation: rise-in 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--brown);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #bda58f;
}

.hero h1,
.experience h2,
.journey h2,
.download h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.hero h1 {
    font-size: clamp(64px, 7.4vw, 110px);
    line-height: 0.79;
}

.hero h1 em,
.experience h2 em,
.journey h2 em,
.download h2 em {
    color: var(--taupe);
    font-weight: 400;
}

.hero-lede {
    max-width: 48ch;
    margin: 40px 0 0;
    color: #4d4138;
    font-size: 17px;
    line-height: 1.75;
}

.hero-arabic {
    max-width: 38ch;
    margin: 16px 0 0;
    color: var(--muted);
    font-family: var(--arabic);
    font-size: 13px;
    line-height: 2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 23px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button svg,
.text-link svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.button-primary {
    background: var(--ink);
    color: var(--paper);
}

.button-primary:hover {
    background: var(--brown);
}

.button-secondary {
    border-color: rgba(23, 18, 15, 0.32);
}

.button-secondary:hover {
    border-color: var(--ink);
    background: rgba(255, 255, 255, 0.45);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 38px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-proof span::before {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--taupe);
    content: "";
}

.hero-visual {
    position: relative;
    z-index: 1;
    margin: 0;
    animation: rise-in 850ms 100ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-image-wrap {
    overflow: hidden;
    aspect-ratio: 1.08 / 1;
    border: 10px solid rgba(255, 253, 249, 0.52);
    border-radius: 36px 36px 130px 36px;
    box-shadow: var(--shadow);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-note {
    position: absolute;
    right: -24px;
    bottom: 38px;
    display: flex;
    min-width: 230px;
    align-items: center;
    gap: 17px;
    padding: 17px 20px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 18px;
    background: rgba(23, 18, 15, 0.91);
    box-shadow: 0 20px 50px rgba(23, 18, 15, 0.24);
    color: var(--paper);
    font-family: var(--display);
    font-size: 17px;
    line-height: 1.15;
    backdrop-filter: blur(12px);
}

.hero-note-number {
    align-self: stretch;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--sand);
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.hero-icon {
    position: absolute;
    top: -42px;
    left: -42px;
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
}

.hero-icon img {
    width: 82%;
    height: auto;
    border-radius: 20%;
}

.brand-ribbon {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.5);
}

.ribbon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.ribbon-grid article {
    display: flex;
    gap: 18px;
    padding: 30px clamp(22px, 3vw, 42px);
    border-right: 1px solid var(--line);
}

.ribbon-grid article:first-child {
    padding-left: 0;
}

.ribbon-grid article:last-child {
    padding-right: 0;
    border-right: 0;
}

.ribbon-grid article > span {
    color: var(--taupe);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.ribbon-grid h2 {
    margin: 0 0 7px;
    font-family: var(--display);
    font-size: 21px;
    font-weight: 600;
}

.ribbon-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.experience {
    position: relative;
    overflow: hidden;
    padding: clamp(86px, 11vw, 156px) 0;
    background: var(--ink);
    color: var(--paper);
}

.experience::before {
    position: absolute;
    top: -220px;
    left: 50%;
    width: 760px;
    height: 760px;
    border: 1px solid rgba(217, 200, 185, 0.11);
    border-radius: 50%;
    content: "";
    transform: translateX(-50%);
}

.experience-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
}

.experience h2,
.journey h2,
.download h2 {
    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.95;
}

.experience-heading > p {
    max-width: 36ch;
    margin: 0 0 5px;
    color: #c6b8ab;
    font-size: 15px;
    line-height: 1.8;
}

.app-stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(230px, 0.9fr) minmax(210px, 0.78fr) minmax(180px, 0.7fr);
    align-items: center;
    gap: clamp(24px, 3.5vw, 52px);
    margin-top: clamp(60px, 8vw, 108px);
}

.app-copy h3 {
    margin: 22px 0 15px;
    font-family: var(--display);
    font-size: clamp(27px, 2.7vw, 39px);
    font-weight: 500;
    line-height: 1;
}

.app-copy p {
    margin: 0;
    color: #ad9e91;
    font-size: 13px;
    line-height: 1.75;
}

.feature-index {
    color: #bda58f;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.app-copy-top {
    align-self: start;
    padding-top: 15%;
}

.app-copy-bottom {
    align-self: end;
    padding-bottom: 15%;
}

.phone {
    margin: 0;
}

.phone-frame {
    position: relative;
    overflow: hidden;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 34px;
    background: #090706;
    box-shadow: 0 38px 75px rgba(0, 0, 0, 0.38);
}

.phone-frame::after {
    position: absolute;
    top: 15px;
    left: 50%;
    width: 30%;
    height: 16px;
    border-radius: 999px;
    background: #080605;
    content: "";
    transform: translateX(-50%);
}

.phone img {
    width: 100%;
    height: auto;
    border-radius: 27px;
}

.phone-secondary {
    transform: translateY(54px);
}

.phone figcaption {
    margin: 22px 8px 0;
    color: #9f9084;
    font-size: 10px;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-align: center;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
    color: var(--sand);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.journey {
    padding: clamp(86px, 11vw, 150px) 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: clamp(50px, 7vw, 88px);
}

.journey-card {
    position: relative;
    min-height: 340px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 253, 249, 0.52);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(58, 42, 31, 0.09);
}

.journey-card-featured {
    background: var(--sand);
}

.journey-number {
    position: absolute;
    top: 28px;
    right: 28px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
}

.journey-icon {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    border: 1px solid rgba(23, 18, 15, 0.18);
    border-radius: 50%;
}

.journey-icon svg {
    width: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4;
}

.journey-card h3 {
    margin: 86px 0 12px;
    font-family: var(--display);
    font-size: 29px;
    font-weight: 600;
}

.journey-card p {
    max-width: 34ch;
    margin: 0;
    color: #5d5047;
    font-size: 13px;
    line-height: 1.7;
}

.download {
    padding: 0 0 clamp(80px, 10vw, 136px);
}

.download-card {
    position: relative;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: center;
    gap: 45px;
    overflow: hidden;
    padding: clamp(45px, 6vw, 78px);
    border-radius: 38px;
    background: var(--espresso);
    color: var(--paper);
}

.download-card::before {
    position: absolute;
    right: -90px;
    bottom: -210px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
}

.download-icon {
    display: grid;
    width: 110px;
    height: 110px;
    place-items: center;
}

.download-icon img {
    width: 82%;
    height: auto;
    border-radius: 20%;
}

.download-copy,
.store-links {
    position: relative;
    z-index: 1;
}

.download h2 {
    font-size: clamp(43px, 5vw, 68px);
}

.download-copy > p:last-child {
    margin: 20px 0 0;
    color: #bba99a;
    font-family: var(--arabic);
    font-size: 13px;
}

.store-links {
    display: grid;
    min-width: 208px;
    gap: 10px;
}

.store-link {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 13px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    background: var(--cream);
    color: var(--ink);
    transition: background 180ms ease, transform 180ms ease;
}

.store-link:hover {
    background: var(--sand);
    transform: translateY(-2px);
}

.store-link svg {
    width: 27px;
    flex: 0 0 27px;
    fill: currentColor;
}

.store-link span {
    display: grid;
    line-height: 1;
}

.store-link small {
    font-size: 9px;
    letter-spacing: 0.04em;
}

.store-link strong {
    margin-top: 5px;
    font-size: 17px;
    font-weight: 500;
}

.button-cream {
    background: var(--cream);
    color: var(--ink);
}

.button-cream:hover {
    background: var(--sand);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 45px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 24px 54px;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.site-footer nav {
    font-size: 9px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-social a:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.site-footer .copyright {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
        gap: 52px;
    }

    .hero h1 {
        font-size: clamp(60px, 8vw, 86px);
    }

    .app-stage {
        grid-template-columns: minmax(160px, 0.65fr) minmax(220px, 0.9fr) minmax(200px, 0.78fr);
    }

    .app-copy-bottom {
        grid-column: 1 / -1;
        max-width: 440px;
        padding: 30px 0 0;
    }

    .download-card {
        grid-template-columns: 90px minmax(0, 1fr) auto;
        gap: 28px;
    }

    .download-icon {
        width: 84px;
        height: 84px;
    }
}

@media (max-width: 820px) {
    .shell {
        width: min(100% - 36px, 680px);
    }

    .header-inner {
        min-height: 80px;
    }

    .brand img,
    .footer-brand img {
        height: 39px;
    }

    .primary-nav > a:not(.nav-cta),
    .language {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 610px;
    }

    .hero-visual {
        width: min(92%, 620px);
        margin: 24px auto 0;
    }

    .hero-icon {
        left: -24px;
    }

    .ribbon-grid {
        grid-template-columns: 1fr;
    }

    .ribbon-grid article,
    .ribbon-grid article:first-child,
    .ribbon-grid article:last-child {
        padding: 23px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .ribbon-grid article:last-child {
        border-bottom: 0;
    }

    .experience-heading,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .app-stage {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        align-items: start;
        gap: 22px;
    }

    .app-copy-top {
        grid-column: 1 / -1;
        max-width: 420px;
        padding: 0;
    }

    .phone-secondary {
        margin-top: 80px;
        transform: none;
    }

    .journey-grid {
        grid-template-columns: 1fr;
    }

    .journey-card {
        min-height: 300px;
    }

    .download-card {
        grid-template-columns: 1fr;
    }

    .download-icon {
        position: absolute;
        top: 34px;
        right: 34px;
        opacity: 0.4;
    }

    .store-links {
        justify-self: start;
    }

    .footer-social {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: 1fr auto;
    }

    .footer-grid > p:not(.copyright) {
        display: none;
    }
}

@media (max-width: 540px) {
    .shell {
        width: min(100% - 28px, 480px);
    }

    .header-inner {
        min-height: 72px;
    }

    .brand img {
        height: 32px;
    }

    .primary-nav .nav-cta {
        padding: 9px 13px;
        font-size: 9px;
    }

    .hero {
        padding-top: 48px;
    }

    .hero h1 {
        font-size: clamp(55px, 18vw, 77px);
        line-height: 0.84;
    }

    .hero-lede {
        margin-top: 30px;
        font-size: 15px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-proof {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-visual {
        width: 100%;
        margin-top: 16px;
    }

    .hero-image-wrap {
        aspect-ratio: 0.95 / 1;
        border-width: 6px;
        border-radius: 24px 24px 82px 24px;
    }

    .hero-note {
        right: 10px;
        bottom: 18px;
        min-width: 205px;
        padding: 14px 16px;
    }

    .hero-icon {
        top: -25px;
        left: -5px;
        width: 82px;
        height: 82px;
    }

    .experience h2,
    .journey h2,
    .download h2 {
        font-size: clamp(43px, 14vw, 60px);
    }

    .app-stage {
        grid-template-columns: 1fr 0.88fr;
        gap: 12px;
    }

    .phone-frame {
        padding: 5px;
        border-radius: 23px;
    }

    .phone img {
        border-radius: 18px;
    }

    .phone-frame::after {
        top: 10px;
        height: 10px;
    }

    .phone figcaption {
        display: none;
    }

    .phone-secondary {
        margin-top: 62px;
    }

    .journey-card {
        min-height: 280px;
        padding: 24px;
    }

    .journey-card h3 {
        margin-top: 66px;
    }

    .download-card {
        width: calc(100% - 28px);
        padding: 38px 24px;
        border-radius: 25px;
    }

    .download-icon {
        top: 24px;
        right: 24px;
        width: 62px;
        height: 62px;
    }

    .store-links {
        min-width: 0;
        justify-self: stretch;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
