/* Contact, blog and careers pages. Builds on landing.css (.lx tokens) and service.css (.sv-hero). */

.pg .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* three-up grid for trust cards */
.pg-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .pg-grid-3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* hero chips (blog topics, job meta) */
.pg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.pg-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
    font-size: 14px; font-weight: 600; color: #e2e8f0; text-decoration: none;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(148, 163, 184, .3);
    transition: background .25s, border-color .25s, color .25s;
}
a.pg-chip:hover { background: rgba(96, 165, 250, .12); border-color: rgba(96, 165, 250, .6); color: #fff; }
.pg-chip.is-active { color: #fff; background: var(--lx-grad-solid); border-color: transparent; }
.pg-chip svg { width: 15px; height: 15px; fill: none; stroke: #93c5fd; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* contact: details + form */
.pg-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
@media (max-width: 960px) { .pg-contact { grid-template-columns: 1fr; } }
.pg-panel {
    padding: 36px 32px; border-radius: var(--lx-radius);
    background: #fff; border: 1px solid var(--lx-line);
    box-shadow: 0 30px 60px -36px rgba(4, 74, 169, .35);
}
@media (max-width: 560px) { .pg-panel { padding: 28px 22px; } }
.pg-panel--dark { background: linear-gradient(160deg, #0b1c32, #071324); border-color: rgba(148, 163, 184, .18); color: #e2e8f0; }
.pg-panel h2 { font-size: 24px; font-weight: 700; }
.pg-panel--dark h2 { color: #fff; }
.pg-panel > p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--lx-muted); }
.pg-panel--dark > p { color: #94a3b8; }
.pg-details { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.pg-details li { display: flex; align-items: flex-start; gap: 14px; }
.pg-details__icon {
    flex: none; display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center;
    border-radius: 14px; background: rgba(96, 165, 250, .12); border: 1px solid rgba(96, 165, 250, .3);
}
.pg-details__icon svg { width: 22px; height: 22px; fill: none; stroke: #93c5fd; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-details__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #93c5fd; }
.pg-details a, .pg-details__value { display: block; margin-top: 4px; font-size: 16.5px; font-weight: 600; color: #fff; text-decoration: none; word-break: break-word; }
.pg-details a:hover { color: #bfdbfe; }
.pg-panel .lx-btn { width: 100%; margin-top: 30px; }
.pg-form { margin-top: 26px; }

/* blog: listing inside lx */
.pg-blog .blog-grid { margin-top: 0; }
.pg-blog .blog-featured + .blog-grid { margin-top: 48px; }
.pg-topics .lx-trust__item { text-decoration: none; color: inherit; }
/* posts without a featured image get a branded placeholder instead of an empty box */
.pg .blog-featured__placeholder,
.pg .blog-card__placeholder {
    width: 100%; height: 100%; min-height: 240px;
    background:
        linear-gradient(rgba(148, 163, 184, .08) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px) 0 0 / 40px 40px,
        radial-gradient(420px 260px at 75% 30%, rgba(37, 99, 235, .45), transparent 70%),
        linear-gradient(160deg, #0b1c32, #071324);
}
.pg .blog-card__placeholder { min-height: 180px; display: flex; align-items: center; justify-content: center; }
.pg .blog-card__placeholder span { font-size: 48px; font-weight: 700; color: rgba(191, 219, 254, .6); }

/* article body */
.pg-article .blog-prose h2 { margin-top: 2.2em; }
.pg-article .blog-prose h3 { margin-top: 1.6em; }
.pg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 22px; font-size: 14.5px; color: #94a3b8; }
.pg-meta a { color: #bfdbfe; text-decoration: none; font-weight: 600; }

/* careers: job list */
.pg-jobs { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 16px; max-width: 900px; }
.pg-job {
    display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
    padding: 28px 30px; border-radius: var(--lx-radius); text-decoration: none; color: inherit;
    background: #fff; border: 1px solid var(--lx-line); transition: border-color .3s, box-shadow .3s, transform .3s;
}
.pg-job:hover { border-color: rgba(37, 99, 235, .45); box-shadow: 0 30px 60px -32px rgba(4, 74, 169, .45); transform: translateY(-2px); }
.pg-job__dept { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #044aa9; }
.pg-job h3 { margin-top: 6px; font-size: 22px; font-weight: 700; }
.pg-job__meta { margin-top: 6px; font-size: 15px; color: var(--lx-muted); }
.pg-job__summary { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--lx-muted); }
@media (max-width: 640px) { .pg-job { grid-template-columns: 1fr; padding: 24px 22px; } }
.pg-empty { max-width: 640px; margin: 0 auto; text-align: center; }

/* careers: role detail */
.pg-role { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .pg-role { grid-template-columns: 1fr; } }
.pg-role__aside { position: sticky; top: 110px; }
.pg-facts { list-style: none; margin: 4px 0 26px; padding: 0; display: grid; gap: 14px; }
.pg-facts li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(148, 163, 184, .18); font-size: 15px; }
.pg-facts li span:first-child { color: #94a3b8; }
.pg-facts li span:last-child { color: #fff; font-weight: 600; text-align: right; }

/* rich text from the CMS (job descriptions) */
.pg-prose { font-size: 17px; line-height: 1.75; color: #334155; }
.pg-prose > * + * { margin-top: 1em; }
.pg-prose h2 { margin-top: 1.8em; font-size: 26px; line-height: 1.25; font-weight: 700; color: var(--lx-text); }
.pg-prose h3 { margin-top: 1.5em; font-size: 20px; font-weight: 700; color: var(--lx-text); }
.pg-prose ul { padding-left: 1.2em; list-style: disc; }
.pg-prose li + li { margin-top: .4em; }
.pg-prose a { color: #044aa9; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* FAQ answers may contain links */
.pg .lx-faq__a a { color: #044aa9; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
