/* RRSP v3 — Accessibility and site-style enhancements. Financial model unchanged. */
:root{--rrsp-navy:#0B1F3A;--rrsp-red:#C62828;--rrsp-ink:#132743}
html{scroll-padding-top:20px}.pb-calculator-hero{background:linear-gradient(117deg,#0B1F3A 0%,#14284b 70%,#24253e 100%)!important}.pb-calculator-hero .hero-label{color:#ffbec1!important}
body{color:var(--rrsp-ink)}.result-panel{border-top:4px solid var(--rrsp-red)}.result-top{background:linear-gradient(120deg,#0B1F3A,#193253)!important}.result-top .eyebrow{color:#f0aeb4}.result-top .result-title,.result-top p{color:#ebf2ff!important}.result-top .large-money{color:white!important}.metric{background:#f8fafc}.metric strong{color:#0B1F3A}
.soft-section .mini-disclaimer,.soft-section .section-lead{color:#e3eaf6!important}.soft-section .scenario-card{background:#ffffff;color:#112640}.soft-section .scenario-card small,.soft-section .scenario-card .scenario-cost{color:#4b6077!important}
.scenario-select{display:flex;flex-direction:column;gap:4px;text-align:left;width:100%;cursor:pointer;border:1px solid #ccd6e2!important;font:inherit;transition:transform .15s ease,box-shadow .15s ease}.scenario-select:hover,.scenario-select:focus-visible{transform:translateY(-2px);border-color:#C62828!important;box-shadow:0 14px 27px #040f1e39}.scenario-select .scenario-save,.scenario-select .scenario-cost,.scenario-select .scenario-money{display:block}.scenario-select .scenario-cta{font-size:12px;color:#C62828;margin-top:10px;font-weight:900}
.faq-grid article{background:#fff!important;color:#0B1F3A!important}.faq-grid article h3{color:#0B1F3A!important}.faq-grid article p{color:#33465f!important}.content-section p,.rrsp-decision-section p{color:#33465f}.limit-card{border-left:5px solid var(--rrsp-red)}
.rrsp-example-section{background:#e9eef6;padding:60px 0 54px;color:#102541}.rrsp-example-section .section-lead{color:#3c536b}.rrsp-example-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:23px 0}.rrsp-example-card{border-radius:15px;padding:22px;background:#fff;border:1px solid #d6dfeb}.rrsp-example-card span{display:block;font-size:13px;color:#41546c}.rrsp-example-card strong{display:block;font-size:clamp(25px,2.9vw,35px);font-weight:900;margin:8px 0;color:#0B1F3A}.rrsp-example-card p{font-size:13px;color:#4b5c70;margin:0}.rrsp-example-card.accent{background:#0B1F3A;border-color:#0B1F3A}.rrsp-example-card.accent span,.rrsp-example-card.accent p{color:#d9e4f5}.rrsp-example-card.accent strong{color:#fff}.example-footnote{color:#425570;line-height:1.65;font-size:13px}.rrsp-example-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.rrsp-example-actions .primary-btn{width:auto;margin:8px 0}.rrsp-example-actions a{color:#a92727;font-weight:800}
.rrsp-decision-section{padding:65px 0}.rrsp-decision-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:24px 0 30px}.rrsp-decision-grid article{padding:23px;border:1px solid #d5dfea;border-radius:15px;background:#fff}.rrsp-decision-grid article h3{font-size:18px;margin-top:0;color:#0B1F3A}.rrsp-decision-grid article p{font-size:14px;line-height:1.6}.rrsp-decision-grid article a{color:#b5222a;font-weight:800;font-size:13px}.related-tools{display:flex;gap:10px;flex-wrap:wrap}.related-tools a{background:#0B1F3A;color:#fff;padding:12px 15px;border-radius:8px;text-decoration:none;font-size:13px;font-weight:900}.related-tools a span{color:#f5b0b5}.related-tools a:hover{background:#C62828}
.model-note{font-size:12px!important;line-height:1.55}
.share-composer{padding:0;border:0;border-radius:15px;width:min(690px,calc(100% - 28px));max-height:90vh;overflow:auto;box-shadow:0 20px 80px #07172b70;color:#0B1F3A}.share-composer::backdrop{background:#07182bd9}.share-modal{padding:25px;background:#f6f8fc}.share-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.share-modal-header h2{margin:0}.share-modal-close{border:0;background:#0B1F3A;color:#fff;border-radius:50%;width:36px;height:36px;cursor:pointer;font-size:23px}.share-modal label{font-size:13px;font-weight:900;display:block;margin:12px 0 6px}.share-modal input,.share-modal textarea{width:100%;padding:11px;border:1px solid #bfcad7;border-radius:8px;background:white;color:#122a43;font:inherit}.share-modal textarea{font-size:13px;line-height:1.55;resize:vertical;min-height:220px}.share-modal-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.share-modal-buttons button{background:#0B1F3A;color:#fff;border:0;border-radius:8px;padding:10px 13px;cursor:pointer;font-size:13px;font-weight:900}.share-modal-buttons button:first-child{background:#C62828}.share-modal-buttons button:hover{filter:brightness(1.16)}.share-status{font-size:12px;color:#2e4a65}.source-update{border-top:1px solid #cad5e2;padding-top:12px;margin-top:12px}
@media(max-width:850px){.rrsp-example-grid,.rrsp-decision-grid{grid-template-columns:1fr 1fr}}@media(max-width:570px){.rrsp-example-grid,.rrsp-decision-grid{grid-template-columns:1fr}.rrsp-example-section,.rrsp-decision-section{padding:43px 0}.rrsp-example-actions .primary-btn{width:100%}.share-modal{padding:18px}.share-modal-buttons button{flex:1 1 115px}}
@media print{.pb-brand-system,.share-composer,.rrsp-example-section,.rrsp-decision-section{display:none!important}.result-top{-webkit-print-color-adjust:exact;print-color-adjust:exact}.result-top *{color:#fff!important}}
/* Dark guide: light-on-dark only for exposed section content; dark-on-white within cards. */
.soft-section#rrsp-guide .content-section > p,
.soft-section#rrsp-guide .content-section > h3 + p,
.soft-section#rrsp-guide .content-section > .explain-note{color:#e8eef9!important}
.soft-section#rrsp-guide .content-section > h3,
.soft-section#rrsp-guide .content-section > h2{color:#ffffff!important}
.soft-section#rrsp-guide .info-grid article h3,
.soft-section#rrsp-guide .limit-card strong{color:#0B1F3A!important}
.soft-section#rrsp-guide .info-grid article p,
.soft-section#rrsp-guide .limit-card p,
.soft-section#rrsp-guide .limit-card span{color:#34475f!important}
.soft-section#rrsp-guide .table-scroll table td{background:#fff!important;color:#142740!important}
.soft-section#rrsp-guide .table-scroll table th{background:#0B1F3A!important;color:#fff!important}
