/* Warm neutral canvas with violet, slate and champagne accents. */
:root,:root[data-theme=dark],:root[data-theme=light]{--bg:#fff!important;--bg2:#f4f2f8!important;--ink:#242337!important;--mut:#666478!important;--navy:#242337!important;--gold:#a87934!important;--line:#e4e0ec!important;--on-navy:#fff!important}
body{background:#faf9fc;color:var(--ink)}
body>header{background:#fff;color:#242337;border-bottom:1px solid #e7e2ef;box-shadow:0 4px 20px #352d4810}
body>header .wrap{max-width:1180px}body>header .nav{padding-block:16px;gap:18px}
body>header .logo{display:flex;flex-direction:column;gap:5px;font:700 clamp(23px,2.4vw,29px)/1.05 'Source Serif 4',Georgia,serif;letter-spacing:-.6px;color:#29233b;min-width:210px}
body>header .logo b{color:#78543a}body>header .logo small{font:600 10px/1.4 system-ui,sans-serif;letter-spacing:2.8px;text-transform:uppercase;color:#767084}
#home>.hero{background:radial-gradient(ellipse at 90% 0%,#ece5f6 0%,transparent 58%),linear-gradient(135deg,#fdfbf7,#f4f0fa);color:#242337;border-bottom:1px solid #e6dfec;padding:36px 0 42px}
#home .wrap{max-width:1120px}#home>section{background:#faf9fc}#home>section.alt{background:#f2eff7}
body>header nav a,body>header .lang{opacity:1;border:1px solid #ffffff80;border-bottom:4px solid #443354;border-radius:12px;background:linear-gradient(145deg,#88749f,#625174);box-shadow:0 3px 0 #44335424,0 6px 12px #33234515;color:#fff;padding:11px 14px;transition:transform .15s,box-shadow .15s}
body>header nav a:nth-child(1){background:linear-gradient(145deg,#4f536b,#32374e);border-bottom-color:#222639}
body>header nav a:nth-child(2){background:linear-gradient(145deg,#98809f,#715879);border-bottom-color:#503957}
body>header nav a:nth-child(3){background:linear-gradient(145deg,#6b7597,#495370);border-bottom-color:#303952}
body>header nav a:nth-child(4){background:linear-gradient(145deg,#ae8671,#805e4d);border-bottom-color:#5b4034}
body>header nav a:nth-child(5){background:linear-gradient(145deg,#8b79b0,#625186);border-bottom-color:#44355f}
body>header nav a:nth-child(6){background:linear-gradient(145deg,#658780,#466861);border-bottom-color:#2d4943}
body>header .lang{background:linear-gradient(145deg,#ba9353,#926f37);border-bottom-color:#674d24}
body>header nav a.selected{outline:2px solid #9380b1;outline-offset:3px;box-shadow:0 3px 0 #44335424,0 6px 14px #33234520}
body>header nav a:hover,body>header .lang:hover{transform:translateY(-2px);filter:brightness(1.06)}
#account-guide .ag-head{background:linear-gradient(120deg,#302b44,#76618b);border-bottom:1px solid #ffffff26}
#account-guide .ag-head h2{font:700 clamp(23px,2.6vw,31px)/1.15 'Source Serif 4',Georgia,serif;letter-spacing:-.4px;text-shadow:0 2px 2px #17102440}
#account-guide .ag-head small{color:#ead2ac}#account-guide .ag-head p{color:#f5edf9}
#account-guide .ag-choice{background:linear-gradient(145deg,#766e91,#514766);border-color:#8e85a4;border-bottom-color:#352c47;box-shadow:0 5px 0 #352c4720,0 9px 18px #352c4718}
#account-guide .ag-choice.purple{background:linear-gradient(145deg,#af8b65,#886342);border-color:#c6a785;border-bottom-color:#65462b}
#account-guide .ag-primary,#account-guide .ag-next{background:linear-gradient(145deg,#82729e,#5b4c75);border:1px solid #9b8bab;border-bottom:4px solid #3b2e50;box-shadow:0 3px 0 #3b2e5018,0 6px 13px #30233f15}
#account-guide .ag-back,#account-guide .ag-help{border-bottom-width:4px;box-shadow:0 3px 0 #30233f10,0 6px 12px #30233f10}
#account-guide .ag-launch{background:linear-gradient(145deg,#80709c,#514166);border:1px solid #9785b0;border-bottom:4px solid #30223f;box-shadow:0 4px 0 #30223f24,0 10px 22px #30223f25;color:white;z-index:999}
#account-guide .ag-terms{background:#f5f1fa;border-color:#ddd3e9}#account-guide .ag-offer{background:#faf3e7;border-left-color:#a87934}
.btn{border-radius:11px;background:linear-gradient(145deg,#82729e,#5b4c75);border:1px solid #9b8bab;border-bottom:4px solid #3b2e50;color:white!important;box-shadow:0 3px 0 #3b2e5018,0 6px 13px #30233f15;transition:transform .15s}.btn.p{background:linear-gradient(145deg,#b68f53,#8d692f);border-color:#c7a879;border-bottom-color:#65481e;color:#fff}.btn:hover{transform:translateY(-2px)}
.box{border-radius:16px;border:1px solid #e2dce9;border-top:3px solid #aa8b60;box-shadow:0 8px 24px #352d4810}body>footer{background:#282337;color:#f5eff9}
body>header nav a:active,body>header .lang:active,.btn:active,#account-guide .ag-primary:active,#account-guide .ag-launch:active{transform:translateY(2px);box-shadow:0 1px 2px #30233f18}
@media(max-width:720px){body>header .nav{padding-block:12px;gap:12px}body>header .logo{font-size:24px;min-width:0}body>header nav a{padding:9px 11px}#home>.hero{padding-top:24px}#account-guide .ag-launch{right:14px;bottom:14px}#account-guide .ag-head h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){body>header nav a,body>header .lang,.btn{transition:none}}

body>header nav{gap:7px}body>header nav a{padding:10px 11px}body>header .nav{gap:12px}body>header .logo{min-width:180px;font-size:25px}.box button{margin-top:18px}.ag-prompt .ag-check{font-size:14px}#account-guide .ag-service-layout form{max-width:none}#upcoming .ag-note{margin-top:24px}

body>header nav a:nth-child(7){background:linear-gradient(145deg,#a07f67,#765943);border-bottom-color:#513b2b}body>header nav a:nth-child(8){background:linear-gradient(145deg,#658780,#466861);border-bottom-color:#2d4943}

/* Distinct service colours, applied to both main and nested options. */
#account-guide .ag-choice[data-category=trading],#account-guide .ag-choice[data-group=trading]{background:linear-gradient(145deg,#397bc1,#24518c);border-color:#6f9ed0;border-bottom-color:#17365e}
#account-guide .ag-choice[data-category=investing],#account-guide .ag-choice[data-group=investor]{background:linear-gradient(145deg,#368b71,#23624e);border-color:#6cae95;border-bottom-color:#174634}
#account-guide .ag-choice[data-category=etf]{background:linear-gradient(145deg,#b3833b,#825d22);border-color:#c7a36e;border-bottom-color:#5f4118}
#account-guide .ag-choice[data-category=consultation]{background:linear-gradient(145deg,#9268b3,#654482);border-color:#b591d0;border-bottom-color:#462d5b}
#account-guide .ag-choice[data-group=kmiTrading],#account-guide .ag-choice[data-group=kmiInvestor]{background:linear-gradient(145deg,#278b8b,#186060);border-color:#66aaaa;border-bottom-color:#104242}
#account-guide .ag-choice[data-group=platinum]{background:linear-gradient(145deg,#727888,#484e60);border-color:#9299ab;border-bottom-color:#303646}
#account-guide .ag-choice[data-choice=account],#account-guide .ag-choice[data-type=new]{background:linear-gradient(145deg,#397bc1,#24518c);border-color:#6f9ed0;border-bottom-color:#17365e}
#account-guide .ag-choice[data-choice=advisory],#account-guide .ag-choice[data-type=transfer]{background:linear-gradient(145deg,#9268b3,#654482);border-color:#b591d0;border-bottom-color:#462d5b}
#account-guide .ag-choice span{color:#fff}

.newsletter-card{margin-top:32px;padding:26px;border:1px solid #ddd3e9;border-radius:18px;background:#fff}.newsletter-card form{max-width:650px}.newsletter-consent{display:flex;gap:12px;align-items:center}.newsletter-consent input{width:auto}.subscriber-table{overflow:auto}
#contact-updates-security,#contact-updates-status,.contact-layout .newsletter-consent{grid-column:1/-1}.contact-layout .newsletter-consent{background:#f4effa;padding:14px;border-radius:12px;border:1px solid #dfd4eb}
