/* Priority 1 homepage guidance. Scoped to keep existing site styles intact. */
.p1-notice { background: #fff0ec; color: #721c13; border-block: 1px solid #edb9ad; }
.p1-notice-inner { display: flex; align-items: center; gap: .8rem; padding-block: .8rem; }
.p1-notice-icon { display: flex; flex: 0 0 24px; }
.p1-notice p { flex: 1; margin: 0; font-size: .94rem; line-height: 1.45; }
.p1-notice a { flex-shrink: 0; font-weight: 750; text-underline-offset: .2em; }
.p1-security { background: #111f29; color: #e5edf2; padding: 3.5rem 0; scroll-margin-top: 120px; }
.p1-intro-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.p1-security h2 { color: #fff; font-size: clamp(1.75rem, 2.65vw, 2.6rem); line-height: 1.18; letter-spacing: -.025em; margin: 1rem 0 1.2rem; }
.p1-security h3 { color: inherit; line-height: 1.35; }
.p1-security p { margin: 0 0 1rem; }
.p1-security .p1-badge { display: inline-flex; align-items: center; gap: .55rem; background: #ffd9d0; color: #721c13; border-radius: 6px; padding: .45rem .7rem; font-size: .78rem; font-weight: 800; line-height: 1.5; }
.p1-badge span { display: inline-grid; place-items: center; width: 21px; height: 21px; flex-shrink: 0; background: #a00000; color: #fff; border-radius: 50%; }
.p1-lead { font-size: 1.13rem; color: #f4f7fa; }
.p1-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.p1-security .p1-call { background: #a00000; color: #fff; border-color: #ffb7ac; }
.home-corporate main .p1-security a.p1-call { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.home-corporate main .p1-security a.p1-request { color: #15232e !important; -webkit-text-fill-color: #15232e !important; }
.home-corporate main .p1-security .p1-related a, .home-corporate main .p1-security .p1-sources a { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.p1-security .p1-call:hover { background: #7f0000; }
.p1-security .p1-request { background: #fff; color: #15232e; border-color: #fff; }
.p1-security .p1-request:hover { background: #e5edf2; }
.p1-security .p1-contact-note { font-size: .84rem; color: #c3d0d9; margin: .85rem 0 0; }
.p1-visual { padding: 1.25rem; border: 1px solid #405460; border-radius: 16px; background: #192c38; }
.p1-illustration { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; }
.p1-security .p1-visual-label { text-align: center; font-size: .86rem; color: #d0dce3; margin: .2rem 0 1.2rem; }
.p1-assessment { border-top: 1px solid #405460; padding-top: 1rem; }
.p1-assessment h3 { font-size: 1.1rem; margin: 0 0 .75rem; }
.p1-assessment ol { padding-left: 1.4rem; margin: 0; font-size: .94rem; }
.p1-assessment li { margin-bottom: .6rem; padding-left: .15rem; }
.p1-assessment li::marker { color: #ffb7ac; font-weight: 800; }
.p1-risk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 1.25rem; }
.p1-risk { border: 1px solid #405460; border-radius: 12px; padding: 1.2rem; background: #192c38; }
.p1-risk-icon { display: inline-flex; width: 38px; height: 38px; padding: 7px; border-radius: 9px; color: #ffb7ac; background: #342e32; }
.p1-risk-icon svg { width: 24px; height: 24px; }
.p1-risk h3 { margin: .75rem 0 .5rem; font-size: 1.08rem; }
.p1-risk p { color: #d0dce3; font-size: .94rem; margin-bottom: 0; }
.p1-legal { border-left: 4px solid #ffc075; background: #24323b; border-radius: 0 9px 9px 0; padding: 1.1rem 1.25rem; }
.p1-legal h3 { font-size: 1.05rem; color: #ffe1b8; margin: 0 0 .5rem; }
.p1-legal p { font-size: .94rem; margin-bottom: 0; }
.p1-next-steps { border: 1px solid #607380; border-radius: 9px; padding: 1rem 1.25rem; margin: 1.25rem 0; }
.p1-next-steps summary { cursor: pointer; font-weight: 750; color: #fff; }
.p1-next-steps[open] summary { margin-bottom: .8rem; }
.p1-next-steps ol { padding-left: 1.3rem; }
.p1-next-steps li { margin-bottom: .6rem; }
.p1-next-steps p { margin-bottom: 0; }
.p1-security .p1-scan-note, .p1-security .p1-related { font-size: .9rem; color: #d0dce3; }
.p1-security .p1-sources { font-size: .8rem; color: #bfced8; margin-bottom: 0; }
.p1-download { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem 2rem; padding: 1.5rem; margin: 1.5rem 0; background: #213744; border: 1px solid #607380; border-radius: 12px; }
.p1-download h3 { font-size: 1.6rem; margin: 0 0 .8rem; color: #fff; }
.p1-download h4 { margin: 0 0 .75rem; color: #fff; }
.p1-security .p1-download-label { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #ffc075; margin-bottom: .4rem; }
.p1-download-explainer ul { margin: 0; padding-left: 1.25rem; }
.p1-download-explainer li { margin-bottom: .65rem; }
.p1-download .btn { white-space: normal; text-align: center; }
.p1-security .p1-download-meta { font-size: .8rem; color: #c3d0d9; margin: .75rem 0 0; }
.p1-download > .p1-scan-note, .p1-checksum { grid-column: 1 / -1; margin-bottom: 0; }
.p1-checksum { font-size: .82rem; }
.p1-checksum summary { cursor: pointer; }
.p1-checksum code { display: block; overflow-wrap: anywhere; margin: .75rem 0; color: #fff; }
.p1-checksum p { margin: 0; }
.p1-security .p1-related a, .p1-security .p1-sources a { color: #fff; text-underline-offset: .2em; }
.p1-security a:focus-visible, .p1-notice a:focus-visible, .p1-next-steps summary:focus-visible { outline: 3px solid #ffc075; outline-offset: 4px; }
@media (max-width: 900px) {
  .p1-intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .p1-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 1rem; }
  .p1-visual-label { grid-column: 1; }
  .p1-assessment { grid-column: 2; grid-row: 1 / 3; border-top: 0; padding-top: 0; }
}
@media (max-width: 600px) {
  .p1-download { grid-template-columns: 1fr; padding: 1.1rem; }
  .p1-notice-inner { flex-wrap: wrap; gap: .55rem; }
  .p1-notice p { flex-basis: calc(100% - 40px); }
  .p1-notice a { margin-left: 2rem; font-size: .9rem; }
  .p1-security { padding-block: 2.25rem; scroll-margin-top: 110px; }
  .p1-risk-grid { grid-template-columns: 1fr; gap: .75rem; }
  .p1-actions { flex-direction: column; }
  .p1-actions .btn { width: 100%; white-space: normal; text-align: center; padding-inline: .8rem; }
  .p1-visual { display: block; }
  .p1-assessment { border-top: 1px solid #405460; padding-top: 1rem; }
  .p1-security .p1-badge { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) { html:has(.p1-security) { scroll-behavior: auto; } }

/* Helper result: rendered locally and excluded from snippets/recordings. */
.p1-helper-steps { padding-left: 1.3rem; }
.p1-helper-steps li { margin-bottom: .6rem; }
.p1-web-result { grid-column: 1 / -1; background: #f7fafc; color: #20303b; border: 2px solid #c4d4df; border-radius: 12px; padding: 1.35rem; scroll-margin-top: 110px; }
.p1-web-result h4 { color: #17232e; font-size: 1.3rem; margin: 0 0 .7rem; }
.p1-web-result p { margin-bottom: .8rem; }
.p1-web-result .p1-result-label { color: #4a5e6c; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.p1-web-result #cpn-result-counts { font-weight: 750; }
.p1-web-result #cpn-result-note { color: #475a67; font-size: .85rem; }
.p1-web-result[data-status="priority1"] { border-color: #a00000; background: #fff1ef; }
.p1-web-result[data-status="priority1"] h4 { color: #8c0000; }
.p1-web-result[data-status="remote-review"], .p1-web-result[data-status="security-review"] { border-color: #ad6800; background: #fff8e9; }
.p1-web-result[data-status="incomplete"], .p1-web-result[data-status="invalid"], .p1-web-result[data-status="expired"] { border-color: #705497; background: #f6f2fc; }
.p1-result-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.p1-web-result .p1-request { border-color: #4b6575; }
.p1-clear { font-family: inherit; color: #20303b; border-color: #4b6575; background: #fff; cursor: pointer; }
.p1-clear[hidden] { display: none; }
.p1-clear:focus-visible, .p1-web-result:focus-visible { outline: 3px solid #ad6800; outline-offset: 3px; }
.home-corporate main .p1-security .p1-download-meta a { color: #fff !important; -webkit-text-fill-color: #fff !important; text-underline-offset: .2em; }
@media (max-width: 600px) { .p1-web-result { padding: 1rem; } .p1-result-actions .btn { width: 100%; white-space: normal; text-align: center; } }

/* Result popup is only opened after a helper result arrives. */
.cpn-results-dialog:not([open]) { display: none; }
.cpn-results-dialog { width: min(780px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); padding: 0; border: 2px solid #c4d4df; border-radius: 16px; background: #fff; color: #20303b; overflow: auto; box-shadow: 0 22px 70px rgba(0,0,0,.3); }
.cpn-results-dialog::backdrop { background: rgba(6,18,27,.72); backdrop-filter: blur(2px); }
.cpn-popup-header { display: flex; align-items: start; gap: 1rem; justify-content: space-between; padding: 1.3rem 1.5rem; background: #f3f7fa; border-bottom: 1px solid #c4d4df; position: sticky; top: 0; z-index: 1; }
.p1-security .cpn-popup-eyebrow { margin: 0 0 .3rem; color: #4a5e6c; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.p1-security .cpn-popup-header h3 { margin: 0; color: #17232e; font-size: 1.5rem; }
.cpn-popup-close { display: inline-flex; align-items: center; gap: .5rem; flex-shrink: 0; min-height: 44px; padding: .55rem .75rem; border: 1px solid #7993a4; background: #fff; color: #20303b; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 700; }
.cpn-popup-close:focus-visible { outline: 3px solid #ad6800; outline-offset: 2px; }
.cpn-popup-body { padding: 1.3rem 1.5rem 1.5rem; }
.cpn-popup-body h4 { color: #17232e; margin: 1.2rem 0 .6rem; }
.cpn-popup-counts { font-weight: 800; }
.cpn-popup-list-note, .cpn-popup-note { color: #475a67; font-size: .86rem; }
.cpn-popup-table-wrap { overflow: auto; margin-bottom: 1rem; }
.cpn-popup-table-wrap[hidden] { display: none; }
.cpn-popup-table-wrap table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: .9rem; }
.cpn-popup-table-wrap th, .cpn-popup-table-wrap td { border: 1px solid #c8d5de; padding: .7rem .65rem; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.cpn-popup-table-wrap th { background: #eaf1f6; color: #20303b; }
.cpn-popup-table-wrap th:first-child { width: 44%; }
.cpn-popup-table-wrap th:nth-child(2) { width: 27%; }
.cpn-popup-table-wrap tbody tr:nth-child(even) { background: #f7fafc; }
.cpn-results-dialog[data-status="priority1"] { border-color: #a00000; }
.cpn-results-dialog[data-status="priority1"] .cpn-popup-header { background: #fff1ef; }
.cpn-results-dialog[data-status="priority1"] h3 { color: #8c0000; }
.cpn-results-dialog[data-status="remote-review"], .cpn-results-dialog[data-status="security-review"] { border-color: #ad6800; }
.cpn-results-dialog[data-status="incomplete"], .cpn-results-dialog[data-status="invalid"], .cpn-results-dialog[data-status="expired"] { border-color: #705497; }
.cpn-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 600px) { .cpn-popup-header, .cpn-popup-body { padding: 1rem; } .p1-security .cpn-popup-header h3 { font-size: 1.2rem; } .cpn-popup-table-wrap th, .cpn-popup-table-wrap td { padding: .5rem .4rem; font-size: .8rem; } }
