/**
 * About page — hero, sections, value cards, feature list, CTA.
 * Uses site palette: #16AE94 accent, #0E1019 / #f1f2f8 text.
 */

.about-page {
    --ab-radius: 16px;
    --ab-radius-sm: 12px;
    --ab-accent: #16ae94;
    --ab-accent-soft: rgba(22, 174, 148, 0.12);
    --ab-muted: #707488;
    --ab-shadow: 0 10px 40px rgba(14, 16, 25, 0.08);
    padding-bottom: max(3rem, env(safe-area-inset-bottom, 0px));
    padding-inline-start: env(safe-area-inset-left, 0px);
    padding-inline-end: env(safe-area-inset-right, 0px);
}

html.dark .about-page {
    --ab-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.about-page .container {
    max-width: 1040px;
}

/* --- Hero --- */
.about-hero {
    position: relative;
    border-radius: var(--ab-radius);
    overflow: hidden;
    padding: 2.25rem 1.75rem;
    margin-bottom: 2rem;
    border: 1px solid transparent;
    box-shadow: var(--ab-shadow);
}

html.light .about-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 55%, #eef6f4 100%);
    border-color: rgba(227, 229, 240, 0.95);
}

html.dark .about-hero {
    background: linear-gradient(145deg, #1f2538 0%, #191d2d 50%, #131a24 100%);
    border-color: #303651;
}

.about-hero::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #16ae94, #5a83ff, #7c569a);
}

.about-hero__kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ab-accent);
    margin-bottom: 0.65rem;
}

html.dark .about-hero__kicker {
    color: #39dbbf;
}

.about-hero__title {
    font-size: clamp(1.45rem, 3.5vw, 2rem);
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 0.85rem;
    letter-spacing: -0.03em;
}

html.light .about-hero__title {
    color: #0e1019;
}

html.dark .about-hero__title {
    color: #f1f2f8;
}

.about-hero__lead {
    margin: 0;
    max-width: 38rem;
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 600;
    color: var(--ab-muted);
}

.about-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.35rem;
    padding: 0;
    list-style: none;
}

.about-hero__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    background: var(--ab-accent-soft);
    color: var(--ab-accent);
    border: 1px solid rgba(22, 174, 148, 0.22);
}

html.dark .about-hero__chip {
    color: #39dbbf;
    background: rgba(57, 219, 191, 0.1);
    border-color: rgba(57, 219, 191, 0.25);
}

/* --- Sections --- */
.about-section {
    margin-bottom: 2.25rem;
}

.about-section__title {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ab-accent);
    display: inline-block;
}

html.light .about-section__title {
    color: #0e1019;
}

html.dark .about-section__title {
    color: #f1f2f8;
}

.about-section__highlight {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
}

html.light .about-section__highlight {
    color: #0e1019;
}

html.dark .about-section__highlight {
    color: #fff;
}

.about-section__body {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.75;
    font-weight: 600;
}

html.light .about-section__body {
    color: #3b4054;
}

html.dark .about-section__body {
    color: #c9cdd8;
}

/* --- Value cards --- */
.about-values__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .about-values__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.1rem;
    }
}

.about-value-card {
    border-radius: var(--ab-radius-sm);
    padding: 1.25rem 1.2rem;
    border: 1px solid transparent;
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

html.light .about-value-card {
    background: #ffffff;
    border-color: #e3e5f0;
    box-shadow: 0 4px 20px rgba(14, 16, 25, 0.04);
}

html.dark .about-value-card {
    background: #191d2d;
    border-color: #303651;
}

.about-value-card:hover {
    border-color: rgba(22, 174, 148, 0.45);
}

.about-value-card__num {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--ab-muted);
    margin-bottom: 0.35rem;
}

.about-value-card__title {
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 0.5rem;
    color: var(--ab-accent);
}

html.dark .about-value-card__title {
    color: #39dbbf;
}

.about-value-card__text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    font-weight: 600;
    color: var(--ab-muted);
}

