/* The About page keeps its own light palette, matched to its illustrations, in every theme. */
.about-page {
    --about-canvas: #fefcfa;
    --about-ink: #15123a;
    --about-soft: #55536e;
    --about-violet: #4a35dc;
    --about-violet-deep: #3a28b8;
    --about-line: #e7e4f2;
    --about-green: #8fe03a;

    /* The shared plan cards read these theme colors, so they are fixed here too. */
    --surface: #fff;
    --ink: var(--about-ink);
    --ink-soft: var(--about-soft);
    --line: var(--about-line);
    --link: var(--about-violet);
    --enamel: var(--about-violet);
    --enamel-deep: var(--about-violet-deep);

    background: var(--about-canvas);
    border-radius: var(--radius);
    color: var(--about-ink);
    margin-block: -8px;
    overflow: hidden;
}

.about-page a {
    color: inherit;
    text-decoration: none;
}

.about-page h1, .about-page h2, .about-page h3 {
    color: var(--about-ink);
    margin: 0;
}

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

.about-hero {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.about-hero-text {
    padding: 40px 36px;
}

.about-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    font-weight: 700;
    line-height: 1.2;
}

.about-hero h1 span {
    color: var(--about-violet);
}

.about-hero-text > p {
    color: var(--about-soft);
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 16px 0 24px;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-btn {
    align-items: center;
    border-radius: 10px;
    display: inline-flex;
    font-weight: 600;
    gap: 10px;
    justify-content: center;
    min-height: 48px;
    padding: 10px 24px;
}

.about-page a.about-btn-primary {
    background: var(--about-violet);
    color: #fff;
}

.about-page a.about-btn-primary:hover {
    background: var(--about-violet-deep);
}

.about-page a.about-btn-outline {
    border: 1px solid var(--about-line);
    color: var(--about-violet);
}

.about-page a.about-btn-outline:hover {
    border-color: var(--about-violet);
}

.about-points {
    color: var(--about-soft);
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    gap: 8px;
    margin-top: 24px !important;
}

.about-points i {
    color: var(--about-violet);
    margin-inline-end: 6px;
}

.about-hero-image {
    display: block;
    height: auto;
    mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 88%, transparent);
    width: 100%;
}

.about-paths {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
    padding: 20px 24px 0;
    position: relative;
}

.about-path {
    align-items: stretch;
    border-radius: 22px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    overflow: hidden;
    transition: box-shadow 0.15s;
}

.about-path:hover {
    box-shadow: 0 6px 18px rgba(74, 53, 220, 0.16);
}

.about-path-skill {
    background: #f6eefe;
}

.about-path-seek {
    background: #ebfaf4;
}

.about-path > img {
    align-self: flex-end;
    flex: 0 0 auto;
    height: auto;
    mask-image: linear-gradient(to top, #000 92%, transparent);
    width: min(38%, 190px);
}

.about-path > div {
    padding: 20px 20px 18px;
}

.about-path h2 {
    font-size: 1.35rem;
}

.about-path h2 i {
    color: var(--about-violet);
}

.about-path-seek h2 i {
    color: var(--about-ink);
}

.about-path p {
    color: var(--about-soft);
    margin: 6px 0 12px;
}

.about-path ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.about-path li {
    background: #fff;
    border-radius: 999px;
    font-size: 0.85rem;
    padding: 4px 12px;
}

.about-link-mark {
    display: none;
}

.about-help {
    padding: 40px 24px 32px;
    text-align: center;
}

.about-help h2 {
    font-size: 1.9rem;
    font-weight: 700;
}

.about-help-lead {
    color: var(--about-soft);
    margin: 8px 0 24px;
}

.about-cards {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, 1fr);
    text-align: right;
}

.about-card {
    background: #fff;
    border: 1px solid var(--about-line);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    position: relative;
    transition: border-color 0.15s;
}

.about-card:hover {
    border-color: var(--about-violet);
}

.about-card img {
    align-self: center;
    height: 96px;
    object-fit: contain;
    width: auto;
}

.about-card > div {
    flex: 1;
}

.about-card h3 {
    font-size: 1.1rem;
}

.about-card h3 i {
    color: var(--about-violet);
}

.about-card p {
    color: var(--about-soft);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 6px 0 0;
}

.about-card-arrow {
    align-items: center;
    align-self: flex-end;
    background: #eeecfb;
    border-radius: 50%;
    color: var(--about-violet);
    display: inline-flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.about-plans {
    padding: 8px 24px 32px;
    text-align: center;
}

.about-plans h2 {
    font-size: 1.9rem;
    font-weight: 700;
}

.about-plans .plan-grid {
    text-align: right;
}

.about-page .about-plans .btn-plate {
    color: #fff;
}

.about-cta {
    align-items: center;
    background: linear-gradient(100deg, #a796ea 0%, #4741e1 45%, #4269f6 100%);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    justify-content: center;
    padding: 32px 24px;
}

.about-page .about-cta h2 {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
}

.about-cta p {
    margin: 6px 0 0;
    max-width: 58ch;
}

.about-page a.about-btn-whatsapp {
    background: var(--about-green);
    color: #15123a;
}

.about-page a.about-btn-whatsapp:hover {
    background: #a3ea5b;
}

@media (min-width: 1100px) {
    .about-paths {
        gap: 72px;
    }

    .about-link-mark {
        display: block;
        height: auto;
        inset-block-start: 50%;
        inset-inline-start: 50%;
        margin-top: 10px;
        mix-blend-mode: multiply;
        position: absolute;
        transform: translate(50%, -50%);
        width: 72px;
    }
}

@media (max-width: 991px) {
    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-hero-text {
        padding-bottom: 8px;
    }

    .about-paths {
        grid-template-columns: 1fr;
    }

    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .about-hero-text {
        padding: 28px 18px 8px;
    }

    .about-paths {
        padding-inline: 12px;
    }

    .about-help, .about-plans {
        padding-inline: 12px;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-path > img {
        width: 34%;
    }

    .about-cta {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-path, .about-card {
        transition: none;
    }
}

/* What each kind of visitor can do */
.about-features,
.about-trust {
    padding: 40px 24px 8px;
    text-align: center;
}

.about-features h2,
.about-trust h2 {
    font-size: 1.9rem;
    font-weight: 700;
}

.about-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-block: 16px 24px;
    padding: 4px;
    border: 1px solid var(--about-line);
    border-radius: 999px;
    background: #fff;
}

.about-tab {
    padding: 9px 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--about-soft);
    font-weight: 600;
}

.about-tab[aria-selected="true"] {
    background: var(--about-violet);
    color: #fff;
}

.about-tab:focus-visible {
    outline: 3px solid var(--about-green);
    outline-offset: 2px;
}

.about-feature-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    text-align: right;
}

.about-feature {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--about-line);
    border-radius: 16px;
    background: #fff;
}

.about-feature > i {
    color: var(--about-violet);
    font-size: 1.4rem;
}

.about-feature h3 {
    margin: 0;
    font-size: 1.05rem;
}

.about-feature p {
    margin: 6px 0 0;
    color: var(--about-soft);
    font-size: 0.92rem;
    line-height: 1.7;
}

.about-trust ul {
    display: grid;
    gap: 10px 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: var(--about-soft);
}

.about-trust i {
    color: var(--about-violet);
}

.about-legal {
    flex-basis: 100%;
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

.about-legal a {
    margin-inline: 8px;
    text-decoration: underline;
}
