/* Components from the approved home/consumer anchors.
   Opt in on each individually reviewed page; no blanket page recomposition. */
body[data-brand-page]{--brand-lilac:#eae9f7;--brand-pink:#fae5e4;--brand-green:#f3f6df;--brand-ink:#172c2d;--brand-rule:#e4dbd5;}
body[data-brand-page] main .brand-process-section{background:var(--brand-lilac);color:var(--brand-ink);border:0;}
body[data-brand-page] main .brand-process{display:grid;grid-template-columns:repeat(var(--brand-step-columns,4),minmax(0,1fr));gap:38px;margin-top:40px;padding-left:0;list-style:none;}
body[data-brand-page] main .brand-process > .brand-process-item{position:relative;padding:0;border:0;min-width:0;background:transparent;box-shadow:none;}
body[data-brand-page] main .brand-step-symbol{display:block;width:66px;height:66px;margin:0 0 24px;border:0;border-radius:0;font-size:0;color:transparent;background:transparent url(images/heritage/step-1.svg) no-repeat center/contain;}
body[data-brand-page] main .brand-step-symbol svg{display:none;}
body[data-brand-page] main .brand-process > .brand-process-item:nth-child(2) .brand-step-symbol{background-image:url(images/heritage/step-2.svg);}
body[data-brand-page] main .brand-process > .brand-process-item:nth-child(3) .brand-step-symbol{background-image:url(images/heritage/step-3.svg);}
body[data-brand-page] main .brand-process > .brand-process-item:nth-child(4) .brand-step-symbol{background-image:url(images/heritage/step-4.svg);}
body[data-brand-page] main .brand-process > .brand-process-item:not(:last-child)::after{content:'';position:absolute;top:22px;right:0;left:auto;width:34px;height:26px;background:url(images/heritage/step-arrow.svg) no-repeat center/contain;border:0;}
body[data-brand-page] main .brand-process > .brand-process-item h3{font-size:18px;font-weight:600;line-height:1.5;margin:0 0 14px;}
body[data-brand-page] main .brand-process > .brand-process-item p{font-size:13px;line-height:1.9;color:#545167;margin:0;}
body[data-brand-page] main .brand-benefits{display:grid;grid-template-columns:repeat(var(--brand-benefit-columns,3),minmax(0,1fr));gap:20px;}
body[data-brand-page] main .brand-benefit{position:relative;isolation:isolate;overflow:hidden;display:block;min-width:0;padding:28px;border:0;border-radius:14px;background:var(--brand-pink);}
body[data-brand-page] main .brand-benefit:nth-child(3n+2){background:var(--brand-lilac);}
body[data-brand-page] main .brand-benefit:nth-child(3n){background:var(--brand-green);}
body[data-brand-page] main .brand-benefit::after{content:'';position:absolute;right:-15px;bottom:-28px;width:165px;height:165px;background:var(--brand-symbol,url(images/heritage/clock-card-icon.svg)) no-repeat center/contain;z-index:-1;}
body[data-brand-page] main .brand-symbol-money{--brand-symbol:url(images/heritage/money-card-icon.svg);}
body[data-brand-page] main .brand-symbol-shield{--brand-symbol:url(images/heritage/shield-card-icon.svg);}
body[data-brand-page] main .brand-symbol-human{--brand-symbol:url(images/heritage/human-card-icon.svg);}
body[data-brand-page] main .brand-symbol-sun{--brand-symbol:url(images/heritage/sun-card-icon.svg);}
body[data-brand-page] main .brand-benefit-index{display:none;}
body[data-brand-page] main .brand-benefit h3{font-size:19px;font-weight:600;line-height:1.5;margin:0 0 15px;color:var(--brand-ink);}
body[data-brand-page] main .brand-benefit p{font-size:13px;line-height:1.95;color:#3f4445;margin:0;}
body[data-brand-page] main .brand-stat-strip{background:#f8f3f2;border-block:1px solid #eee2df;}
body[data-brand-page] main .brand-stat strong{color:#e74d42;font-size:41px;font-weight:450;letter-spacing:-.035em;}
body[data-brand-page] main .brand-stat .brand-stat-word{font-size:30px;}
body[data-brand-page] main .brand-stat span{color:#625b59;font-size:12px;line-height:1.75;}
body[data-brand-page] main .brand-example{background:#fcfaf8;border:1px solid var(--brand-rule);border-radius:14px;padding:28px;}
body[data-brand-page] main .brand-example p{line-height:1.95;}
body[data-brand-page] main .brand-terms-table{border-collapse:collapse;}
body[data-brand-page] main .brand-terms-table thead{background:var(--brand-lilac);color:#283637;}
body[data-brand-page] main .brand-terms-table th,body[data-brand-page] main .brand-terms-table td{border-color:#eee6e0;padding:17px 19px;line-height:1.8;vertical-align:top;}
body[data-brand-page] main .brand-terms-table tbody tr:nth-child(even){background:#fdfbf9;}
body[data-brand-page] main .brand-final{background:var(--brand-pink);color:var(--brand-ink);}
body[data-brand-page] main .brand-final h2,body[data-brand-page] main .brand-final h3{color:var(--brand-ink);}
body[data-brand-page] main .brand-final p{color:#665452;}
body[data-brand-page] main .brand-final :is(a,button)[class*="btn"],body[data-brand-page] main .brand-final .button{background:#ff5349;color:var(--brand-ink);}
@media(max-width:1100px){body[data-brand-page] main .brand-benefits{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){
 body[data-brand-page] main .brand-process{grid-template-columns:1fr;gap:28px;margin-top:30px;}
 body[data-brand-page] main .brand-process > .brand-process-item{padding:0 0 22px 76px;min-height:120px;}
 body[data-brand-page] main .brand-step-symbol{position:absolute;left:0;top:2px;width:49px;height:49px;margin:0;}
 body[data-brand-page] main .brand-process > .brand-process-item:not(:last-child)::after{top:auto;bottom:0;left:13px;right:auto;width:22px;height:25px;transform:rotate(90deg);}
 body[data-brand-page] main .brand-process > .brand-process-item h3{font-size:17px;}
 body[data-brand-page] main .brand-benefits{grid-template-columns:1fr;gap:15px;}
 body[data-brand-page] main .brand-benefit{padding:25px;}
 body[data-brand-page] main .brand-benefit h3{font-size:18px;}
 body[data-brand-page] main .brand-benefit p{font-size:14px;line-height:1.85;}
 body[data-brand-page] main .brand-stat strong{font-size:31px;}
 body[data-brand-page] main .brand-stat .brand-stat-word{font-size:25px;}
 body[data-brand-page] main .brand-example{padding:23px;}
 body[data-brand-page] main .brand-terms-table th,body[data-brand-page] main .brand-terms-table td{padding:15px 12px;}
}
@media(max-width:360px){body[data-brand-page] main .brand-stat strong{font-size:27px;}body[data-brand-page] main .brand-stat .brand-stat-word{font-size:23px;}}

body[data-brand-page] main .brand-process-section .section-header{text-align:left!important;max-width:760px;margin-bottom:32px;}
/* Nested step cards retain their original text and order. */
body[data-brand-page] main .brand-process-content{padding:0;border:0;background:transparent;box-shadow:none;}
body[data-brand-page] main .brand-process > .brand-process-item:first-child .brand-step-symbol{background:transparent url(images/heritage/step-1.svg) no-repeat center/contain;}
body[data-brand-page] main .brand-process > .brand-process-item:nth-child(2) .brand-step-symbol{background:transparent url(images/heritage/step-2.svg) no-repeat center/contain;}
body[data-brand-page] main .brand-process > .brand-process-item:nth-child(3) .brand-step-symbol{background:transparent url(images/heritage/step-3.svg) no-repeat center/contain;}
body[data-brand-page] main .brand-process > .brand-process-item:nth-child(4) .brand-step-symbol{background:transparent url(images/heritage/step-4.svg) no-repeat center/contain;}
body[data-brand-page] main .brand-page-hero{padding-block:64px;}
body[data-brand-page] main .brand-page-hero h1{font-size:clamp(32px,3.1vw,43px);font-weight:600;line-height:1.25;letter-spacing:-.02em;}
@media(max-width:700px){body[data-brand-page] main .brand-page-hero{padding-top:48px;padding-bottom:44px;}}
body[data-brand-page] main .brand-stat-number{display:block;color:#e74d42;font-size:41px;font-weight:450;line-height:1.35;letter-spacing:-.035em;}
body[data-brand-page] main .brand-stat-label{font-size:12px;line-height:1.75;color:#625b59;}
@media(max-width:700px){body[data-brand-page] main .brand-stat-number{font-size:31px;}}
@media(max-width:360px){body[data-brand-page] main .brand-stat-number{font-size:27px;}}

body[data-brand-page] main .brand-terms-table thead th{background:var(--brand-lilac);color:#283637;}
body[data-brand-page] main h2{font-weight:600;letter-spacing:-.02em;line-height:1.3;}

body[data-brand-page] main .brand-process::before,body[data-brand-page] main .brand-process > .brand-process-item::before,body[data-brand-page] main .brand-process-content::before,body[data-brand-page] main .brand-process-content::after{content:none;display:none;}

body[data-brand-page] main .brand-benefit::after{display:block;}
body[data-brand-page] main .brand-benefit::before{content:none;display:none;}
body[data-brand-page] main .brand-page-hero{background:#f7f0f0;border-bottom:1px solid #e4dbd5;}
body[data-brand-page] main .brand-page-hero::before,body[data-brand-page] main .brand-page-hero::after{display:none;}
body[data-brand-page] main .brand-page-hero h1 .accent{color:inherit;-webkit-text-fill-color:currentColor;background:none;box-shadow:none;}
/* Legacy isolated modules hid their SVG slot; the opted-in heritage symbol stays visible. */
body[data-brand-page] main .brand-step-symbol{display:block!important;}
body[data-brand-page] main .brand-process-content{position:static;}
body[data-brand-page] main .brand-benefit::after{opacity:1;}
/* Reading content must not depend on a scroll observer or delayed reveal animation. */
body[data-brand-page] main .reveal{opacity:1;transform:none;transition:none;}
body[data-brand-page] main .brand-benefit::after{left:auto;top:auto;}
body[data-brand-page] main .brand-process>.brand-process-item,body[data-brand-page] main .brand-process>.brand-process-item h3,body[data-brand-page] main .brand-process>.brand-process-item p{text-align:left;}
