/* /about (task #1182, Figma 8001:5644 "About · Website style · v2"). Served as written (no rtlcss).
   It loads before the landing bundle, whose ".html-landing-view h1, h2" rule (black, weight 600) wins a tie,
   so the heading rules here carry an extra .about-page class. */

.about-page {
    --about-beige: #efebe8;
    --about-warm: #f3f1ef;
    --about-feature: #eff2f9;
    --about-mint: #bef9df;
    --about-ink: #0b0b0b;
    --about-text: #4a4a45;
    --about-label: #8f88ef;
    --about-lavender: #8d8df3;
    --about-green: #3bce8f;
    width: 100%;
    min-width: 320px;
    overflow: hidden;
    color: #000;
    background: #fff;
    direction: rtl;
    font-family: "Rubik", Arial, sans-serif;
}

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

.about-page h1,
.about-page h2,
.about-page h3,
.about-page p,
.about-page ul,
.about-page figure {
    margin: 0;
    padding: 0;
}

.about-page ul {
    list-style: none;
}

.about-page.about-page h2 {
    color: #000;
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
}

/* 01 · Hero */

.about-hero {
    position: relative;
    min-height: 938px;
    padding: 182px 24px 0;
    background: var(--about-beige);
    text-align: center;
}

.about-hero__art {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: max(100%, 1180px);
    max-width: 1920px;
    height: auto;
    aspect-ratio: 1920 / 880;
    transform: translateX(-50%);
    pointer-events: none;
}

.about-hero__copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.about-page .about-hero h1 {
    color: #000;
    font-size: 70px;
    font-weight: 700;
    line-height: 70px;
}

.about-hero__copy p {
    max-width: 660px;
    margin: 0 auto;
    color: #000;
    font-size: 20px;
    line-height: 27.9px;
}

.about-hero__copy h1 + p {
    margin-top: 38px;
}

.about-hero__copy p + p {
    margin-top: 27.9px;
}

/* The small dots ride their dashed orbit: each group turns around the orbits' centre (960, 880). */
.about-hero__orbit {
    transform-box: view-box;
    transform-origin: 960px 880px;
    animation: about-orbit 12s ease-in-out infinite alternate;
}

.about-hero__orbit--coral {
    --from: -18deg;
    --to: 10deg;
    animation-duration: 11s;
}

.about-hero__orbit--violet {
    --from: -3deg;
    --to: 26deg;
    animation-duration: 14s;
    animation-delay: -4s;
}

.about-hero__orbit--ink {
    --from: -16deg;
    --to: 14deg;
    animation-duration: 16s;
    animation-delay: -7s;
}

.about-hero__orbit--lilac {
    --from: -20deg;
    --to: 9deg;
    animation-duration: 10s;
    animation-delay: -2s;
}

@keyframes about-orbit {
    from {
        transform: rotate(var(--from, -10deg));
    }

    to {
        transform: rotate(var(--to, 10deg));
    }
}

/* 02 · Mission and founders */

.about-story {
    padding: 170px 24px 159px;
}

.about-mission {
    max-width: 924px;
    margin: 0 auto 169px !important;
    color: #000;
    font-size: 40px;
    font-weight: 500;
    line-height: 40px;
    text-align: center;
}

.about-founders {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1280px;
    margin: 40px auto 0;
}

.about-founder {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 40px;
    border-radius: 20px;
    background: var(--about-feature);
}

.about-founder__photo {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.about-founder__photo img {
    display: block;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: #deddf8;
    object-fit: cover;
}

.about-founder__photo figcaption {
    color: var(--about-text);
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
}

.about-founder__copy {
    flex: 1 1 0;
    min-width: 0;
    text-align: right;
}

.about-founder h3 {
    color: var(--about-ink);
    font-size: 26px;
    font-weight: 700;
    line-height: 32px;
}

.about-founder__role {
    margin-top: 6px !important;
    color: var(--about-label);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.about-founder__copy p:last-child {
    margin-top: 12px;
    color: var(--about-text);
    font-size: 18px;
    line-height: 27.9px;
}

/* 03 · Principles */

.about-principles {
    padding: 120px 24px;
    background: var(--about-warm);
}

.about-lead {
    margin-top: 16px !important;
    color: #000;
    font-size: 18px;
    line-height: 21.6px;
    text-align: center;
}

.about-principles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1280px;
    margin: 72px auto 0 !important;
}

.about-principle {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    min-height: 248px;
    padding: 32px;
    border-radius: 20px;
    background: var(--about-warm);
    text-align: right;
}

.about-principle__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
}

