
/* ==========================
   ABOUT PAGE — RESPONSIVE
========================== */

.about-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 430px;
    overflow: hidden;
    background: #fff;
    color: #0c1718;
}

.about-hero-image {
    position: absolute;
    inset: 0;
    background-image: url("../assets/tec.png");
    background-size: cover;
    background-position: center 48%;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, .96) 0%,
        rgba(255, 255, 255, .88) 42%,
        rgba(255, 255, 255, .15) 100%
    );
}

.about-hero-content {
    position: relative;
    z-index: 1;
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
    padding: 76px 0 86px;
}

.eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #0875f9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.light-eyebrow {
    color: #0875f9;
}

.about-hero-content h1 {
    max-width: 650px;
    margin: 0 0 20px;
    color: #050505;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -1.8px;
    overflow-wrap: break-word;
}

.about-hero-content > p {
    max-width: 480px;
    margin: 0 0 28px;
    color: #465365;
    font-size: 16px;
    line-height: 1.8;
}

.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    padding: 14px 21px;
    border: 0;
    border-radius: 8px;
    background: #0875f9;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.button-primary:hover {
    background: #0063dd;
    transform: translateY(-2px);
}

.hero-caption {
    position: absolute;
    right: max(24px, calc((100% - 1140px) / 2));
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #465365;
    font-size: 11px;
}

.caption-line {
    width: 25px;
    height: 2px;
    flex-shrink: 0;
    background: #0875f9;
}

/* Shared section layout */

.section-pad {
    padding: 88px max(24px, calc((100% - 1140px) / 2));
}

.section-intro h2,
.solutions-copy h2,
.partnership-copy h2,
.approach-heading h2 {
    margin: 0 0 20px;
    color: #101828;
    font-size: clamp(29px, 3.5vw, 40px);
    line-height: 1.18;
    letter-spacing: -1.1px;
    overflow-wrap: break-word;
}

.section-intro > p,
.solutions-copy > p,
.partnership-copy > p,
.approach-heading > p {
    color: #737d8c;
    font-size: 15px;
    line-height: 1.85;
}

.section-intro > p {
    max-width: 430px;
}

/* Challenge section */

.challenge-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 90px);
    background: #fff;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
}

.challenge-card {
    min-width: 0;
}

.challenge-card h3 {
    margin: 15px 0 8px;
    color: #101828;
    font-size: 15px;
    line-height: 1.45;
}

.challenge-card p {
    margin: 0;
    color: #737d8c;
    font-size: 13px;
    line-height: 1.7;
}

.feature-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 14px;
    font-size: 24px;
    font-weight: 700;
}

.blue-icon {
    background: #eaf3ff;
    color: #0875f9;
}

.purple-icon {
    background: #f1eaff;
    color: #8655ee;
}

.orange-icon {
    background: #fff0df;
    color: #e98221;
}

.green-icon {
    background: #e2f7ed;
    color: #15966a;
}

/* Solutions section */

.solutions-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(150px, .65fr);
    align-items: center;
    gap: clamp(20px, 3vw, 30px);
    background: #f5f8fd;
}

.solutions-copy,
.solutions-visual,
.solutions-facts {
    min-width: 0;
}

.solutions-visual {
    height: 270px;
    overflow: hidden;
    border-radius: 12px;
}

.solutions-visual img,
.partnership-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solutions-copy .button-primary {
    margin-top: 10px;
}

.solutions-facts {
    display: grid;
    gap: 22px;
    padding-left: 24px;
    border-left: 1px solid #d9e2ef;
}

.solutions-facts > span {
    color: #737d8c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.6;
}

.solutions-facts strong {
    color: #101828;
    font-size: 16px;
}

.solutions-facts p {
    margin: 6px 0 0;
    color: #737d8c;
    font-size: 12px;
    line-height: 1.6;
}

/* Partnership */

.partnership-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(30px, 5.5vw, 65px);
    background: #fff;
}

.partnership-image {
    min-width: 0;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

.partnership-copy {
    min-width: 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    color: #0875f9;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    color: #0056c9;
}

/* Four-step approach */

.approach-section {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr);
    align-items: start;
    gap: clamp(30px, 5.5vw, 70px);
    background: #f5f8fd;
}

