/* Prometheus page — 2026 design (Figma 110626_Products&Services-Prometheus). */

.q-prometheus {
    --p26-blue: #435bec;
    --p26-orange: #f07362;
    --p26-card-bg: #0b0c12;
    --p26-card-border: #404060;
    --p26-container: 1136px;
    background: #000;
    color: #fff;
    font-family: 'ABCOracle', sans-serif;
    letter-spacing: 0;
    margin-block: 0;
}

.q-prometheus,
.q-prometheus * {
    box-sizing: border-box;
}

/* Prevent nested theme animations; product-experience.css animates selected elements. */
.q-prometheus :is(.wp-block-group, h1, h2, h3, h4, p) {
    opacity: 1;
    transform: none !important;
    transition: none;
}

.q-prometheus :is(h2, h3, p, figure, .wp-block-buttons),
.q-prometheus .wp-block-group {
    margin-block: 0;
}

.q-prometheus :is(h2, h3) {
    color: #fff;
    font-family: 'ABCOracle', sans-serif;
    font-weight: 500;
    line-height: 1.13;
    letter-spacing: 0;
    text-transform: none;
}

.q-prometheus p {
    color: #fff;
    font-family: 'ABCOracle', sans-serif;
    font-size: 21px;
    font-weight: 300;
    line-height: 1.13;
    /* theme.json adds 0.5px to body text; the design uses none. */
    letter-spacing: 0;
}

.q-prometheus .q-prometheus__container {
    width: 100%;
    max-width: calc(var(--p26-container) + 48px);
    margin-inline: auto;
    padding-inline: 24px;
}

/* ── Banner (reuses .q-product-banner) ───────────────────────────────── */
.q-prometheus__banner {
    position: relative;
}

.q-prometheus__banner::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 15px;
    background: linear-gradient(90deg, #f07362, #435bec);
    /* Figma fades the bar in from transparent at the top edge to full colour at the bottom. */
    -webkit-mask-image: linear-gradient(180deg, transparent, #000);
    mask-image: linear-gradient(180deg, transparent, #000);
}

/* Typography per Figma; sizes only from 768px up so the shared mobile sizes still apply. */
.q-prometheus__banner .q-product-banner__title {
    line-height: 0.94;
}

.q-prometheus__banner .q-product-banner__subtitle {
    max-width: 470px;
    /* Shared `balance` splits after "quantum-"; Figma keeps "quantum-dot" on line one. */
    text-wrap: wrap;
    font-weight: 350;
    line-height: 1.08;
}

@media (min-width: 768px) {
    .q-prometheus__banner .q-product-banner__title {
        font-size: 67.5px;
    }

    .q-prometheus__banner .q-product-banner__subtitle {
        font-size: 37.5px;
    }
}

.q-prometheus__banner .q-product-banner__category {
    font-size: 13.66px;
    font-weight: 350;
    line-height: 0.94;
    letter-spacing: 0.19em;
}

/* Category label is built from core blocks (group > image + paragraph);
   strip the default figure/paragraph styles so it matches the HTML version. */
.q-prometheus__banner .q-product-banner__category-icon {
    width: 26px;
    height: 26px;
    margin: 0;
}

.q-prometheus__banner .q-product-banner__category-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.q-prometheus__banner .q-product-banner__category-label {
    margin: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

/* ── Intro ───────────────────────────────────────────────────────────── */
.q-prometheus .q-prometheus__intro {
    position: relative;
    padding-top: 0;
    overflow-x: clip;
}

/* Fades the bottom of the product shot into the feature cards. */
.q-prometheus .q-prometheus__intro-media::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 32%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000);
    pointer-events: none;
}

.q-prometheus .q-prometheus__intro-inner {
    display: grid;
    grid-template-columns: minmax(0, 483px) minmax(0, 582px);
    justify-content: space-between;
    align-items: center;
    column-gap: 70px;
}

.q-prometheus .q-prometheus__intro-text {
    max-width: 538px;
    font-size: 21.08px;
    font-weight: 300;
    line-height: 1.13;
}

.q-prometheus .q-prometheus__intro-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}
.q-prometheus .q-prometheus__intro-buttons { margin-top: 24px; }

.q-prometheus .q-prometheus__intro-media {
    position: relative;
    width: 760px;
    max-width: calc(100% + 277px);
    margin-left: -152px;
}

.q-prometheus .q-prometheus__intro-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Shared card + pill ──────────────────────────────────────────────── */
.q-prometheus .q-prometheus__card {
    display: flex;
    flex-direction: column;
    padding: 40px 34px;
    border: 1px solid var(--p26-card-border);
    border-radius: 19px;
    background: var(--p26-card-bg);
}

.q-prometheus .q-prometheus__card-title {
    font-size: 25px;
}

