/* Our Product, About Us, Resources and Feedback: the pricing page's look.
   Open hero (eyebrow, big title, muted lead), section intros in the same type, flat white cards with a
   thin border, and one blue/light split card per page (reuses .pricing-split from MenuFormat.css). */

:is(.our-product-page, .about-us-marketing-page, .resources-page, .feedback-page) .about-us-main {
    max-width: 1100px;
}

/* Product hero: the highlight pills sit under the pricing-style hero */
.our-product-page .pricing-hero .our-product-pill-row {
    justify-content: center;
    margin: 1.4rem auto 0;
}
.our-product-page .pricing-hero .our-product-pill {
    background: #fff;
    border: 1px solid #dbe7f8;
    color: rgb(10, 61, 145);
    box-shadow: none;
}

/* Section intros ("How it works", "Why we exist") in the pricing type */
:is(.our-product-section-intro, .marketing-section-intro) {
    text-align: center;
    padding: 2.75rem 0 1.25rem;
    background: none;
    border: 0;
    font-family: var(--font-ui);
}
:is(.our-product-section-kicker, .marketing-section-kicker) {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3d8ef0;
}
:is(.our-product-section-title, .marketing-section-title) {
    margin: 0.45rem 0 0.5rem;
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: rgb(10, 61, 145);
}
:is(.our-product-section-lead, .marketing-section-lead) {
    margin: 0 auto;
    max-width: 40rem;
    font-size: 1.05rem;
    color: rgba(10, 61, 145, 0.7);
}

/* Cards: one flat white card with a thin border instead of the double glass frame */
:is(.our-product-feature-layer-outer, .about-us-story-card-outer) {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}
:is(.our-product-feature-layer-inner, .about-us-story-card-inner) {
    background: #fff !important;
    border: 1px solid #dbe7f8 !important;
    border-radius: 24px !important;
    box-shadow: none !important;
}
.about-us-story-label {
    color: #3d8ef0;
    letter-spacing: 0.12em;
}

/* Split card: extra pieces for the blue side */
.marketing-split { margin-top: 2.75rem; }
.marketing-split .pricing-split-left {
    display: flex;
    flex-direction: column;
}
.marketing-split-text {
    margin: -0.75rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.55;
}
.marketing-split .pricing-ticks { margin-bottom: 1.75rem; }
.marketing-split-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}
.marketing-split-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    background: #fff;
    color: #0a55c4;
    font-family: var(--font-ui);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.marketing-split-btn:hover { background-color: #e9f1fe; }
.marketing-split-btn--ghost {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6);
}
.marketing-split-btn--ghost:hover { background-color: rgba(255, 255, 255, 0.12); }

/* Split card: the light side */
.marketing-split .pricing-split-right { gap: 0.85rem; }
.marketing-split-heading {
    margin: 0.35rem 0 0.25rem;
    font-family: var(--font-ui);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgb(10, 61, 145);
}
.marketing-split-note {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(10, 61, 145, 0.72);
}