.approach-heading,
.approach-steps {
    min-width: 0;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.approach-step {
    min-width: 0;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #e3efff;
    color: #0875f9;
    font-size: 12px;
    font-weight: 800;
}

.approach-step:nth-child(2) .step-number {
    background: #eee7ff;
    color: #8051e8;
}

.approach-step:nth-child(3) .step-number {
    background: #fff0df;
    color: #e98221;
}

.approach-step:nth-child(4) .step-number {
    background: #e1f6eb;
    color: #15966a;
}

.approach-step h3 {
    margin: 0 0 9px;
    color: #101828;
    font-size: 15px;
    line-height: 1.4;
}

.approach-step p {
    margin: 0;
    color: #737d8c;
    font-size: 12px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

/* Final CTA */

.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 65px max(24px, calc((100% - 1140px) / 2));
    background: #fdfdfd;
    color: #101828;
}

.about-cta > div {
    min-width: 0;
}

.about-cta h2 {
    margin: 0 0 13px;
    color: #101828;
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.2;
    letter-spacing: -1px;
    overflow-wrap: break-word;
}

.about-cta p {
    margin: 0;
    color: #737d8c;
    font-size: 14px;
    line-height: 1.7;
}

.cta-button {
    flex-shrink: 0;
}

/* ==========================
   LAPTOPS AND SMALL DESKTOPS
========================== */

@media (max-width: 1100px) {
    .section-pad {
        padding: 72px 32px;
    }

    .challenge-section {
        gap: 36px;
    }

    .solutions-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .solutions-visual {
        height: 300px;
    }

    .solutions-facts {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        padding: 24px 0 0;
        border-top: 1px solid #d9e2ef;
        border-left: 0;
    }

    .solutions-facts > span {
        grid-column: 1 / -1;
    }

    .approach-section {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .approach-steps {
        gap: 24px;
    }

    .about-cta {
        padding: 56px 32px;
    }
}

/* ==========================
   TABLETS
========================== */

@media (max-width: 768px) {
    .about-hero {
        min-height: 400px;
    }

    .about-hero-content {
        width: calc(100% - 40px);
        padding: 68px 0 82px;
    }

    .about-hero-overlay {
        background: rgba(255, 255, 255, .84);
    }

    .about-hero-content h1 {
        max-width: 580px;
        font-size: clamp(34px, 6vw, 46px);
        letter-spacing: -1.3px;
    }

    .about-hero-content > p {
        max-width: 500px;
        font-size: 15px;
    }

    .hero-caption {
        right: 20px;
        bottom: 18px;
        max-width: calc(100% - 40px);
        font-size: 10px;
    }

    .section-pad {
        padding: 64px 24px;
    }

    .challenge-section {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .section-intro > p {
        max-width: 600px;
    }

    .challenge-grid {
        gap: 28px 24px;
    }

    .solutions-section {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .solutions-copy {
        grid-column: 1 / -1;
    }

    .solutions-visual {
        height: 260px;
    }

    .solutions-facts {
        grid-column: auto;
        grid-template-columns: 1fr;
        align-content: center;
        padding: 0 0 0 20px;
        border-top: 0;
        border-left: 1px solid #d9e2ef;
    }

    .solutions-facts > span {
        grid-column: auto;
    }

    .partnership-section {
        gap: 28px;
    }

    .partnership-image {
        height: 260px;
    }

    .approach-section {
        gap: 30px;
    }

    .approach-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }

    .about-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
        padding: 52px 24px;
    }

    .cta-button {
        flex-shrink: 1;
    }
}

/* ==========================
   MOBILE PHONES
========================== */

@media (max-width: 540px) {
    .about-hero {
        min-height: 0;
    }

    .about-hero-image {
        background-position: 58% center;
    }

    .about-hero-overlay {
        background: rgba(255, 255, 255, .90);
    }

    .about-hero-content {
        width: calc(100% - 36px);
        padding: 60px 0 76px;
    }

    .eyebrow {
        margin-bottom: 14px;
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .about-hero-content h1 {
        margin-bottom: 17px;
        font-size: clamp(32px, 8.2vw, 42px);
        line-height: 1.12;
        letter-spacing: -1.2px;
    }

    .about-hero-content > p {
        margin-bottom: 23px;
        font-size: 14px;
        line-height: 1.75;
    }

    .button-primary {
        min-height: 46px;
        padding: 13px 16px;
        font-size: 12px;
    }

    .hero-caption {
        right: 18px;
        bottom: 16px;
        left: 18px;
        max-width: none;
        gap: 8px;
        font-size: 10px;
    }

    .caption-line {
        width: 20px;
    }

    .section-pad {
        padding: 52px 18px;
    }

    .section-intro h2,
    .solutions-copy h2,
    .partnership-copy h2,
    .approach-heading h2 {
        margin-bottom: 16px;
        font-size: clamp(27px, 7vw, 34px);
        line-height: 1.2;
        letter-spacing: -.8px;
    }

    .section-intro > p,
    .solutions-copy > p,
    .partnership-copy > p,
    .approach-heading > p {
        font-size: 14px;
        line-height: 1.8;
    }

    .challenge-section {
        gap: 30px;
    }

    .challenge-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .challenge-card {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        column-gap: 14px;
        align-items: start;
    }

    .challenge-card .feature-icon {
        grid-row: 1 / span 2;
    }

    .challenge-card h3 {
        margin: 2px 0 6px;
        font-size: 14px;
    }

    .challenge-card p {
        font-size: 13px;
    }

    .solutions-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .solutions-copy {
        grid-column: auto;
    }

    .solutions-visual {
        height: auto;
        aspect-ratio: 4 / 3;
        max-height: 300px;
    }

    .solutions-facts {
        grid-column: auto;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 22px 0 0;
        border-top: 1px solid #d9e2ef;
        border-left: 0;
    }

    .solutions-facts > span {
        grid-column: auto;
    }

    .solutions-facts strong {
        font-size: 15px;
    }

    .partnership-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .partnership-image {
        height: auto;
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }

    .partnership-copy {
        grid-row: 1;
    }

    .text-link {
        font-size: 13px;
        line-height: 1.6;
    }

    .approach-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .approach-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
    }

    .step-number {
        width: 39px;
        height: 39px;
        margin-bottom: 13px;
    }

    .approach-step h3 {
        font-size: 14px;
    }

    .approach-step p {
        font-size: 12px;
        line-height: 1.7;
    }

    .about-cta {
        padding: 46px 18px;
        gap: 22px;
    }

    .about-cta h2 {
        font-size: clamp(27px, 7vw, 34px);
        letter-spacing: -.7px;
    }

    .about-cta p {
        font-size: 13px;
    }
}

/* ==========================
   VERY SMALL PHONES
========================== */

@media (max-width: 360px) {
    .about-hero-content {
        width: calc(100% - 30px);
        padding: 48px 0 70px;
    }

    .about-hero-content h1 {
        font-size: 30px;
        letter-spacing: -.9px;
    }

    .section-pad {
        padding: 44px 15px;
    }

    .approach-steps {
        gap: 24px 14px;
    }

    .about-cta {
        padding: 42px 15px;
    }

    .button-primary {
        gap: 8px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .button-primary,
    .text-link {
        transition: none;
    }
}