.about-principle h3 {
    color: var(--about-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
}

.about-principle p {
    margin-top: -10px;
    color: var(--about-text);
    font-size: 18px;
    line-height: 26px;
}

/* 05 · Model */

.about-model {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 24px;
    background: var(--about-mint);
}

.about-model__lead {
    margin-top: 28px !important;
    color: #000;
    font-size: 24px;
    line-height: 34px;
    text-align: center;
}

.about-model__points {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 52px 0 !important;
}

.about-model__points li {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 400px;
    padding: 26px 28px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(10, 10, 10, 0.06);
    color: var(--about-ink);
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    text-align: right;
}

.about-model__check {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--about-green);
}

/* Buttons */

.about-btn {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 12px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.about-btn:hover,
.about-btn:focus-visible {
    color: #fff;
    transform: translateY(-2px);
}

.about-btn:focus-visible {
    outline: 3px solid #000;
    outline-offset: 3px;
}

.about-btn--dark {
    padding: 8.5px 30px 9.5px;
    background: #333;
    font-size: 16px;
    line-height: 24px;
}

.about-btn--dark:hover {
    background: #000;
}

.about-btn--lavender {
    padding: 11px 22px 12px 20px;
    background: var(--about-lavender);
    font-size: 20px;
    line-height: 30px;
}

.about-btn--lavender:hover {
    background: #7676ea;
}

/* 06 · Closing */

.about-closing {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 132px 24px 104px;
    background: #333 url(/img/startnow-bg.svg) center / cover no-repeat;
    text-align: center;
}

.about-page .about-closing h2 {
    margin-bottom: 36px;
    color: #fff;
    font-size: 60px;
    line-height: 66px;
}

.about-closing p {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 24px;
}

/* Laptops */
@media (max-width: 1199.98px) {
    .about-model__points {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: min(100%, 520px);
    }

    .about-model__points li {
        width: auto;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .about-hero {
        min-height: 0;
        padding: 150px 24px calc(min(100vw, 1180px) * 0.36 + 40px);
    }

    .about-page .about-hero h1 {
        font-size: 56px;
        line-height: 1.05;
    }

    .about-story {
        padding: 96px 24px;
    }

    .about-mission {
        margin-bottom: 96px !important;
        font-size: 32px;
        line-height: 1.25;
    }

    .about-founders {
        grid-template-columns: 1fr;
        max-width: 640px;
    }

    .about-principles,
    .about-model {
        padding: 88px 24px;
    }

    .about-principles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 48px !important;
    }

    .about-page .about-closing h2 {
        font-size: 44px;
        line-height: 1.15;
    }
}

/* Phones */
@media (max-width: 575.98px) {
    .about-page.about-page h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .about-hero {
        padding: 120px 16px 230px;
    }

    .about-hero__art {
        width: 760px;
    }

    .about-page .about-hero h1 {
        font-size: 44px;
    }

    .about-hero__copy h1 + p {
        margin-top: 24px;
    }

    .about-hero__copy p {
        font-size: 17px;
        line-height: 1.55;
    }

    .about-hero__copy p + p {
        margin-top: 16px;
    }

    .about-story {
        padding: 72px 16px;
    }

    .about-mission {
        margin-bottom: 72px !important;
        font-size: 26px;
    }

    .about-founders {
        margin-top: 28px;
    }

    .about-founder {
        flex-direction: column;
        gap: 18px;
        padding: 28px 24px;
    }

    .about-founder__photo img {
        width: 88px;
        height: 88px;
    }

    .about-founder__copy p:last-child {
        font-size: 17px;
        line-height: 1.55;
    }

    .about-principles,
    .about-model {
        padding: 72px 16px;
    }

    .about-lead,
    .about-model__lead {
        font-size: 17px;
        line-height: 1.5;
    }

    .about-principles__grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 36px !important;
    }

    .about-principle {
        min-height: 0;
        padding: 24px;
        gap: 16px;
    }

    .about-principle__icon {
        width: 60px;
        height: 60px;
    }

    .about-principle__icon img {
        width: 44px;
        height: 44px;
    }

    .about-model__points {
        margin: 36px 0 !important;
    }

    .about-model__points li {
        padding: 20px;
        font-size: 17px;
    }

    .about-closing {
        padding: 96px 16px 80px;
    }

    .about-page .about-closing h2 {
        font-size: 32px;
    }

    .about-page .about-closing h2 br {
        display: none;
    }

    .about-btn--lavender {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero__orbit {
        animation: none;
    }

    .about-btn {
        transition: none;
    }
}