.q-prometheus .q-prometheus__pill {
    display: inline-block;
    width: fit-content;
    padding: 2px 10px;
    /* Gradient border: fill painted on padding-box, border gradient on border-box. */
    border: 1px solid transparent;
    border-radius: 999px;
    /* Border = Figma's two radial gradients (blue top-left, orange bottom-right) fading out. */
    background:
        linear-gradient(110deg, #19242b 0%, #121a20 45%, #0b0f15 85%) padding-box,
        radial-gradient(70% 160% at 0% 0%, rgba(67, 91, 236, 0.7) 0%, rgba(67, 91, 236, 0) 100%) border-box,
        radial-gradient(70% 160% at 100% 100%, rgba(240, 115, 98, 0.6) 0%, rgba(67, 91, 236, 0) 100%) border-box,
        rgba(255, 255, 255, 0.08) border-box;
    color: #fff;
    font-size: 13.94px;
    font-weight: 350;
    line-height: 1.63;
    text-align: center;
}

.q-prometheus .q-eyebrow {
    margin-inline: auto;
}

/* ── Features ────────────────────────────────────────────────────────── */
.q-prometheus .q-prometheus__features {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    margin-top: -10px;
}

.q-prometheus .q-prometheus__feature {
    min-height: 334px;
}

.q-prometheus .q-prometheus__feature .q-prometheus__card-title {
    max-width: 232px;
    margin-top: 17px;
}

.q-prometheus .q-prometheus__card-text {
    font-size: 21.08px;
}

/* Keep the superscript in "g²(0)" from stretching the line box. */
.q-prometheus .q-prometheus__card-text sup {
    font-size: 0.6em;
    line-height: 0;
}

.q-prometheus .q-prometheus__feature .q-prometheus__card-text {
    margin-top: 32px;
}

/* ── Architecture ────────────────────────────────────────────────────── */
.q-prometheus .q-prometheus__architecture {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 88px;
    text-align: center;
}

.q-prometheus .q-prometheus__section-title {
    max-width: 775px;
    margin-top: 31px;
    font-size: 45px;
    text-align: center;
}

.q-prometheus .q-prometheus__section-intro {
    max-width: 855px;
    margin-top: 31px;
    text-align: center;
}

.q-prometheus .q-prometheus__modules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 37px;
    width: 100%;
    margin-top: 78px;
    text-align: left;
}

.q-prometheus .q-prometheus__module {
    min-height: 288px;
    padding: 31px 35px 35px;
}

.q-prometheus .q-prometheus__module-icon {
    display: flex;
    align-items: flex-end;
    height: 67px;
    margin-bottom: 27px;
}

/* Icon SVGs have no intrinsic size; the img width/height attributes set it. */
.q-prometheus .q-prometheus__module-icon img {
    display: block;
    max-width: 100%;
}

.q-prometheus .q-prometheus__module .q-prometheus__card-text {
    max-width: 480px;
    margin-top: 23px;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .q-prometheus .q-prometheus__intro-inner { column-gap: 32px; }
    .q-prometheus .q-prometheus__intro-media { width: calc(100% + 48px); max-width: none; margin-left: -24px; }

    .q-prometheus .q-prometheus__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 781px) {
    .q-prometheus p,
    .q-prometheus .q-prometheus__intro-text,
    .q-prometheus .q-prometheus__card-text {
        font-size: 18px;
    }

    .q-prometheus .q-prometheus__intro {
        padding-top: 0;
    }

    .q-prometheus .q-prometheus__intro-inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 32px;
    }

    .q-prometheus .q-prometheus__intro-media {
        width: calc(100% + 48px);
        max-width: none;
        margin-inline: -24px;
    }

    .q-prometheus .q-prometheus__features,
    .q-prometheus .q-prometheus__modules {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .q-prometheus .q-prometheus__features {
        margin-top: 40px;
    }

    .q-prometheus .q-prometheus__card {
        min-height: 0;
        padding: 28px 24px;
    }

    .q-prometheus .q-prometheus__card-title {
        font-size: 22px;
    }

    .q-prometheus .q-prometheus__feature .q-prometheus__card-title {
        max-width: none;
    }

    .q-prometheus .q-prometheus__feature .q-prometheus__card-text {
        margin-top: 16px;
    }

    .q-prometheus .q-prometheus__architecture {
        margin-top: 56px;
    }

    .q-prometheus .q-prometheus__section-title {
        font-size: 32px;
    }

    .q-prometheus .q-prometheus__section-title,
    .q-prometheus .q-prometheus__section-intro {
        margin-top: 20px;
    }

    .q-prometheus .q-prometheus__modules {
        margin-top: 40px;
    }
}

.q-prometheus .q-prometheus__cta { margin-top: 88px; }
@media (max-width: 781px) { .q-prometheus .q-prometheus__cta { margin-top: 56px; } }
