*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{position:relative;background:#F1F0EA;font-family:'Inter',sans-serif;color:#525252;-webkit-font-smoothing:antialiased;min-width:1280px}
.m{display:none}
.page{position:relative;width:1280px;height:21109px;margin:0 auto}
.canvas{position:absolute;inset:0}
.t,.b,.im,.ab{position:absolute}
.t{color:#525252;font-style:normal}
.t b{font-weight:700}
.b{border-radius:8px}
.im{border-radius:8px;overflow:hidden}
.ph{background:#e4e4e4}
.anchor{position:absolute;left:0;width:1px;height:1px;scroll-margin-top:0}
/* sticky sub menu */
.side{position:absolute;left:0;top:1297px;width:176px;height:19812px;pointer-events:none}
.side-in{position:sticky;top:96px;height:340px;width:176px;pointer-events:auto}
.side a{position:absolute;left:20px;font-size:14px;line-height:17px;white-space:nowrap;color:#525252;text-decoration:none;font-weight:400;transition:color .15s}
.side a:hover{color:#00B339}
.side a.active{color:#00B339;font-weight:700}
.bar{position:absolute;left:14px;width:2px;height:12px;border-radius:100px;background:#00B339;transition:top .25s ease}

/* ======================= mobile (<=767px) ======================= */
@media (max-width:767px){
  body{min-width:0}
  .page,.side{display:none}
  .m{display:block;max-width:560px;margin:0 auto;padding:0 16px 55px;overflow-x:clip}
  html{scroll-padding-top:70px}
  .m *{box-sizing:border-box}
  .m p,.m h1,.m h2,.m h3{margin:0}
  .m-top{position:relative;display:flex;align-items:center;justify-content:space-between;height:63px;padding-top:0}
  .m-brand{font-size:12px;font-weight:700;line-height:15px}
  .m-menu{all:unset;display:flex;align-items:center;gap:8px;font:500 12px/15px 'Inter',sans-serif;color:#525252;cursor:pointer}
  .m-menu i{display:block;width:31px;height:13px;position:relative}
  .m-menu u{position:absolute;left:0;width:31px;height:4px;border-radius:100px;background:#525252;transition:transform .2s,top .2s}
  .m-menu u:nth-child(1){top:0}.m-menu u:nth-child(2){top:9px}
  .m-menu[aria-expanded=true] u:nth-child(1){top:4.5px;transform:rotate(12deg)}
  .m-menu[aria-expanded=true] u:nth-child(2){top:4.5px;transform:rotate(-12deg)}
  .m-menu-list{position:absolute;right:0;top:48px;z-index:30;list-style:none;background:#fff;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.15);padding:8px 0;min-width:160px}
  .m-menu-list[hidden]{display:none}
  .m-menu-list a{display:block;padding:10px 16px;font-size:14px;font-weight:500;color:#525252;text-decoration:none}
  .m-crumbs{display:flex;align-items:center;gap:16px;font-size:12px;line-height:15px;margin-top:48px;white-space:nowrap}
  .m-crumbs img{width:10.5px;height:7.36px}
  .m-crumbs .cur{color:#00B339;font-weight:700}
  .m-hero{margin-top:16px}
  .m-hero h1{font-size:32px;line-height:normal;font-weight:700}
  .m-p{font-size:16px;line-height:24px}
  .m-p b{font-weight:700}
  .m-rule{display:block;width:100%;height:.5px;margin-top:44px}
  .m-sec>.m-rule{margin-top:44px}
  .m-meta{display:grid;grid-template-columns:1fr 1fr;gap:0 17px;margin-top:24px;font-size:14px}
  .m-meta div{display:flex;flex-direction:column;gap:8px}
  .m-meta b{line-height:17px}.m-meta span{line-height:normal}
  .m-h{font-weight:700;line-height:29px}
  .m-h3{font-weight:700;line-height:normal}
  .m-cap{font-size:14px;line-height:24px;font-weight:500;font-style:italic;color:#000}
  .m-pic{position:relative;overflow:hidden;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.25);flex:none;max-width:none}
  .m-ph{background:#e4e4e4}
  .m-rot{position:relative;flex:none}
  .m-card{background:#fff;border-radius:8px;padding:16px;flex:none;font-size:16px;line-height:24px;max-width:100%}
  .m-card.w100{width:100%}
  .m-card .bd{font-weight:700}
  .m-hs{margin:0 -16px;overflow-x:auto;padding:0 16px 16px;margin-bottom:-16px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .m-hs::-webkit-scrollbar{display:none}
  .m-hs-in{display:flex;align-items:flex-start;width:max-content;padding-right:16px}
  .m-hs-in.shadowed{filter:drop-shadow(0 4px 8px rgba(0,0,0,.25))}
  .m-hs-in.shadowed .m-pic{box-shadow:none}
  .m-stack{display:flex;flex-direction:column;gap:16px}
  .m-qs{display:flex;flex-direction:column;gap:16px}
  .m-q{height:100px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 24px;font-size:20px;line-height:30px}
  .m-insight{background:#525252;color:#fff;border-radius:8px;padding:16px 16px 23px;min-height:210px}
  .m-insight .t1{font-size:24px;line-height:35px;font-weight:700}
  .m-insight .t2{font-size:16px;line-height:24px;margin-top:16px}
  .m-insight b{font-weight:700}
  .m-quotes{display:grid;grid-template-columns:1fr 71px 1fr;row-gap:16px;align-items:stretch}
  .m-qc{background:#fff;border-radius:8px;padding:16px;min-height:176px;font-size:16px;line-height:24px;font-weight:700}
  .m-qc.dark{background:#525252;color:#fff}
  .m-arrow{width:44px;height:44px;align-self:center;justify-self:center}
  .m-cols{display:flex;flex-direction:column}
  .m-step{display:flex;flex-direction:column;width:294px;flex:none}
  .m-step b{font-size:16px;line-height:24px}
  .m-step span{font-size:14px;line-height:24px;margin-bottom:16px;margin-top:8px}
  .m-take{background:#525252;color:#fff;border-radius:8px;padding:24px;display:flex;flex-direction:column;gap:16px}
  .m-take .t1{font-size:32px;line-height:normal;font-weight:700}
  .m-take .t2{font-size:18px;line-height:26px}
  /* sticky section tabs */
  .m-tabs{position:sticky;top:8px;z-index:20;display:flex;overflow-x:auto;height:40px;background:#fff;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.08);scrollbar-width:none}
  .m-tabs::-webkit-scrollbar{display:none}
  .m-tab{position:relative;flex:none;min-width:138px;padding:0 24px;display:flex;align-items:center;justify-content:center;font-size:14px;line-height:17px;color:#525252;text-decoration:none;white-space:nowrap}
  .m-tab.active{font-weight:700;color:#00B339}
  .m-tab.active::after{content:"";position:absolute;bottom:0;left:50%;width:53px;margin-left:-26.5px;height:3px;background:#00B339}
}

/* ======================= shared: links, transitions ======================= */
.topnav{position:absolute;left:144px;top:40px;width:1024px;display:flex;justify-content:flex-end;gap:24px;font-size:14px;line-height:17px;font-weight:500}
.topnav a,.t a,.m-brand,.m-crumbs a{color:inherit;text-decoration:none;transition:color .2s ease}
.topnav a:hover,.t a:hover,.m-crumbs a:hover,.m-brand:hover{color:#00B339}
.m-menu-list a:hover{background:#f5f5f5}
@keyframes pgin{from{opacity:0}to{opacity:1}}
body{animation:pgin .45s ease both}
html.page-leave body{opacity:0;transition:opacity .22s ease}
.rv{opacity:0;transform:translateY(14px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}body{animation:none}.rv{opacity:1;transform:none;transition:none}}

/* ======================= lightbox ======================= */
.zoomable{cursor:zoom-in}
.zoomable:focus-visible{outline:2px solid #00B339;outline-offset:2px}
.lb{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:rgba(20,20,20,.88);opacity:0;transition:opacity .28s ease;cursor:zoom-out}
.lb.open{opacity:1}
.lb-stage{transform:scale(.95);transition:transform .32s cubic-bezier(.2,.7,.2,1);display:flex;align-items:center;justify-content:center;max-width:94vw;max-height:92vh}
.lb.open .lb-stage{transform:scale(1)}
.lb-stage img,.lb-stage video{display:block;max-width:94vw;max-height:92vh;border-radius:8px;box-shadow:0 12px 48px rgba(0,0,0,.5);cursor:default}
.lb-rot{position:relative}
.lb-rot img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;transform:translate(-50%,-50%) rotate(-90deg)}
.lb-close{position:absolute;top:20px;right:24px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font:400 26px/44px 'Inter',sans-serif;cursor:pointer;transition:background .2s}
.lb-close:hover{background:rgba(255,255,255,.28)}
body.lb-lock{overflow:hidden}

/* ======================= Editorial CMS theme: navy (body.navy) ======================= */
.navy{background:var(--page-bg,#00003C);color:#fff}
.navy .t{color:#fff}
.navy .b .t{color:#525252}                     /* text on white cards stays dark */
.navy .t[style*="color:#000"]{color:#fff!important}   /* captions */
/* (current-breadcrumb color is now set globally below) */
.navy .b.grad{background:linear-gradient(93deg,#162667 0%,#091547 100%)!important}
.navy .b.grad .t{color:#fff}
.navy .topnav{color:#fff}
.navy .topnav a:hover,.navy .t a:hover,.navy .m-crumbs a:hover,.navy .m-brand:hover{color:#00B339}
/* lines + arrows on navy */
.navy img.ab[src$="line.svg"],.navy img.ab[src$="arrow.svg"],.navy .m-rule,.navy .m-crumbs img{filter:brightness(0) invert(1)}
/* desktop sub menu */
.navy .side a{color:#fff}
.navy .side a:hover{color:#00B339}
.navy .side a.active{color:#00B339}
.navy .bar{background:#00B339}
/* mobile */
.navy .m-menu{color:#fff}
.navy .m-menu u{background:#fff}
.navy .m-menu-list{background:#fff}
.navy .m-card{color:#525252}
.navy .m-cap{color:#fff}
.navy .m-crumbs .cur{color:#00B339}
.navy .m-insight,.navy .m-qc.dark{background:linear-gradient(93deg,#162667 0%,#091547 100%)}
.navy .m-tab.active{color:#00B339}
.navy .m-tab.active::after{background:#00B339}
.navy .m-tabs{color:#525252}
.navy .m-hs-in.shadowed .m-pic{box-shadow:none}
.navy .m-qc,.navy .m-q{color:#525252}
.navy .m-qc.dark{color:#fff}

/* ======================= Money.com theme: sky (body.sky) ======================= */
.sky{background:#CAF2FF}
.sky .topnav a:hover,.sky .t a:hover,.sky .m-crumbs a:hover,.sky .m-brand:hover,.sky .side a:hover{color:#00B339}

/* ======================= menu / sub menu / breadcrumb states: green + bold ======================= */
.t[style*="#8300b3"]{color:#00B339!important}          /* current breadcrumb (inline purple in markup) */
.topnav a:hover,.t a:hover,.m-crumbs a:hover,.m-brand:hover,.side a:hover,.side a.active{color:#00B339;font-weight:700}
.m-menu-list a:hover{color:#00B339;font-weight:700}
.m-tab:hover{color:#00B339;font-weight:700}
.topnav a,.t a,.side a,.m-crumbs a,.m-tab,.m-menu-list a,.m-brand{transition:color .2s ease}
/* reserve the bold width so hover/selected never shifts neighbours */
.bw{display:inline-block}
.bw::after{content:attr(data-t);display:block;height:0;overflow:hidden;visibility:hidden;font-weight:700;pointer-events:none}
.m-menu-list a.bw{display:block}

/* CMS case study: gradient boxes (kept independent of the page background) */
.grad-theme .b.grad{background:linear-gradient(93deg,#162667 0%,#091547 100%)!important}
.grad-theme .b.grad .t{color:#fff}
.grad-theme .m-insight,.grad-theme .m-qc.dark{background:linear-gradient(93deg,#162667 0%,#091547 100%)}
.foot{width:1024px;margin:0 0 0 calc(50% - 496px);padding:0 0 40px;font-size:16px;line-height:24px;color:#525252}
@media (max-width:767px){.foot{width:auto;margin:0;padding:40px 16px 32px}}
/* background grid: 10 columns across the 1024px content column + 2 outer rules each side */
body::before{content:"";position:fixed;z-index:-1;pointer-events:none;top:0;bottom:0;left:calc(50% + 16px);width:1533px;transform:translateX(-50%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1533' height='4'%3E%3Cg fill='%23E3E2DB'%3E%3Crect x='0' width='1' height='4'/%3E%3Crect x='126.9' width='1' height='4'/%3E%3Crect x='253.8' width='1' height='4'/%3E%3Crect x='356.2' width='1' height='4'/%3E%3Crect x='458.6' width='1' height='4'/%3E%3Crect x='561.0' width='1' height='4'/%3E%3Crect x='663.4' width='1' height='4'/%3E%3Crect x='765.8' width='1' height='4'/%3E%3Crect x='868.2' width='1' height='4'/%3E%3Crect x='970.6' width='1' height='4'/%3E%3Crect x='1073.0' width='1' height='4'/%3E%3Crect x='1175.4' width='1' height='4'/%3E%3Crect x='1277.8' width='1' height='4'/%3E%3Crect x='1404.7' width='1' height='4'/%3E%3Crect x='1531.6' width='1' height='4'/%3E%3C/g%3E%3C/svg%3E") repeat-y}
@media (max-width:767px){body::before{display:none}}
/* gradient dark boxes (Insight, Takeaway, Money results, etc.) */
.b.grad{background:linear-gradient(93deg,#162667 0%,#091547 100%)!important}
.b.grad .t{color:#fff}
.m-insight,.m-qc.dark,.m-take{background:linear-gradient(93deg,#162667 0%,#091547 100%)}
/* type: tight grotesk for H1s, mono caps for menus */
.t[style*="top:188px"][style*="font-size:48px"],.m-hero h1{font-family:'Inter Tight','Inter',sans-serif;letter-spacing:-.025em;font-weight:700}
.topnav,.m-menu,.m-menu-list a,.m-tab,.side a{font-family:'Geist Mono','JetBrains Mono',ui-monospace,monospace;text-transform:uppercase;letter-spacing:.06em}
.topnav{font-size:12px;font-weight:500}
.side a{font-size:10px;letter-spacing:.04em}
.m-tab{font-size:12px}
/* password gate */
html.locked{overflow:hidden}
html.locked .page,html.locked .side,html.locked .m,html.locked .foot{visibility:hidden}
.gate{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(241,240,234,.97);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:opacity .25s ease}
.gate.out{opacity:0}
.gate-box{width:100%;max-width:440px;color:#525252}
.gate-k{font:500 12px/15px 'Geist Mono',ui-monospace,monospace;letter-spacing:.06em;text-transform:uppercase}
.gate-box h1{margin-top:16px;font:700 32px/39px 'Inter Tight','Inter',sans-serif;letter-spacing:-.025em}
.gate-p{margin-top:12px;font-size:16px;line-height:24px}
.gate-in{display:block;width:100%;height:48px;margin-top:28px;padding:0 16px;border:1px solid #525252;border-radius:8px;background:#fff;font:400 16px 'Inter',sans-serif;color:#525252;outline:none}
.gate-in:focus{border-color:#00B339;box-shadow:0 0 0 3px rgba(0,179,57,.18)}
.gate-err{min-height:24px;margin-top:8px;font-size:14px;line-height:24px;color:#B3261E}
.gate-row{display:flex;align-items:center;gap:20px;margin-top:8px}
.gate-btn{height:40px;padding:0 28px;border:1px solid #525252;border-radius:8px;background:#525252;color:#fff;font:600 14px 'Inter',sans-serif;cursor:pointer;transition:background .2s}
.gate-btn:hover{background:#494949}
.gate-back{font-size:14px;color:#525252;transition:color .2s}
.gate-back:hover{color:#00B339}
@keyframes gshake{20%{transform:translateX(-8px)}40%{transform:translateX(8px)}60%{transform:translateX(-5px)}80%{transform:translateX(5px)}}
.gate.shake .gate-box{animation:gshake .35s ease}
.txtlink{color:inherit;font-weight:inherit;text-decoration:none;transition:color .2s}
.txtlink:hover{color:#00B339}
.vbtn,.t a.vbtn{display:inline-block;padding:12px;border:1px solid #525252;border-radius:8px;font-size:14px;line-height:16px;font-weight:600;color:#525252;text-decoration:none;text-align:center;transition:background .2s,color .2s}
.vbtn:hover,.t a.vbtn:hover,.navy .t a.vbtn:hover,.sky .t a.vbtn:hover{background:#525252;color:#fff;font-weight:600}
.topnav{pointer-events:none}.topnav a{pointer-events:auto}
/* background grid lines hidden for now (remove this rule to bring them back) */
body::before{display:none!important}
@media (max-width:767px){
  .m-tabs,.navy .m-tabs{background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  .11 0 0 0 -.01'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>") ,#101010;box-shadow:0 4px 16px rgba(0,0,0,.25)}
  .m-tab,.navy .m-tab{color:#fff}
  .m-tab.active,.navy .m-tab.active,.m-tab:hover{color:#00B339}
}
