/* Premium layer (27 Nov 2569). Loaded last: one set of tokens and quiet surfaces over the older component files.
   White paper, navy ink, one blue for actions, AXA red only as a small mark. Depth is a soft offset shadow, never a glow. */
:root{
  --paper:#fff;--paper-2:#F5F7FA;--line:#DDE3EC;--line-strong:#C4CEDC;
  --r-control:8px;--r-card:12px;
  --elev-1:0 1px 2px rgba(11,27,51,.06),0 10px 24px -16px rgba(11,27,51,.18);
  --elev-2:0 2px 4px rgba(11,27,51,.06),0 20px 36px -20px rgba(11,27,51,.28);
  --ease-out:cubic-bezier(.16,1,.3,1);
}

/* Browser surfaces */
::selection{background:var(--brand);color:#fff}
html{scrollbar-color:#B7C3D4 transparent;caret-color:var(--brand)}
body.site-v2 a{text-underline-offset:.2em}
body.site-v2 :is(h1,h2,h3){text-wrap:balance}
body.site-v2 :is(p,li,dd){text-wrap:pretty}
body.site-v2 :is(table,output,input,select,[aria-live]){font-variant-numeric:tabular-nums}

/* Page ground: plain paper, sections separate by a hairline or the second paper tone */
html body.site-v2{background:var(--paper)}

/* Home headline: flat ink in the two brand colours, no extrusion or glow */
html body.site-v2 .brand-3d,html body.site-v2 .brand-3d .axa-red{text-shadow:none!important;filter:none!important;letter-spacing:-.01em}
html body.site-v2 .brand-3d::before,html body.site-v2 .brand-3d::after{content:none!important}

/* Buttons: one solid primary, one outlined secondary */
html body.site-v2 :is(.button.primary,.tool-card-action,.hu-btn.primary,.header-cta){
  background:var(--brand)!important;border:1px solid var(--brand)!important;border-radius:var(--r-control)!important;
  box-shadow:none!important;text-shadow:none!important;color:#fff!important;
  transition:background-color .18s var(--ease-out),transform .18s var(--ease-out)}
html body.site-v2 :is(.button.primary,.tool-card-action,.hu-btn.primary,.header-cta):hover,
html body.site-v2 a:hover .tool-card-action{background:var(--brand-strong)!important;border-color:var(--brand-strong)!important}
html body.site-v2 :is(.button.primary,.tool-card-action,.hu-btn.primary,.header-cta):active{transform:translateY(1px)}
html body.site-v2 :is(.button.secondary,.hu-btn.secondary){
  background:#fff!important;border:1px solid var(--line-strong)!important;border-radius:var(--r-control)!important;box-shadow:none!important;color:var(--brand)!important}
html body.site-v2 :is(.button.secondary,.hu-btn.secondary):hover{border-color:var(--brand)!important;background:var(--paper-2)!important}
html body.site-v2 :is(.button,.tool-card-action,.hu-btn):disabled,html body.site-v2 .button[aria-disabled="true"]{opacity:.55;cursor:not-allowed}

/* Fields: one look for every form */
html body.site-v2 #main :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){
  background-color:#fff!important;border:1px solid var(--line-strong)!important;border-radius:var(--r-control)!important;box-shadow:none!important}
html body.site-v2 #main :is(input,select,textarea):hover{border-color:#8FA3BF!important}
html body.site-v2 #main :is(input,select,textarea):focus-visible{border-color:var(--brand)!important;outline:2px solid var(--brand)!important;outline-offset:2px}
html body.site-v2 #main :is(input,textarea)::placeholder{color:#5B6B82;opacity:1}
html body.site-v2 #main :is(input,select,textarea)[aria-invalid="true"]{border-color:var(--brand-red)!important}

/* text fields drop the old gradient face; selects keep their arrow image */
html body.site-v2 #main :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea){background-image:none!important}

/* Cards: a hairline and a soft offset shadow; lift on hover only where the card is a link */
html body.site-v2 #main :is(.hs-tile,.hs-tool,.rk-plan,.insurance-category-card,.tool-card,.ulp-rider,.claim-card,.booster-option,.v2-card,.product-card){
  border:1px solid var(--line)!important;border-radius:var(--r-card)!important;box-shadow:var(--elev-1)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body.site-v2 #main :is(.hs-tile,.hs-tool,.rk-plan,.insurance-category-card,.tool-card,.product-card){background:#fff!important}
@media (hover:hover){html body.site-v2 #main :is(a.hs-tile,a.hs-tool,a.rk-plan,a.insurance-category-card,a.tool-card,a.product-card):hover{box-shadow:var(--elev-2)!important;border-color:var(--line-strong)!important}}
html body.site-v2 #main .booster-option.is-selected{background:var(--brand)!important;border-color:var(--brand)!important}

/* Small labels above headings: no wide tracking */
html body.site-v2 :is(.hs-eyebrow,.ul-kicker,.rk-kicker){letter-spacing:0!important}

/* Promo bar: readable text, no glow */
html body.site-v2 .promo-ticker :is(a,code,i,b,span),html body.site-v2 .promo-ticker-tag{text-shadow:none!important}
html body.site-v2 .promo-ticker{background:var(--ink-navy)!important;box-shadow:none!important;border-radius:var(--r-control)!important}
html body.site-v2 .promo-ticker code{background:rgba(255,255,255,.14)!important;box-shadow:none!important;color:#fff!important}
html body.site-v2 .promo-ticker i{color:#FFD98A!important}
html body.site-v2 .promo-ticker-tag{background:var(--brand-red)!important;box-shadow:none!important}

/* Photo page headers: the scrim carries legibility, not a text glow */
html body.site-v2.corporate-site main>.page-intro :is(h1,p){text-shadow:0 1px 2px rgba(4,20,48,.55)!important}

@media (prefers-reduced-motion:reduce){html body.site-v2 :is(.button,.tool-card-action,.hu-btn,.header-cta){transition:none}}

/* Margins stay plain paper; footer column headings are headings, not pills */
.site-dots{display:none!important}
html body.site-v2 .v2-footer h2,html body.site-v2 .v2-footer .footer-brand strong{display:block;width:auto;padding:0;border:0;border-radius:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html body.site-v2 .v2-footer .footer-brand strong{font-size:20px}

/* Claim guide: sub-headings sit above the 18px body, not below it */
html body.site-v2 #main .claims-guide :is(.claim-pre,.claim-forms,.claim-tips,.claim-conditions,.claim-flow,.claim-docs-req)>h4{font-size:20px;line-height:1.45}

/* Start page, plan comparison table, and the LINE link under calculator results */
html body.site-v2 #main .start-steps>h2{margin-top:48px}
html body.site-v2 #main .start-steps>h2:first-child{margin-top:0}
html body.site-v2 #main .cmp-wrap{overflow-x:auto;margin-bottom:40px}
html body.site-v2 #main .cmp-table{width:100%;min-width:560px;border-collapse:collapse;background:#fff}
html body.site-v2 #main .cmp-table :is(th,td){padding:12px 16px;border:0;border-bottom:1px solid var(--line);background:none;color:inherit;text-align:left;vertical-align:top}
html body.site-v2 #main .cmp-table thead th{font-size:14px;font-weight:600;color:#5B6B82;border-bottom-color:var(--line-strong)}
html body.site-v2 #main .cmp-table tbody th{width:26%;font-weight:600}
html body.site-v2 #main .cmp-table td:last-child{width:22%;white-space:nowrap}
html body.site-v2 #main .line-result{display:flex;width:fit-content;max-width:100%;margin-top:16px}
html body.site-v2 #main .line-result[hidden]{display:none!important}
