/* One layout, two deliberately designed palettes. Load AFTER page CSS.
 * Brand CTAs and platform artwork retain their intended colours in both modes.
 * No colour inversion or data changes are used to recolour the charts.
 */
:root{
 --bg:#09090b;--text:#f7f7fa;--muted:#a7a7b0;--line:#2d2d33;--brand:#8a9fff;
 --theme-control-bg:#17171f;--theme-control-border:#444455;
 --theme-control-text:#bcbccd;--theme-selected-bg:#363953;--theme-selected-text:#f4f5ff;
 --theme-focus:#b4c7ff;--theme-soft:#1c1c27;
 --chart-axis:#b2b1c9;--chart-grid:#76738f29;--chart-crosshair:#b0b6df;
 --chart-start:#6a9bff;--chart-end:#b2a0ff;--chart-fill-start:#608bff;--chart-fill-end:#a086ff;
 --chart-average:#ebc998;--chart-dot:#b9b2ff;--chart-focus-dot:#b9caff;--chart-focus-ring:#12121d;
}
:root[data-theme=dark]{color-scheme:dark}
:root[data-theme=light]{
 color-scheme:light;--bg:#f8f9fd;--panel:#fff;--panel2:#eef1f9;
 --text:#171d32;--muted:#56627a;--line:#d8deec;--brand:#405acb;
 --brand-blue:#3162e0;--brand-violet:#6952d6;--black:#101014;
 --brand-gradient:linear-gradient(120deg,#3162e0,#6450dc);--grad:linear-gradient(120deg,#3162e0,#6450dc);
 --err:#b62237;--ok:#127644;
 --theme-control-bg:#eef1f8;--theme-control-border:#ccd3e5;
 --theme-control-text:#536079;--theme-selected-bg:#fff;--theme-selected-text:#273c9e;
 --theme-focus:#3156c8;--theme-soft:#edf1fc;
 --chart-axis:#596780;--chart-grid:#61719126;--chart-crosshair:#475e9b;
 --chart-start:#285dcc;--chart-end:#7448cb;--chart-fill-start:#4776e1;--chart-fill-end:#9575dc;
 --chart-average:#966126;--chart-dot:#7251c8;--chart-focus-dot:#315dd0;--chart-focus-ring:#fff;
 background:var(--bg);color:var(--text);
}
html[data-theme] body{background:var(--bg);color:var(--text)}
html[data-theme] :focus-visible{outline-color:var(--theme-focus)!important}
.theme-switch{display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid var(--theme-control-border);border-radius:10px;background:var(--theme-control-bg);flex:none;white-space:nowrap;color:var(--theme-control-text);line-height:1}
.theme-switch button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;min-width:34px;padding:7px 10px;border:0;border-radius:6px;background:transparent;color:var(--theme-control-text);font:600 12px/1.2 var(--ui-font);cursor:pointer;box-sizing:border-box}
.theme-switch button:hover{color:var(--text)}
.theme-switch button[aria-pressed=true]{background:var(--theme-selected-bg);color:var(--theme-selected-text);box-shadow:0 1px 5px #101b3520}
.theme-switch svg,.theme-toggle svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.theme-toggle{display:none;align-items:center;justify-content:center;flex:none;width:36px;height:40px;padding:0;background:var(--theme-control-bg);border:1px solid var(--theme-control-border);border-radius:8px;color:var(--theme-control-text);cursor:pointer}
.theme-toggle svg{width:17px;height:17px}
:root:not([data-theme=light]) .theme-toggle .theme-moon,:root[data-theme=light] .theme-toggle .theme-sun{display:none}
.mobile-theme-choice{display:none}
.header-actions{gap:16px}
.header .theme-switch button{padding-inline:8px}
.header-inner{gap:20px}
.header .nav{gap:20px}
:root:not([data-theme=light]) [data-theme-art=light],:root[data-theme=light] [data-theme-art=dark]{display:none}
/* SVG colours respond instantly, including an expanded or pinned chart. */
html[data-theme] .price-axis{fill:var(--chart-axis)}
html[data-theme] .price-grid{stroke:var(--chart-grid);stroke-opacity:1}
html[data-theme] .crosshair-line{stroke:var(--chart-crosshair)}
html[data-theme] #price-stroke stop:first-child{stop-color:var(--chart-start)}
html[data-theme] #price-stroke stop:last-child{stop-color:var(--chart-end)}
html[data-theme] #price-fill stop:first-child{stop-color:var(--chart-fill-start)}
html[data-theme] #price-fill stop:last-child{stop-color:var(--chart-fill-end)}
html[data-theme] .price-average{stroke:var(--chart-average)}
html[data-theme] .price-last{fill:var(--chart-dot)}
html[data-theme] #crosshair-dot{fill:var(--chart-focus-dot);stroke:var(--chart-focus-ring)}
html[data-theme] .chart-ma-legend span{color:var(--chart-average)}
/* Navigation and page canvas. */
:root[data-theme=light] .header{background:#f8f9fdf2;border-color:var(--line)}
:root[data-theme=light] .nav a{color:#4a566e}
:root[data-theme=light] .nav a:hover,:root[data-theme=light] .nav a[aria-current=page]{color:var(--text)}
:root[data-theme=light] .brand{color:var(--text)}
:root[data-theme=light] .brand span{color:var(--brand)}
:root[data-theme=light] .btn-outline{background:#ffffff85;border-color:#b5bfd6;color:var(--text)}
:root[data-theme=light] .btn-outline:hover{background:#eaf0ff;border-color:#7387c3}
:root[data-theme=light] .menu-button{border-color:#bdc7dc;color:var(--text)}
:root[data-theme=light] .section-dark{background:#f0f3fb;border-color:var(--line)}
:root[data-theme=light] .hero{background:radial-gradient(ellipse at 84% 35%,#e9e4ff77,transparent 55%),var(--bg)}
:root[data-theme=light] .hero-art img[data-theme-art=light]{mix-blend-mode:normal;filter:drop-shadow(0 28px 24px #4458a91c)}
:root[data-theme=light] .hero-card,:root[data-theme=light] .hero-chart{background:#fffffff0;border-color:#cdd5e9;box-shadow:0 22px 65px #3d47751c;color:var(--text)}
:root[data-theme=light] .hero-card li{color:#47556e}
:root[data-theme=light] .hero-tag{background:#f9fbfff2;border-color:#c8d2e6;box-shadow:0 10px 35px #384b7e14;color:#47556e}
:root[data-theme=light] .hero-tag b{color:var(--brand)}
:root[data-theme=light] .hero .hero-card .micro{color:var(--brand)}
:root[data-theme=light] .hero-caption,:root[data-theme=light] .micro,:root[data-theme=light] .risk-mini,:root[data-theme=light] .cta-reassurance{color:var(--muted)}
:root[data-theme=light] .inner-hero{background:radial-gradient(ellipse at 88% 10%,#e9e3ff80,transparent 53%),radial-gradient(ellipse at 65% 100%,#e2edff77,transparent 48%),var(--bg)}
:root[data-theme=light] .inner-hero:before{opacity:.2}
:root[data-theme=light] .proof-line{background:#f0f3fb}
:root[data-theme=light] .trust-links,:root[data-theme=light] .trust-links a+a,:root[data-theme=light] .cost-note{border-color:var(--line)}
:root[data-theme=light] .trust-links a:hover{background:#eef2fb}
:root[data-theme=light] .trust-index,:root[data-theme=light] .trust-links a>span:last-child{color:var(--brand)}
:root[data-theme=light] .trust-links small,:root[data-theme=light] .trust-title,:root[data-theme=light] .trust-item,:root[data-theme=light] .proof-item,:root[data-theme=light] .cost-note p{color:var(--muted)}
/* Cards, account comparison and information hierarchy. */
:root[data-theme=light] .feature,:root[data-theme=light] .restored-benefits .feature,:root[data-theme=light] body:not([data-page=home]) .feature,:root[data-theme=light] body:not([data-page=home]) .contact-card,:root[data-theme=light] body:not([data-page=home]) .overview-card{background:linear-gradient(140deg,#fff,#f9faff);border-color:var(--line);color:var(--text)}
:root[data-theme=light] .feature:first-child,:root[data-theme=light] body:not([data-page=home]) .feature:first-child{background:linear-gradient(140deg,#edf2ff,#f3edff);border-color:#bccaea;color:var(--text)}
:root[data-theme=light] .feature p,:root[data-theme=light] body:not([data-page=home]) .feature:first-child p{color:var(--muted)}
:root[data-theme=light] .feature .feature-icon,:root[data-theme=light] .feature:first-child .feature-icon{color:var(--brand)}
:root[data-theme=light] .account-card{background:#fff;box-shadow:0 5px 22px #2d3c6c05}
:root[data-theme=light] .account-card.highlight{background:linear-gradient(145deg,#eef2ff,#fff 68%);border-color:#879bdc}
:root[data-theme=light] .card-kicker{background:#eaf0ff;border-color:#9eafda;color:#3653af}
:root[data-theme=light] .account-card:hover,:root[data-theme=light] .feature:hover{border-color:#8498cf;box-shadow:0 16px 40px #34457410}
:root[data-theme=light] .section-note,:root[data-theme=light] .breadcrumbs,:root[data-theme=light] .platform-points li,:root[data-theme=light] .platform-labels,:root[data-theme=light] .entity-reference>span{color:var(--muted)}
:root[data-theme=light] .onboarding-flow .signup-steps>li{background:linear-gradient(150deg,#fff,#f6f8ff);border-color:var(--line)}
:root[data-theme=light] .onboarding-flow p{color:var(--muted)}
:root[data-theme=light] .step-n,:root[data-theme=light] .step{border-color:var(--line)}
:root[data-theme=light] .overview-card ul,:root[data-theme=light] .path-card ul,:root[data-theme=light] .company-manifesto{color:#404d68}
:root[data-theme=light] .company-intro{background:radial-gradient(ellipse at 95% 55%,#eee9ff88,transparent 55%)}
:root[data-theme=light] .page-hero-card{background:linear-gradient(138deg,#edf2ff,#fff 56%,#f0ecff);border-color:#c6cfe4;box-shadow:0 16px 50px #3544770d}
:root[data-theme=light] .page-card-kicker,:root[data-theme=light] .page-hero-card .text-link{color:var(--brand)}
:root[data-theme=light] .page-hero-card li strong{color:var(--text)}
:root[data-theme=light] .page-hero-card li span,:root[data-theme=light] .page-hero-card>p:not(.page-card-kicker){color:var(--muted)}
:root[data-theme=light] .path-card,:root[data-theme=light] .path-card:nth-child(2){background:radial-gradient(ellipse at 100% 0%,#e6eaff99,transparent 65%),#fff;border-color:var(--line)}
:root[data-theme=light] .path-label{color:var(--brand)}
:root[data-theme=light] .partner-invite{background:radial-gradient(ellipse at 20% 0%,#e1eaff80,transparent 58%),linear-gradient(120deg,#f3f6ff,#eee7fc);border-color:#c6cbe4}
:root[data-theme=light] .partner-invite p{color:var(--muted)}
:root[data-theme=light] th,:root[data-theme=light] .table-scroll thead th,:root[data-theme=light] .help-article-body th{background:#eaf0fb;color:#293a66}
:root[data-theme=light] .table-scroll tbody th{background:#f1f4fb;color:#34415b}
:root[data-theme=light] td,:root[data-theme=light] td:not(:first-child){background:#fff;color:#35425c}
:root[data-theme=light] .table-scroll tbody tr:hover td{background:#eff3ff}
:root[data-theme=light] .methods li,:root[data-theme=light] .symbol{border-color:#ced6e7;color:#485975;background:#f2f5fc}
/* Native market explorer: controls, plot, readouts and dialog. */
:root[data-theme=light] .market-panel{background:var(--panel);border-color:var(--line)}
:root[data-theme=light] .market-tabs button{color:#52617c;border-color:#c7d1e5}
:root[data-theme=light] .market-tabs button:hover{border-color:#6d86c0;color:var(--text)}
:root[data-theme=light] .market-tabs button[aria-selected=true]{background:var(--brand-gradient);color:#fff;border-color:#5367c8}
:root[data-theme=light] .interactive-market{background:radial-gradient(ellipse at 85% 0,#eeebff70,transparent 52%),#fff;border-color:#c9d2e7;box-shadow:0 20px 65px #4258850f}
:root[data-theme=light] .instrument-icon{background:#edf1ff;color:var(--brand)}
:root[data-theme=light] .chart-wordmark{color:#4d5d7b}
:root[data-theme=light] .chart-wordmark span{color:var(--brand)}
:root[data-theme=light] .chart-change{color:#365abe}
:root[data-theme=light] .chart-change.is-negative{color:#7650b5}
:root[data-theme=light] .chart-period,:root[data-theme=light] .chart-feed-badge,:root[data-theme=light] .chart-feed-badge[data-kind=illustrative]{background:#f0edfb;border-color:#d0c5e8;color:#5c497b}
:root[data-theme=light] .chart-choice{background:#f5f7fc;border-color:#d5dcec}
:root[data-theme=light] .chart-choice button,:root[data-theme=light] .chart-tool,:root[data-theme=light] .chart-refresh,:root[data-theme=light] .chart-ranges button{color:#4b5872}
:root[data-theme=light] .chart-tool{border-color:#c1cce2;background:#fff}
:root[data-theme=light] .chart-choice button:hover,:root[data-theme=light] .chart-tool:hover,:root[data-theme=light] .chart-refresh:hover,:root[data-theme=light] .chart-ranges button:hover{background:#e9effd;color:#273e92}
:root[data-theme=light] .chart-choice button[aria-pressed=true],:root[data-theme=light] .chart-ranges button[aria-pressed=true],:root[data-theme=light] .chart-tool[aria-pressed=true]{background:#4058b5;color:#fff;border-color:#4058b5}
:root[data-theme=light] .chart-plot{background:radial-gradient(ellipse at 50% 100%,#e9edff50,transparent 70%)}
:root[data-theme=light] .chart-tools,:root[data-theme=light] .chart-stats,:root[data-theme=light] .chart-meta,:root[data-theme=light] .market-next{border-color:var(--line)}
:root[data-theme=light] .chart-point-readout{background:#fffffff5;color:#263964;border-color:#aebddc;box-shadow:0 5px 18px #273f7820}
:root[data-theme=light] .chart-nav>span,:root[data-theme=light] .chart-hint,:root[data-theme=light] .chart-stats dt,:root[data-theme=light] .chart-meta,:root[data-theme=light] .chart-disclaimer,:root[data-theme=light] .chart-labels{color:var(--muted)}
:root[data-theme=light] .chart-stats dd{color:var(--text)}
:root[data-theme=light] .chart-meta a,:root[data-theme=light] .guide-trigger{color:var(--brand)}
:root[data-theme=light] .guide-trigger:hover{color:#223b98}
:root[data-theme=light] .market-next p:not(.eyebrow),:root[data-theme=light] .market-next small,:root[data-theme=light] .chart-ma-legend{color:var(--muted)}
:root[data-theme=light] .chart-message{background:#f4f6fd;border-color:#c3cde5}
:root[data-theme=light] .chart-message strong{color:var(--text)}
:root[data-theme=light] .chart-message>span{color:var(--muted)}
:root[data-theme=light] .chart-dialog::backdrop,:root[data-theme=light] .lead-dialog::backdrop,:root[data-theme=light] .platform-lightbox::backdrop{background:#1b254c80}
/* Platform concept remains the original artwork, on a themed frame. */
:root[data-theme=light] .platform-preview{background:radial-gradient(ellipse at 85% 100%,#e3dbf9,transparent 64%),radial-gradient(ellipse at 0 0,#e2ebff,#f6f7fc 70%);border-color:#c6cee5;box-shadow:0 24px 60px #46537c12}
:root[data-theme=light] .platform-mark{color:#fff}
:root[data-theme=light] .platform-image-heading div>span,:root[data-theme=light] .platform-preview figcaption{color:var(--muted)}
:root[data-theme=light] .platform-preview figcaption a{color:var(--brand)}
:root[data-theme=light] .platform-image-link{box-shadow:0 12px 30px #3745681a;border-color:#a9b8d8}
:root[data-theme=light] .platform-lightbox{background:#f7f9ff;color:var(--text);border-color:#b9c6e0;box-shadow:0 30px 100px #18234850}
:root[data-theme=light] .platform-lightbox-top span,:root[data-theme=light] .platform-lightbox p{color:var(--muted)}
:root[data-theme=light] .platform-lightbox-close{background:#eef1f9;border-color:#becae0;color:#344367}
/* Contextual checklist: no change to consent, payload or delivery behaviour. */
:root[data-theme=light] .lead-dialog{background:radial-gradient(ellipse at 100% 0,#eeebfcaa,transparent 65%),#fff;color:var(--text);border-color:#c1c9df}
:root[data-theme=light] .lead-close{color:#515d78}
:root[data-theme=light] .lead-dialog #guide-intro,:root[data-theme=light] .lead-fields small,:root[data-theme=light] .lead-check small,:root[data-theme=light] .lead-check,:root[data-theme=light] .lead-privacy-note,:root[data-theme=light] .lead-bottom{color:var(--muted)}
:root[data-theme=light] .lead-fields input,:root[data-theme=light] .lead-fields select{background:#fbfcff;border-color:#aebbd6;color:var(--text)}
:root[data-theme=light] .lead-check a,:root[data-theme=light] #lead-guide-items li{color:var(--brand)}
:root[data-theme=light] .lead-mode{background:#fff6e6;border-color:#dac59f;color:#755524}
:root[data-theme=light] .lead-message{color:#b3223c}
:root[data-theme=light] .lead-bottom{border-color:var(--line)}
:root[data-theme=light] #lead-result-message{color:#375693}
:root[data-theme=light] #lead-guide-items h3{color:var(--text)}
:root[data-theme=light] #lead-guide-items p{color:var(--muted)}
/* Help centre, legal documents and secondary routes. */
:root[data-theme=light] .help-hero{background:radial-gradient(ellipse at 80% 0,#e5dfff88,transparent 65%)}
:root[data-theme=light] .help-search label{color:#4a5771}
:root[data-theme=light] .help-search-box{background:#fff;border-color:#b6c3de;box-shadow:0 8px 32px #3a4a7710}
:root[data-theme=light] .help-search input::placeholder{color:#65728a}
:root[data-theme=light] .help-search button{background:#edf1fc;border-color:#c9d2e8;color:#334978}
:root[data-theme=light] .help-search button:hover{background:#e1e9fc}
:root[data-theme=light] .help-topic{background:linear-gradient(145deg,#fff,#f6f8ff);border-color:var(--line)}
:root[data-theme=light] .help-topic:hover{background:linear-gradient(145deg,#eef3ff,#f5f1ff);border-color:#92a5d2}
:root[data-theme=light] .help-contact{background:linear-gradient(115deg,#edf2ff,#f7f5ff);border-color:#cbd5e9}
:root[data-theme=light] .help-topics-nav{background:#f0f3fa}
:root[data-theme=light] .help-article-body td{background:#fff}
:root[data-theme=light] .help-article-body blockquote,:root[data-theme=light] .help-article-body aside{background:#edf1fd}
:root[data-theme=light] .topic-nav a{background:#eff3fc;color:#495b82;border-color:#c6d0e6}
:root[data-theme=light] .topic-nav a:hover{background:#e5ecfd;color:#2f4694;border-color:#8ba0d2}
:root[data-theme=light] .faq-group>h2{color:#2c3e65}
:root[data-theme=light] .faq-group details{background:#fff;border-color:var(--line)}
:root[data-theme=light] .faq-group details p{color:var(--muted)}
:root[data-theme=light] .faq-group details a,:root[data-theme=light] .decision-section details a{color:var(--brand)}
:root[data-theme=light] .contact-address{background:linear-gradient(135deg,#eef2ff,#fff);border-color:var(--line)}
:root[data-theme=light] .contact-address address{color:#4b5976}
:root[data-theme=light] .legal-list a{background:linear-gradient(130deg,#fff,#f1f4fc);border-color:var(--line)}
:root[data-theme=light] .legal-list a:hover{background:#eaf0fd;border-color:#8299cc}
:root[data-theme=light] .legal-list a span{color:var(--brand)}
:root[data-theme=light] .policy-toc{background:#f0f3fb;border-color:var(--line)}
:root[data-theme=light] .policy-toc a{color:#4f5e7d}
:root[data-theme=light] .policy-toc a:hover{color:var(--brand)}
:root[data-theme=light] .policy-body{color:#47546f}
:root[data-theme=light] .policy-body h2,:root[data-theme=light] .policy-body h3,:root[data-theme=light] .policy-body strong{color:var(--text)}
:root[data-theme=light] .policy-body a,:root[data-theme=light] .policy-source a{color:var(--brand)}
:root[data-theme=light] .policy-source{background:#eef3ff;border-color:#d0d8ee;color:#4c5c7e}
:root[data-theme=light] .entry-card{background:radial-gradient(ellipse at top right,#e7e3fc80,transparent 70%),#fff;border-color:#c5cee3;box-shadow:0 20px 50px #32457612}
:root[data-theme=light] .entry-links a,:root[data-theme=light] .source-copy-link,:root[data-theme=light] .entry-checklist li>span{color:var(--brand)}
:root[data-theme=light] .entry-checklist li{border-color:var(--line);color:var(--muted)}
:root[data-theme=light] .entry-note{color:var(--muted)!important}
:root[data-theme=light] .status-symbol{background:linear-gradient(135deg,#e6eeff,#f2eafa);color:var(--brand);border-color:#afbee1}
/* Registration: all states are themed, with values and validation untouched. */
:root[data-theme=light] .f label,:root[data-theme=light] .check{color:#44516c}
:root[data-theme=light] .f input:not([type=checkbox]),:root[data-theme=light] .f select{background:#fff;border-color:#aebbd3;color:var(--text)}
:root[data-theme=light] input::placeholder{color:#65728a}
:root[data-theme=light] input:focus,:root[data-theme=light] select:focus{border-color:var(--brand)}
:root[data-theme=light] .is-error input,:root[data-theme=light] .is-error select{border-color:var(--err)}
:root[data-theme=light] .pw button:hover{background:#edf1fc}
:root[data-theme=light] .meter b{background:#d5ddee}
:root[data-theme=light] .meter[data-level="1"] b:nth-child(1){background:var(--err)}
:root[data-theme=light] .meter[data-level="2"] b:nth-child(-n+2),:root[data-theme=light] .meter[data-level="3"] b:nth-child(-n+3){background:var(--brand)}
:root[data-theme=light] .meter[data-level="4"] b{background:var(--ok)}
:root[data-theme=light] .msg.is-error{background:#fff0f2;border-color:#e3a9b4;color:#a9253d}
:root[data-theme=light] .msg.is-success{background:#eef9f3;border-color:#a4d8ba;color:#1b6540}
:root[data-theme=light] .entry-eyebrow{color:var(--brand)}
:root[data-theme=light] .mode-banner{background:#edf1ff;border-color:#bbc9ed;color:#394f8f}
:root[data-theme=light] .side h2{color:var(--text)}
:root[data-theme=light] .side-line{background:linear-gradient(110deg,#e5edff,#eee5fb)}
:root[data-theme=light] .side-line:after{border-color:#7588d5}
:root[data-theme=light] .entity-disclosure,:root[data-theme=light] .registration-interest{background:#f0f4fd;border-color:#ced7eb}
:root[data-theme=light] .account-selection{background:linear-gradient(135deg,#f2f5ff,#fff);border-color:#bbc9ed;box-shadow:0 14px 34px #294b8112}
:root[data-theme=light] .account-selection-label,:root[data-theme=light] .account-selection a{color:#435bb2}
:root[data-theme=light] .jurisdiction-notice{background:transparent;border-color:#ced7eb}
:root[data-theme=light] .entity-disclosure p,:root[data-theme=light] .jurisdiction-notice p,:root[data-theme=light] #jurisdictionText,:root[data-theme=light] .registration-interest{color:#4b5a77}
:root[data-theme=light] .entity-disclosure a{color:var(--brand)}
:root[data-theme=light] .foot{color:var(--muted)}
/* Footer and mobile account action, while retaining white-on-brand banners. */
:root[data-theme=light] .footer{background:#f0f3f9;border-color:var(--line)}
:root[data-theme=light] .footer-brand p,:root[data-theme=light] .footer li a,:root[data-theme=light] .legal-copy,:root[data-theme=light] .footer-bottom{color:#56617a}
:root[data-theme=light] .footer li a:hover{color:var(--brand)}
:root[data-theme=light] .sticky-cta{background:#f8fafff5;border-color:#cbd4e8}
:root[data-theme=light] .sticky-inner{color:#465573}
html[data-theme] .cta{color:#fff}
html[data-theme] .cta .eyebrow,html[data-theme] .cta .risk-mini{color:#eeeeff}
html[data-theme] .cta .eyebrow:before{background:#eeeeff}
html[data-theme] .btn-brand{color:#fff}
/* Give the main navigation room rather than compressing the account CTA. */
@media(min-width:1121px){.header .nav a{font-size:13px}.header .btn-small{padding-inline:15px;font-size:13px}}
@media(max-width:1120px){
 .header-inner{height:76px;justify-content:space-between}.header-actions{margin-left:auto}
 .header .nav{display:none;position:absolute;top:76px;left:0;right:0;padding:16px 36px;flex-direction:column;align-items:stretch;gap:0;background:#15151b;border-bottom:1px solid var(--line)}
 .header .nav.is-open{display:flex}.header .nav a{padding:14px 0;font-size:16px}.header .nav a[aria-current=page]:after{display:none}.header .menu-button{display:block}
 :root[data-theme=light] .header .nav{background:#f8faff}
}
@media(max-width:700px){
 .header-inner{height:72px}.header .nav{top:72px;padding-inline:23px}.header-actions{gap:8px}
 .header-actions>.theme-switch,.top .r>.theme-switch{display:none}
 .header-actions>.theme-toggle,.top .r>.theme-toggle{display:inline-flex}
 .nav .mobile-theme-choice{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0 8px;border-top:1px solid var(--line);margin-top:8px;font-size:13px;color:var(--muted)}
 .mobile-theme-choice .theme-switch button{min-height:40px;padding-inline:12px}
 .top .theme-toggle{height:36px;width:36px}
}
@media(max-width:480px){.header-actions>.btn .arrow{display:none}.header-actions>.theme-toggle{width:32px}.header .wrap{padding-left:16px;padding-right:16px}.header-inner{gap:10px}.header-actions{gap:7px}}
@media(max-width:360px){.header .wrap{padding-left:12px;padding-right:12px}.header .brand{font-size:24px}.header-inner{gap:6px}.header-actions{gap:6px}.header .menu-button{width:32px}.header .btn{font-size:11px;padding-inline:9px}}
@media(prefers-reduced-motion:no-preference){.theme-switch button,.theme-toggle{transition:background .16s,color .16s,box-shadow .16s}}
@media(forced-colors:active){.theme-switch button[aria-pressed=true]{outline:2px solid Highlight;outline-offset:-2px}.theme-toggle{border:1px solid ButtonText}}

/* Compact icon controls in the header; labels stay available to assistive technology. */
.header-actions > .theme-switch{gap:2px;padding:2px;border-radius:8px}
.header-actions > .theme-switch button{position:relative;width:26px;height:26px;min-width:26px;min-height:26px;padding:5px;gap:0;border-radius:5px;line-height:1}
.header-actions > .theme-switch button > span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.header-actions > .theme-switch svg{width:14px;height:14px}
@media(pointer:coarse) and (min-width:701px){.header-actions > .theme-switch button{width:44px;height:44px;min-width:44px;min-height:44px}}
