
/* =====================================================
   PRIMEPROBLEM — ABOUT PAGE
   File: /assets/css/about.css
   ===================================================== */

.about-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #10172a;
    isolation: isolate;
}

.about-hero-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
        radial-gradient(ellipse at 78% 40%, rgb(84 91 255 / 18%), transparent 40%);
    background-size: 44px 44px, 44px 44px, auto;
    mask-image: linear-gradient(to bottom, black, transparent 96%);
}

.about-hero-layout {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 60px;
    min-height: 570px;
    padding-top: 75px;
    padding-bottom: 78px;
}

.about-hero-copy {
    max-width: 610px;
}

.about-eyebrow {
    color: #aab7ff;
}

.about-hero-copy h1 {
    margin: 22px 0;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(39px, 5.1vw, 65px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2.8px;
}

.about-hero-copy .gradient-text {
    background: linear-gradient(100deg, #8da7ff, #c1a6ff 60%, #7de5d1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero-copy > p {
    max-width: 540px;
    color: #b8c1d5;
    font-size: 15px;
    line-height: 1.9;
}

.about-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 23px;
    margin-top: 30px;
}

.about-hero-actions .button {
    gap: 10px;
}

.about-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e0e6f5;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.about-text-link:hover {
    color: #aebdff;
}

.about-trust-line {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 31px;
    color: #aab6cc;
    font-size: 11px;
}

.about-trust-line .icon {
    width: 17px;
    color: #75e2b1;
}

.about-hero-visual {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 400px;
    place-items: center;
}

.about-visual-orbit {
    position: absolute;
    border: 1px solid rgb(153 169 255 / 14%);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-a {
    width: 390px;
    height: 390px;
}

.orbit-b {
    width: 300px;
    height: 300px;
}

.about-code-card {
    z-index: 1;
    width: min(100%, 390px);
    overflow: hidden;
    background: #151e32;
    border: 1px solid rgb(192 205 255 / 18%);
    border-radius: 17px;
    box-shadow: 0 28px 80px rgb(0 0 0 / 32%);
    transform: rotate(-2deg);
}

.about-code-header,
.about-code-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    color: #aab6cf;
    background: rgb(255 255 255 / 3%);
    font-size: 10px;
}

.about-code-header {
    border-bottom: 1px solid rgb(255 255 255 / 7%);
}

.about-window-dots {
    display: flex;
    gap: 5px;
}

.about-window-dots i {
    width: 8px;
    height: 8px;
    background: #ff777d;
    border-radius: 50%;
}

.about-window-dots i:nth-child(2) {
    background: #ffcb70;
}

.about-window-dots i:nth-child(3) {
    background: #62d7a1;
}

.about-code-content {
    display: grid;
    gap: 14px;
    padding: 25px 17px;
    color: #e0e7fa;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 11px;
    line-height: 1.6;
}

.about-line-no {
    display: inline-block;
    width: 27px;
    color: #68758f;
}

.about-purple { color: #c3a3ff; }
.about-blue { color: #8abaff; }
.about-orange { color: #ffc27a; }
.about-green { color: #78e0bb; }

.about-code-output {
    margin-top: 9px;
    padding: 12px;
    color: #9edec6;
    background: rgb(89 203 164 / 8%);
    border: 1px solid rgb(89 203 164 / 12%);
    border-radius: 8px;
    font-size: 10px;
}

.about-code-output > span {
    margin-right: 6px;
    color: #6ce3b1;
}

.about-code-footer {
    justify-content: flex-start;
    border-top: 1px solid rgb(255 255 255 / 7%);
}

.about-code-footer .icon {
    width: 15px;
    color: #75e2b1;
}

.about-floating-label {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    color: #e8edff;
    background: #202a42;
    border: 1px solid rgb(202 214 255 / 17%);
    border-radius: 11px;
    box-shadow: 0 12px 32px rgb(0 0 0 / 20%);
    font-size: 10px;
    font-weight: 700;
}

.about-floating-label .icon {
    width: 17px;
    color: #a7b6ff;
}

.about-label-top {
    top: 35px;
    right: -5px;
}

.about-label-bottom {
    bottom: 34px;
    left: -10px;
}

/* Intro */

.about-intro {
    padding-top: 100px;
    padding-bottom: 95px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.about-intro h2,
.about-resources h2,
.about-faq h2 {
    margin: 13px 0 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    letter-spacing: -1.7px;
}

.about-intro-copy {
    display: grid;
    gap: 15px;
}

.about-intro-copy p,
.about-resources-copy > p,
.about-faq-layout > div:first-child > p {
    margin: 0;
    color: #657187;
    font-size: 14px;
    line-height: 1.95;
}

/* Purpose cards */

.about-purpose {
    padding-top: 90px;
    padding-bottom: 100px;
    background: #f7f9fd;
}

.about-purpose .section-heading {
    margin-bottom: 34px;
}

.about-purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.about-purpose-card {
    padding: 28px 25px;
    background: #fff;
    border: 1px solid #e7ebf3;
    border-radius: 17px;
    box-shadow: 0 5px 20px rgb(26 42 79 / 3%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.about-purpose-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgb(26 42 79 / 8%);
}

.about-purpose-icon {
    display: grid;
    width: 49px;
    height: 49px;
    margin-bottom: 25px;
    place-items: center;
    border-radius: 14px;
}

.about-purpose-icon .icon {
    width: 23px;
    height: 23px;
}

.purpose-blue { color: #385de0; background: #edf1ff; }
.purpose-purple { color: #8755d9; background: #f3edff; }
.purpose-green { color: #13845b; background: #e8f9f0; }

.about-card-kicker {
    color: #77839a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.about-purpose-card h3 {
    margin: 10px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 19px;
    line-height: 1.4;
    letter-spacing: -.45px;
}

.about-purpose-card p {
    margin: 0;
    color: #707b90;
    font-size: 12px;
    line-height: 1.9;
}

/* Resources */

.about-resources {
    padding-top: 105px;
    padding-bottom: 105px;
}

.about-resources-layout {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: start;
    gap: 75px;
}

.about-resources-copy > p {
    margin-top: 18px;
}

.about-resources-copy .button {
    margin-top: 25px;
}

.about-resource-list {
    display: grid;
}

.about-resource {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 17px;
    padding: 22px 0;
    border-bottom: 1px solid #e9edf4;
}

.about-resource:first-child {
    padding-top: 0;
}

.about-resource:last-child {
    border-bottom: 0;
}

.about-resource-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 13px;
}

.about-resource-icon .icon {
    width: 22px;
    height: 22px;
}

.resource-blue { color: #3458db; background: #edf1ff; }
.resource-purple { color: #8250d6; background: #f2ecff; }
.resource-green { color: #13845b; background: #e8f9f0; }
.resource-orange { color: #ad6a12; background: #fff3e1; }

.about-resource h3 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 750;
}

.about-resource p {
    margin: 0;
    color: #7b8598;
    font-size: 11px;
    line-height: 1.8;
}

.about-resource > a {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #596a8c;
    background: #f3f5fa;
    border-radius: 9px;
    text-decoration: none;
}

.about-resource > a:hover {
    color: #3458db;
    background: #edf1ff;
}

/* Learning principles */

.about-principles {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #10172a;
}

.about-principles::before {
    position: absolute;
    top: -150px;
    right: -120px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgb(94 100 255 / 17%), transparent 70%);
    content: "";
    pointer-events: none;
}

.about-principles-heading {
    position: relative;
    max-width: 650px;
    margin-bottom: 45px;
}

.about-principles-heading h2 {
    margin: 14px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(31px, 4vw, 45px);
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.about-principles-heading h2 span {
    color: #a8b6ff;
}

.about-principles-heading > p {
    color: #b5bfd3;
    font-size: 13px;
    line-height: 1.9;
}

.about-principles-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-principles-grid article {
    position: relative;
    padding: 25px;
    background: rgb(255 255 255 / 4%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 15px;
}

.principle-number {
    position: absolute;
    top: 22px;
    right: 22px;
    color: #75829f;
    font-family: "Space Grotesk", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.principle-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    place-items: center;
    color: #b7c3ff;
    background: rgb(132 151 255 / 12%);
    border-radius: 13px;
}

.principle-icon .icon {
    width: 23px;
    height: 23px;
}

.about-principles-grid h3 {
    margin: 0 0 10px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
}

.about-principles-grid p {
    margin: 0;
    color: #b5bfd3;
    font-size: 12px;
    line-height: 1.85;
}

/* FAQ */

.about-faq {
    padding-top: 100px;
    padding-bottom: 100px;
}

.about-faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
    gap: 75px;
}

.about-faq-layout > div:first-child > p {
    margin-top: 17px;
}

.about-faq-layout .text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 25px;
    color: #3458db;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.about-faq-list {
    border-top: 1px solid #e8ecf3;
}

.about-faq-list .faq-item {
    border-bottom: 1px solid #e8ecf3;
}

.about-faq-list .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 21px 0;
    color: #1d2940;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.6;
    cursor: pointer;
    list-style: none;
}

.about-faq-list .faq-item summary::-webkit-details-marker {
    display: none;
}

.about-faq-list .faq-plus {
    position: relative;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    background: #f0f3fa;
    border-radius: 50%;
}

.about-faq-list .faq-plus::before,
.about-faq-list .faq-plus::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    background: #43516d;
    content: "";
    transform: translate(-50%, -50%);
}

.about-faq-list .faq-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.about-faq-list details[open] .faq-plus::after {
    display: none;
}

.about-faq-list .faq-item > p {
    margin: -3px 35px 21px 0;
    color: #737f94;
    font-size: 12px;
    line-height: 1.9;
}

/* CTA */

.about-cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(115deg, #273f9b, #4936a6 60%, #263a83);
}

.about-cta-inner {
    position: relative;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding-top: 55px;
    padding-bottom: 55px;
}

.about-cta-icon {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    color: #fff;
    background: rgb(255 255 255 / 12%);
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 17px;
}

.about-cta-icon .icon {
    width: 28px;
    height: 28px;
}

.about-cta-copy h2 {
    margin: 9px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(22px, 3vw, 31px);
    letter-spacing: -.8px;
}

.about-cta-copy p {
    margin: 0;
    color: #d5dcff;
    font-size: 12px;
    line-height: 1.8;
}

.about-cta .button {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

/* Responsive */

@media (max-width: 1050px) {
    .about-hero-layout {
        gap: 35px;
    }

    .about-hero-copy h1 {
        font-size: clamp(39px, 5vw, 55px);
    }

    .about-visual-orbit.orbit-a {
        width: 330px;
        height: 330px;
    }

    .about-visual-orbit.orbit-b {
        width: 260px;
        height: 260px;
    }

    .about-intro-grid,
    .about-resources-layout,
    .about-faq-layout {
        gap: 45px;
    }
}

@media (max-width: 760px) {
    .about-hero-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 62px;
        padding-bottom: 65px;
    }

    .about-hero-copy {
        max-width: 620px;
    }

    .about-hero-copy h1 {
        max-width: 600px;
        font-size: clamp(39px, 9vw, 58px);
        letter-spacing: -2px;
    }

    .about-hero-copy > p {
        font-size: 14px;
    }

    .about-hero-visual {
        min-height: 370px;
        margin-top: 8px;
    }

    .about-code-card {
        width: min(90%, 390px);
    }

    .about-label-top {
        right: 0;
    }

    .about-label-bottom {
        left: 0;
    }

    .about-intro-grid,
    .about-resources-layout,
    .about-faq-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-purpose-grid,
    .about-principles-grid {
        grid-template-columns: 1fr;
    }

    .about-purpose-card {
        padding: 25px;
    }

    .about-cta-inner {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 18px;
    }

    .about-cta-icon {
        width: 52px;
        height: 52px;
    }

    .about-cta .button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-hero-layout {
        padding-top: 45px;
        padding-bottom: 48px;
    }

    .about-hero-copy h1 {
        font-size: 39px;
        letter-spacing: -1.7px;
    }

    .about-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .about-hero-visual {
        min-height: 310px;
    }

    .about-visual-orbit.orbit-a {
        width: 285px;
        height: 285px;
    }

    .about-visual-orbit.orbit-b {
        width: 220px;
        height: 220px;
    }

    .about-code-content {
        gap: 12px;
        padding: 20px 12px;
        font-size: 9px;
    }

    .about-floating-label {
        padding: 10px;
        font-size: 9px;
    }

    .about-label-top {
        top: 10px;
    }

    .about-label-bottom {
        bottom: 8px;
    }

    .about-intro,
    .about-resources,
    .about-faq {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .about-purpose {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .about-resource {
        grid-template-columns: 40px minmax(0, 1fr) 20px;
        gap: 12px;
    }

    .about-resource-icon {
        width: 40px;
        height: 40px;
    }

    .about-resource h3 {
        font-size: 12px;
    }

    .about-resource p {
        font-size: 10px;
    }

    .about-cta-inner {
        padding-top: 38px;
        padding-bottom: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-purpose-card,
    .about-resource > a {
        transition: none;
    }

    .about-purpose-card:hover {
        transform: none;
    }
}
