/* ============================================================================
   Compliance automation (Pages/Platform/Compliance.cshtml). Ported from "Compliance Automation.dc.html".
   Hero backdrop: "Hero Backdrop", pattern "Orbit nodes", tone Light. Shared pieces (.hero, .subnav, .section,
   .grid-3, .card, .icon-well, .link-arrow, .cta-panel, ...) live in site.css. Razor only, no JS.
   ============================================================================ */

/* Visually hidden text for the routing table's marks. (Shared CSS candidate.) */

/* ---- Hero ---- */
.comp-hero { padding: 80px 32px 68px; }
.comp-hero .hero__title { font-size: 66px; line-height: 1.03; }
.comp-hero .hero__lead { max-width: 750px; margin-top: 26px; }

/* ---- The problem ---- */
.comp-problem { padding: 82px 32px 0; }
.comp-problem__intro { max-width: 840px; }
.comp-problem__lead { font-size: 17.5px; }
.comp-alert {
    margin-top: 36px;
    border: 1px solid #f6cdcd;
    border-radius: var(--r-card-lg);
    background: linear-gradient(180deg, #fdecec 0%, #fef6f6 100%);
    padding: 44px 48px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}
.comp-alert__stat { text-align: center; }
.comp-alert__n {
    font-family: var(--font-display);
    font-size: 66px;
    line-height: 1;
    font-weight: 800;
    color: #c0202f;
    white-space: nowrap;
}
.comp-alert__label {
    margin: 10px 0 0;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #a3323a;
}
.comp-alert__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #f6cdcd;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    color: #c0202f;
    white-space: nowrap;
}
.comp-alert__pill .icon { height: 10px; width: auto; }
.comp-alert__body { margin: 14px 0 0; font-size: 18px; line-height: 1.6; color: #7d2b30; text-wrap: pretty; }

/* ---- Events grid ---- */
.comp-events { padding: 96px 32px 104px; }
.comp-events .section__intro { max-width: 820px; }
.comp-events__grid { margin-top: 44px; }
.comp-event { padding: 30px 26px; }
.comp-event .icon-well { width: 42px; height: 42px; }
.comp-event__title { margin-top: 18px; font-size: 19px; line-height: 1.25; font-weight: 700; }
.comp-event__body { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* ---- Who handles it: routing table ---- */
.comp-control__title { font-size: 40px; line-height: 1.12; }
.comp-routing {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: #fff;
    padding: 14px 18px;
    box-shadow: 0 18px 40px rgba(24, 34, 51, .07);
}
.comp-routing__table { width: 100%; border-collapse: collapse; }
.comp-routing__table th,
.comp-routing__table td { padding: 15px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.comp-routing__table thead th {
    padding: 14px 6px 13px;
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--steel);
}
.comp-routing__table tbody th { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.comp-routing__table .comp-routing__col { width: 92px; text-align: center; }
.comp-routing__table .comp-routing__col--team { width: 78px; }
.comp-routing__table thead .comp-routing__col { letter-spacing: .1em; }
.comp-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    vertical-align: middle;
    color: #fff;
    font-size: 11px;
}
.comp-mark--self { background: var(--purple); box-shadow: 0 4px 10px rgba(122, 92, 224, .30); }
.comp-mark--team { background: var(--blue-d); box-shadow: 0 4px 10px rgba(28, 132, 179, .28); }
.comp-mark--empty { border: 1px solid #dfe3e7; }
.comp-routing__foot {
    margin: 0;
    padding: 15px 6px 13px;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13.5px;
    color: var(--muted);
}
.comp-routing__foot span { display: flex; font-size: 12px; color: var(--steel); }

/* ---- Portable records (dark) ---- */
.comp-portable { position: relative; overflow: hidden; padding: 100px 32px; }
.comp-portable__inner { position: relative; }
.comp-portable .section__intro { max-width: 820px; }
.comp-portable__title { font-size: 40px; line-height: 1.1; }
.comp-portable .link-arrow { margin-top: 26px; }
.link-arrow--gold { color: var(--gold); }
.link-arrow--gold:hover { color: #ffc978; }
.comp-switch {
    margin-top: 46px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}
.comp-carrier {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r-card);
    background: rgba(255, 255, 255, .05);
    padding: 28px 26px;
}
.comp-carrier__label {
    margin: 0;
    font-size: 11.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #8fa2b8;
}
.comp-carrier__name { margin: 14px 0 0; font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #fff; }
.comp-carrier__body { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: #a8bbd0; }
.comp-switch__arrow { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.comp-switch__disc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--purple);
    border: 1px solid #6a4ed1;
    box-shadow: 0 8px 20px rgba(122, 92, 224, .40);
    color: #fff;
    font-size: 15px;
}
.comp-switch__cadence {
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: #c9b8ff;
}
.comp-pills { margin: 22px 0 0; padding: 0; list-style: none; display: flex; gap: 12px; flex-wrap: wrap; }
.comp-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(122, 92, 224, .16);
    border: 1px solid rgba(122, 92, 224, .34);
    font-size: 13.5px;
    font-weight: 600;
    color: #e2dcff;
}
.comp-pill span { display: flex; font-size: 11px; color: #c9b8ff; }

/* ---- "More of the platform" cross-links (Pages/Shared/_PlatformMore.cshtml). Shared CSS candidate: all four product pages carry this block. ---- */

/* ---- Demo panel: product-page variant (Shared CSS candidate: same as .platform-demo in platform.css). ---- */

/* ---- Responsive ---- */
@media (max-width: 959px) {
    
    .comp-hero { padding: 64px 24px 56px; }
    .comp-hero .hero__title { font-size: 46px; }
    .comp-problem { padding: 64px 24px 0; }
    .comp-alert { grid-template-columns: 1fr; gap: 20px; padding: 30px 26px; }
    .comp-alert__stat { text-align: left; }
    .comp-alert__n { font-size: 52px; }
    .comp-events { padding: 72px 24px; }
    .comp-control__title, .comp-portable__title { font-size: 32px; }
    .comp-portable { padding: 72px 24px; }
    .comp-switch { grid-template-columns: 1fr; max-width: 520px; }
    .comp-switch__disc { transform: rotate(90deg); }
    .platform-more { padding: 56px 24px 0; }
    .platform-more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-demo .cta-panel { padding: 64px 28px 72px; }
}
@media (max-width: 559px) {
    .comp-hero { padding: 48px 20px 40px; }
    .comp-hero .hero__title { font-size: 36px; }
    .comp-problem { padding: 48px 20px 0; }
    .comp-alert { padding: 24px 20px; border-radius: var(--r-card); }
    .comp-alert__body { font-size: 16px; }
    .comp-events { padding: 56px 20px; }
    .comp-routing { padding: 10px 12px; }
    .comp-routing__table .comp-routing__col { width: 64px; }
    .comp-routing__table .comp-routing__col--team { width: 64px; }
    .comp-portable { padding: 56px 20px; }
    .platform-more { padding: 48px 20px 0; }
    .platform-more__list { grid-template-columns: 1fr; }
    .pf-demo .cta-panel { padding: 48px 20px 56px; }
}
