/* Selected A layouts. Every rule is scoped to the two approved homepage sections. */
#home-comparison{margin:16px 16px 0;padding:44px 0;border:0;border-radius:26px;background:#fcfaff;color:#291a45}
#home-comparison>.container{max-width:1264px;padding:0 32px;min-width:0}
#home-comparison .section-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}
#home-comparison .section-heading>div{min-width:0}
#home-comparison .section-heading .eyebrow{color:#6d28d9;font-weight:800;font-size:11px;letter-spacing:.07em;text-transform:uppercase;margin:0 0 9px}
#home-comparison h2{font-size:36px;letter-spacing:-1.2px;line-height:1.2;margin:0;font-weight:800;color:#291a45}
#home-comparison .section-heading p:not(.eyebrow):not(.sa-bank-count){font-size:15px;line-height:1.65;margin:13px 0 0;color:#70627e}
#home-comparison .section-heading .sa-bank-count{flex-shrink:0;padding:8px 15px;background:#ede3fb;color:#40176d;border-radius:40px;font-size:12px;font-weight:800;line-height:1.5;margin:0}
#home-comparison .sa-bank-count:empty{display:none}
#home-comparison .all-banks-disclosure{width:100%;min-width:0}
#home-comparison .all-banks-disclosure>summary{min-height:48px;min-width:245px;width:fit-content;padding:12px 17px;border:1px solid #d6c1ed;border-radius:12px;background:#fff;color:#40176d;font-size:13px}
#home-comparison .all-banks-panel{padding-top:22px;min-width:0}
#home-comparison .sa-bank-filters{display:flex;align-items:flex-end;gap:16px;padding:20px;background:#fff;border:1px solid #e7dff0;border-radius:18px;margin:0 0 20px}
#home-comparison .sa-bank-filters label{display:flex;flex-direction:column;min-width:0;gap:0;margin:0;font-size:12px;font-weight:700;color:#5c466d;line-height:1.5}
#home-comparison .sa-bank-filters label>span:first-child{display:block;margin:0 0 7px}
#home-comparison .sa-bank-filters .sa-search-field{flex:1 1 0}
#home-comparison .sa-bank-filters .sa-finance-field{flex:0 0 250px}
#home-comparison .sa-search-input{display:block;position:relative;margin:0}
#home-comparison .sa-search-input svg{position:absolute;left:14px;top:15px;width:18px;height:18px;stroke:#8b779f;fill:none;stroke-width:1.8;pointer-events:none}
#home-comparison .sa-bank-filters input,#home-comparison .sa-bank-filters select{font-family:inherit;font-size:14px;font-weight:400;height:48px;width:100%;margin:0;border:1px solid #dccfe9;border-radius:10px;background-color:#fff;color:#291a45;padding:0 14px;box-sizing:border-box;min-width:0}
#home-comparison .sa-bank-filters input{padding-left:42px}
#home-comparison .sa-bank-filters select{padding-right:38px}
#home-comparison .sa-reset-filter{font:700 12px/1.5 Manrope,Arial,sans-serif;border:0;background:transparent;color:#6d28d9;min-height:48px;padding:8px 12px;cursor:pointer;white-space:nowrap}
#home-comparison .home-comparison-date{font-size:12px;line-height:1.7;color:#70627e;margin:0 0 14px}
#home-comparison .sa-table-host{display:block;min-width:0;gap:0}
#home-comparison .sa-bank-table-wrap{width:100%;overflow:auto;overscroll-behavior-inline:contain;border:1px solid #e7dff0;border-radius:18px;background:#fff}
#home-comparison .sa-bank-table{border-collapse:collapse;table-layout:fixed;width:100%;text-align:left;min-width:920px;margin:0;color:#291a45}
#home-comparison .sa-bank-table thead th{font-size:11px;letter-spacing:.025em;font-weight:800;line-height:1.5;color:#776384;padding:15px 20px;background:#f2ebfb;border-bottom:1px solid #e7dff0;vertical-align:middle;text-align:left;text-transform:none}
#home-comparison .sa-bank-table thead th:first-child{width:29%}
#home-comparison .sa-bank-table thead th:nth-child(2){width:16%}
#home-comparison .sa-bank-table thead th:nth-child(3){width:26%}
#home-comparison .sa-bank-table thead th:nth-child(4){width:14%}
#home-comparison .sa-bank-table thead th:last-child{width:15%}
#home-comparison .sa-bank-table td,#home-comparison .sa-bank-table tbody th{padding:19px 20px;vertical-align:middle;border-bottom:1px solid #eee7f3;background:transparent;text-align:left}
#home-comparison .sa-bank-row{scroll-margin-top:110px}
#home-comparison .sa-bank-identity{display:flex;gap:14px;align-items:center;min-width:0}
#home-comparison .sa-bank-identity>div{min-width:0}
#home-comparison .sa-bank-logo{width:76px;height:40px;display:grid;place-items:center;flex-shrink:0;background:#fff;border-radius:8px;padding:4px;overflow:hidden}
#home-comparison .sa-bank-logo>*{grid-area:1/1;min-width:0}
#home-comparison .sa-bank-logo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;z-index:1}
#home-comparison .sa-logo-on-purple{background:#40176d;padding:5px 8px}
#home-comparison .sa-bank-initials{font-size:12px;font-weight:800;letter-spacing:.02em;color:#6d4c8c;text-align:center;line-height:1.2}
#home-comparison .sa-logo-on-purple .sa-bank-initials{color:#fff}
#home-comparison .sa-bank-name{font-size:13px;font-weight:800;line-height:1.4;display:block;color:#291a45;letter-spacing:0}
#home-comparison .sa-bank-sub{display:block;font-size:11px;color:#70627e;margin-top:4px;font-weight:400;line-height:1.5}
#home-comparison .sa-bank-rate{font-size:25px;font-weight:800;color:#6d28d9;letter-spacing:-.8px;line-height:1.2;display:block;font-variant-numeric:tabular-nums}
#home-comparison .sa-bank-fixed{display:block;font-size:11px;color:#70627e;margin-top:5px;line-height:1.5}
#home-comparison .sa-bank-follow{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
#home-comparison .sa-bank-fee{font-weight:800;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#home-comparison .sa-bank-toggle{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 0;border:0;background:transparent;color:#40176d;font:800 12px/1.4 Manrope,Arial,sans-serif;white-space:nowrap;cursor:pointer}
#home-comparison .sa-bank-toggle-icon{font-size:20px;font-weight:400;line-height:1}
#home-comparison .sa-bank-detail-row>td{background:#faf6ff;padding:24px;vertical-align:top}
#home-comparison .sa-bank-detail-content{font-size:13px;color:#554267}
#home-comparison .sa-bank-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 17px;padding:0}
#home-comparison .sa-bank-facts dt{font-size:12px;line-height:1.5;color:#70627e;margin-bottom:5px}
#home-comparison .sa-bank-facts dd{margin:0;font-size:13px;font-weight:700;line-height:1.6;color:#291a45}
#home-comparison .sa-bank-conditions{margin:0 0 12px;line-height:1.7;font-size:13px;color:#554267}
#home-comparison .sa-bank-verified,#home-comparison .sa-bank-fee-note{font-size:12px;color:#70627e;margin:6px 0 0;line-height:1.7}
#home-comparison .sa-bank-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px;margin-top:20px;padding-top:18px;border-top:1px solid #e6daef}
#home-comparison .sa-bank-actions button,#home-comparison .sa-bank-actions a{font-size:12px;line-height:1.5;min-height:44px;display:inline-flex;align-items:center;font-weight:700}
#home-comparison .sa-bank-actions .button{padding:11px 18px;border-radius:10px;background:#40176d;color:#fff;box-shadow:none}
#home-comparison .sa-bank-actions a{color:#6d28d9;text-decoration:underline;text-underline-offset:3px}
#home-comparison .sa-swipe-hint{display:none;font-size:12px;color:#70627e;margin:0 0 10px}
#home-comparison .home-comparison-empty{font-size:14px;line-height:1.6;color:#554267;background:#f4edff;border:1px solid #e0d1ef;border-radius:16px;padding:28px;margin:0}
#home-comparison .home-comparison-footnote{font-size:12px;line-height:1.8;color:#70627e;max-width:1050px;margin:20px 0 0}
#home-comparison .all-banks-panel>.full-comparison{font-size:13px;margin-top:15px;color:#6d28d9;min-height:44px}
#home-comparison [hidden]{display:none!important}
#home-comparison .sa-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#home-comparison :focus-visible{outline:3px solid #a879e8;outline-offset:4px}
/* Knowledge Hub: first guide is featured; other guide wording, links and assets are unchanged. */
#guides{margin:0;padding:52px 0;background:#fff;border:0;border-radius:0;color:#211b48}
#guides>.container{max-width:1244px;padding:0 32px}
#guides .section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
#guides .section-heading h2{font-size:34px;font-weight:800;letter-spacing:-1.2px;line-height:1.2;color:#211b48;margin:0}
#guides .section-heading .text-link{font-size:14px;font-weight:800;color:#6d28d9;white-space:nowrap;min-height:0;padding-bottom:4px;border-bottom:1px solid #bb93ec}
#guides .guide-grid{display:grid;grid-template-columns:minmax(0,1.17fr) minmax(0,1fr);gap:24px;align-items:stretch}
#guides .guide{min-width:0;border:1px solid #e8dfef;border-radius:20px;overflow:hidden;transition:box-shadow .18s,border-color .18s;box-shadow:none;margin:0;color:#211b48;text-decoration:none}
#guides .guide-image{position:relative;overflow:hidden;background:#eee6f8;border-radius:0;min-height:0}
#guides .guide-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
#guides .guide-image>span{display:block;position:absolute;left:18px;top:18px;padding:7px 11px;background:#fff;border-radius:7px;font-size:11px;font-weight:800;color:#573575;line-height:1.3}
#guides .guide-copy h3{font-size:24px;line-height:1.28;letter-spacing:-.6px;font-weight:800;color:#211b48;margin:0}
#guides .guide-copy p{font-size:14px;line-height:1.65;color:#6b5d77;margin:10px 0 18px}
#guides .guide-copy .text-link{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:800;color:#6d28d9;min-height:0;margin:0;line-height:1.5}
#guides .guide-copy .text-link:after{content:'→';font-size:18px;line-height:1}
#guides .guide:first-child{grid-row:span 2;background:#f6f0fd;border-color:#e8daf8;display:flex;flex-direction:column}
#guides .guide:first-child .guide-image{height:265px;min-height:265px}
#guides .guide:first-child .guide-copy{padding:25px 28px 26px;flex:1}
#guides .guide:first-child h3{font-size:28px;max-width:440px;letter-spacing:-.8px}
#guides .guide:not(:first-child){display:grid;grid-template-columns:154px minmax(0,1fr);background:#fff}
#guides .guide:not(:first-child) .guide-image{height:100%;min-height:207px}
#guides .guide:not(:first-child) .guide-image>span{left:10px;top:12px;right:10px;padding:6px 8px;font-size:10px;width:fit-content}
#guides .guide:not(:first-child) .guide-copy{padding:24px 23px;align-self:center}
#guides .guide:not(:first-child) h3{font-size:21px}
#guides .guide:not(:first-child) .guide-copy p{font-size:13px;margin:9px 0 17px}
#guides .guide:nth-child(3){background:#fdfbf6;border-color:#eee7d7}
#guides a:focus-visible{outline:3px solid #8f53df;outline-offset:6px}
@media(hover:hover){
 #home-comparison .sa-bank-row:hover{background:#fcfaff}
 #home-comparison .sa-reset-filter:hover,#home-comparison .sa-bank-toggle:hover{color:#54208c}
 #home-comparison .sa-bank-actions .button:hover{background:#54208c}
 #guides .guide:hover{border-color:#c9a9ed;box-shadow:0 10px 25px #3712580c}
 #guides .guide:hover img{transform:scale(1.025)}
}
@media(max-width:1000px){
 #home-comparison .sa-swipe-hint{display:block}
}
@media(max-width:950px){
 #guides>.container{padding:0 24px}
 #guides .guide-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:18px}
 #guides .guide:not(:first-child){grid-template-columns:120px minmax(0,1fr)}
 #guides .guide:not(:first-child) .guide-copy{padding:20px 18px}
 #guides .guide:not(:first-child) h3{font-size:19px}
 #guides .guide:first-child h3{font-size:25px}
 #guides .guide:first-child .guide-copy{padding:24px}
}
@media(max-width:760px){
 #home-comparison{margin:12px 9px 0;padding:30px 0;border-radius:22px}
 #home-comparison>.container{padding:0 16px}
 #home-comparison .section-heading{align-items:flex-start;gap:12px;position:relative;margin-bottom:22px}
 #home-comparison .section-heading .sa-bank-count{position:absolute;top:-2px;right:0;padding:5px 10px;font-size:11px}
 #home-comparison .section-heading .eyebrow{padding-right:100px;min-height:20px;font-size:10px}
 #home-comparison h2{font-size:29px;letter-spacing:-.8px}
 #home-comparison .section-heading p:not(.eyebrow):not(.sa-bank-count){font-size:14px;margin-top:11px}
 #home-comparison .all-banks-disclosure>summary{width:100%;min-width:0;font-size:14px}
 #home-comparison .all-banks-panel{padding-top:18px}
 #home-comparison .sa-bank-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:13px;padding:16px;border-radius:15px}
 #home-comparison .sa-bank-filters .sa-search-field{grid-column:1/-1}
 #home-comparison .sa-bank-filters .sa-finance-field{width:auto}
 #home-comparison .sa-bank-filters input,#home-comparison .sa-bank-filters select{font-size:16px}
 #home-comparison .sa-reset-filter{font-size:11px;padding:8px}
 #home-comparison .sa-bank-table{min-width:790px}
 #home-comparison .sa-bank-table thead th,#home-comparison .sa-bank-table td,#home-comparison .sa-bank-table tbody th{padding-left:14px;padding-right:14px}
 #home-comparison .sa-bank-table thead th:first-child{width:220px}
 #home-comparison .sa-bank-identity{gap:8px}
 #home-comparison .sa-bank-logo{width:52px;height:30px}
 #home-comparison .sa-bank-name{font-size:12px}
 #home-comparison .sa-bank-sub,#home-comparison .sa-bank-fixed{font-size:11px}
 #home-comparison .sa-bank-rate{font-size:23px}
 #home-comparison .sa-bank-table thead th:first-child,#home-comparison .sa-bank-row>th:first-child{position:sticky;left:0;background:#fff;z-index:1;box-shadow:5px 0 10px #291a4507}
 #home-comparison .sa-bank-table thead th:first-child{background:#f2ebfb}
 #home-comparison .sa-bank-detail-row>td{padding:20px}
 #home-comparison .sa-bank-detail-content{max-width:calc(100vw - 92px);position:sticky;left:20px}
 #home-comparison .sa-bank-facts{grid-template-columns:1fr;gap:13px}
 #home-comparison .sa-bank-facts>div{display:flex;justify-content:space-between;gap:16px}
 #home-comparison .sa-bank-facts dd{text-align:right;max-width:65%}
 #home-comparison .sa-bank-actions{gap:8px 16px}
 #home-comparison .sa-bank-actions .button{width:100%;justify-content:center}
}
@media(max-width:700px){
 #guides{padding:34px 0}
 #guides>.container{padding:0 18px}
 #guides .section-heading{margin-bottom:22px;gap:14px;flex-direction:row;text-align:left;align-items:center}
 #guides .section-heading h2{font-size:28px;letter-spacing:-.9px}
 #guides .section-heading .text-link{font-size:12px}
 #guides .guide-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 #guides .guide:first-child{grid-row:auto}
 #guides .guide:first-child .guide-image{height:auto;min-height:0;aspect-ratio:1.8}
 #guides .guide:first-child .guide-copy{padding:23px}
 #guides .guide:first-child h3{font-size:25px}
 #guides .guide:not(:first-child){grid-template-columns:110px minmax(0,1fr)}
 #guides .guide:not(:first-child) .guide-image{min-height:190px}
 #guides .guide:not(:first-child) .guide-copy{padding:20px 17px}
 #guides .guide:not(:first-child) h3{font-size:19px}
 #guides .guide-image>span{left:14px;top:14px}
 #guides .guide:not(:first-child) .guide-image>span{left:8px;right:8px;font-size:9px;padding:6px}
 #guides .guide-copy p{font-size:14px}
 #guides .guide:not(:first-child) .guide-copy p{font-size:12px}
}
@media(max-width:350px){
 #home-comparison .sa-bank-filters{grid-template-columns:minmax(0,1fr)}
 #home-comparison .sa-reset-filter{justify-self:start;min-height:40px;padding-left:0}
 #guides .section-heading h2{font-size:25px}
 #guides .guide:not(:first-child){grid-template-columns:88px minmax(0,1fr)}
 #guides .guide:not(:first-child) .guide-copy{padding:18px 14px}
 #guides .guide:not(:first-child) h3{font-size:18px}
 #guides .guide-copy .text-link{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 #guides .guide,#guides .guide-image img{transition:none}
}