/* Rows on the light side (values, downloads): the pricing tier style */
.marketing-rows,
.marketing-split .about-us-values-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}
.marketing-row,
.marketing-split .about-us-values-list li {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr) auto;
    column-gap: 1rem;
    row-gap: 0.15rem;
    align-items: center;
    padding: 1.05rem 1.25rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: inset 0 0 0 1.5px #dbe7f8 !important;
    font-family: var(--font-ui);
    color: rgb(10, 61, 145);
}
.marketing-row-icon,
.marketing-split .about-us-values-icon {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 12px;
    background: #e9f1fe;
    color: #0a55c4;
}
.marketing-row-icon svg,
.marketing-split .about-us-values-icon svg {
    width: 1.3rem;
    height: 1.3rem;
}
.marketing-row h3,
.marketing-split .about-us-values-list strong {
    grid-column: 2;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: rgb(10, 61, 145);
}
.marketing-row p,
.marketing-split .about-us-values-list li > span:not(.about-us-values-icon) {
    grid-column: 2;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.4;
    color: rgba(10, 61, 145, 0.68);
}
.marketing-row-action {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: #0a55c4;
    color: #fff;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}
.marketing-row-action:hover { background-color: #0a3d91; }

/* Feedback: the form on the light side, without the old card-in-card frames */
.feedback-page .marketing-split .feedback-form { display: grid; gap: 1rem; margin: 0; max-width: none; }
.feedback-page .marketing-split :is(.feedback-field-layer, .feedback-field-layer-inner, .feedback-submit-wrap) {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    max-width: none !important;
    width: 100% !important;
}
.feedback-page .marketing-split :is(.feedback-textarea, .feedback-email-input) {
    width: 100%;
    box-sizing: border-box;
    border-radius: 14px !important;
    border: 1px solid #c9d9f2 !important;
    background: #fff !important;
    box-shadow: none !important;
}
.feedback-page .marketing-split .feedback-textarea { min-height: 11rem; }
.feedback-page .marketing-split .feedback-submit { width: 100%; }

@media (max-width: 640px) {
    .marketing-row { grid-template-columns: 2.6rem minmax(0, 1fr); }
    .marketing-row-action { grid-column: 1 / -1; grid-row: auto; justify-content: center; margin-top: 0.6rem; }
}

/* Product: "Additional Features" and "Organisations and Accounts" in the same system */
.our-product-page .about-us-values-layer-outer {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin-top: 2.75rem !important;
    box-shadow: none !important;
}
.our-product-page .about-us-values-layer-inner {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.our-product-page .about-us-values-title {
    text-align: center;
    margin: 0 0 1.25rem;
    font-family: var(--font-ui);
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: rgb(10, 61, 145);
}
.our-product-page .about-us-values-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.75rem;
}
.our-product-page .about-us-values-list li {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    column-gap: 1rem;
    row-gap: 0.15rem;
    align-items: center;
    padding: 1.05rem 1.25rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: inset 0 0 0 1.5px #dbe7f8 !important;
    font-family: var(--font-ui);
    color: rgb(10, 61, 145);
}
.our-product-page .about-us-values-icon {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 12px;
    background: #e9f1fe;
    color: #0a55c4;
}
.our-product-page .about-us-values-icon svg { width: 1.3rem; height: 1.3rem; }
.our-product-page .about-us-values-list strong { grid-column: 2; font-size: 1.02rem; font-weight: 700; }
.our-product-page .about-us-values-list li > span:not(.about-us-values-icon) {
    grid-column: 2;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(10, 61, 145, 0.68);
}
/* Organisations: one flat card for the paragraph */
.our-product-page .our-product-orgs-section .about-us-values-layer-inner > :not(.about-us-values-title) {
    max-width: 46rem;
    margin: 0 auto;
    padding: 1.4rem 1.6rem;
    border-radius: 22px;
    background: #fff;
    box-shadow: inset 0 0 0 1.5px #dbe7f8;
    text-align: center;
    color: rgba(10, 61, 145, 0.78);
    line-height: 1.55;
}

/* Product page trailer: our thumbnail with a play button; the YouTube player loads only on click */
.our-product-trailer {
    max-width: 980px;
    margin: 2.5rem auto 0;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #082b66;
    box-shadow: 0 30px 70px rgba(10, 61, 145, 0.22);
}
.our-product-trailer iframe,
.our-product-trailer-play {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.our-product-trailer-play {
    position: relative;
    padding: 0;
    background: none;
    cursor: pointer;
}
.our-product-trailer-play img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.our-product-trailer-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88px;
    height: 88px;
    margin: -44px 0 0 -44px;
    border-radius: 50%;
    background-color: #fff;
    color: #0a55c4;
    display: grid;
    place-items: center;
    box-shadow: 0 14px 34px rgba(8, 43, 102, 0.35);
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.our-product-trailer-icon svg { width: 40px; height: 40px; margin-left: 5px; }
.our-product-trailer-play:hover .our-product-trailer-icon { transform: scale(1.06); background-color: #e9f1fe; }
.our-product-trailer-play:focus-visible { outline: 3px solid #3d8ef0; outline-offset: -3px; }
@media (max-width: 640px) {
    .our-product-trailer { border-radius: 16px; margin-top: 1.75rem; }
    .our-product-trailer-icon { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
    .our-product-trailer-icon svg { width: 30px; height: 30px; }
}