html.dark .about-value-card__text {
    color: #a8adbd;
}

/* --- Features --- */
.about-features__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

@media (min-width: 576px) {
    .about-features__list {
        grid-template-columns: 1fr 1fr;
    }
}

.about-features__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: var(--ab-radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
}

html.light .about-features__item {
    background: #f8f9fc;
    border: 1px solid #e3e5f0;
    color: #0e1019;
}

html.dark .about-features__item {
    background: #131521;
    border: 1px solid #303651;
    color: #e3e5f0;
}

.about-features__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ab-accent);
    color: #fff;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

html.dark .about-features__icon {
    background: #39dbbf;
    color: #131521;
}

/* --- Closing + CTA --- */
.about-closing {
    font-size: 0.95rem;
    line-height: 1.75;
    font-weight: 700;
    margin: 0 0 2rem;
    padding: 1.25rem 1.35rem;
    border-radius: var(--ab-radius-sm);
    border-inline-start: 4px solid var(--ab-accent);
}

html.light .about-closing {
    background: rgba(22, 174, 148, 0.08);
    color: #0e1019;
}

html.dark .about-closing {
    background: rgba(57, 219, 191, 0.08);
    color: #e3e5f0;
    border-inline-start-color: #39dbbf;
}

.about-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.75rem 1.5rem;
    border-radius: var(--ab-radius);
    background: linear-gradient(120deg, rgba(22, 174, 148, 0.15) 0%, rgba(90, 131, 255, 0.12) 100%);
    border: 1px solid rgba(22, 174, 148, 0.25);
}

@media (min-width: 576px) {
    .about-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.about-cta__text h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 900;
}

html.light .about-cta__text h3 {
    color: #0e1019;
}

html.dark .about-cta__text h3 {
    color: #f1f2f8;
}

.about-cta__text p {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ab-muted);
    max-width: 26rem;
}

.about-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-weight: 900;
    font-size: 0.9rem;
    white-space: nowrap;
    background: var(--ab-accent);
    color: #fff !important;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    text-decoration: none !important;
}

.about-cta__btn:hover {
    background: #12a082;
    color: #fff !important;
    transform: translateY(-1px);
}

html.dark .about-cta__btn {
    background: #39dbbf;
    color: #131521 !important;
}

html.dark .about-cta__btn:hover {
    background: #2ed4b5;
    color: #131521 !important;
}

/* -------------------------------------------------------------------------
   Responsive — mobile & small tablets (safe areas, touch targets, no overflow)
   ------------------------------------------------------------------------- */

@media (max-width: 767.98px) {
    .about-page .container {
        max-width: 100%;
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
    }

    .about-page {
        padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
    }
    .about-hero {
        padding: 1.5rem 1.1rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }

    .about-hero__title {
        font-size: clamp(1.25rem, 5.2vw, 1.65rem);
    }

    .about-hero__lead {
        font-size: 0.92rem;
    }

    .about-hero__chip {
        font-size: 0.74rem;
        padding: 0.45rem 0.75rem;
    }

    .about-section {
        margin-bottom: 1.75rem;
    }

    .about-section__title {
        font-size: 1rem;
        max-width: 100%;
    }

    .about-value-card {
        padding: 1.1rem 1rem;
    }

    .about-features__item {
        padding: 0.95rem 0.85rem;
        font-size: 0.86rem;
    }

    .about-features__icon {
        width: 26px;
        height: 26px;
        min-width: 26px;
        min-height: 26px;
    }

    .about-closing {
        padding: 1rem 1rem;
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }

    .about-cta {
        padding: 1.35rem 1.1rem;
        gap: 1.1rem;
    }

    .about-cta__btn {
        width: 100%;
        min-height: 48px;
        padding: 0.75rem 1rem;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
}

@media (hover: hover) and (pointer: fine) {
    .about-value-card:hover {
        transform: translateY(-2px);
    }
}

@media (hover: none) {
    .about-value-card:hover {
        transform: none;
    }
}