/* Mobile bank cards preserve the same products, filters and expanded details. */
@media(max-width:760px){
 #home-comparison .sa-mobile-cards{display:grid;gap:16px}
 #home-comparison .sa-mobile-card{min-width:0;background:#fff;border:1px solid #e7dff0;border-radius:20px;padding:18px;scroll-margin-top:100px}
 #home-comparison .sa-mobile-card .sa-bank-identity{gap:12px;align-items:center}
 #home-comparison .sa-mobile-card .sa-bank-logo{width:68px;height:42px;flex:0 0 68px}
 #home-comparison .sa-mobile-card .sa-bank-name{font-size:16px;line-height:1.4;margin:0;color:#291a45}
 #home-comparison .sa-mobile-card .sa-bank-sub{font-size:12px;line-height:1.5;margin-top:3px}
 #home-comparison .sa-mobile-metrics{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;margin:16px 0 0;padding-top:14px;border-top:1px solid #eee7f3}
 #home-comparison .sa-mobile-card dt{font-size:12px;line-height:1.5;font-weight:600;color:#665477;margin:0 0 4px}
 #home-comparison .sa-mobile-metrics dd{margin:0;font-size:23px;line-height:1.3;font-weight:800;color:#40176d}
 #home-comparison .sa-mobile-metrics>div:first-child dd{color:#6d28d9;font-size:28px}
 #home-comparison .sa-mobile-fixed{margin:4px 0 14px;font-size:12px;color:#665477;line-height:1.5}
 #home-comparison .sa-mobile-follow{margin:0;padding:12px 0;border-top:1px solid #eee7f3;border-bottom:1px solid #eee7f3}
 #home-comparison .sa-mobile-follow dd{margin:0;color:#372343;font-size:14px;line-height:1.6}
 #home-comparison .sa-mobile-toggle{display:flex;width:100%;min-height:44px;justify-content:space-between;margin-top:8px;font-size:14px}
 #home-comparison .sa-mobile-detail[hidden]{display:none}
 #home-comparison .sa-mobile-card .sa-bank-detail-content{position:static;max-width:none;padding-top:12px}
 #home-comparison .sa-mobile-card .sa-bank-conditions,#home-comparison .sa-mobile-card .sa-bank-fee-note{overflow-wrap:anywhere}
 #home-comparison .sa-mobile-card .sa-bank-facts{display:grid;grid-template-columns:1fr}
 #home-comparison .sa-mobile-card .sa-bank-actions{display:flex;flex-wrap:wrap}
 #home-comparison .sa-mobile-card .sa-bank-actions .button{width:100%;justify-content:center}
}
