/* One green spectrum drives the mascot and the landing, never financial UI. */
@property --brand-hue { syntax: '<angle>'; inherits: true; initial-value: 80deg; }
@property --skin-light { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --skin-saturation { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --skin-contrast { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --skin-opacity { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --page-white { syntax: '<number>'; inherits: true; initial-value: 0; }
:root { --brand-hue:80deg; }
html.motion-running { animation: veytra-spectrum 32s ease-in-out infinite; }
body:has(.chameleon-live) {
  --paper:hsl(var(--brand-hue) 30% calc(94% + var(--page-white) * 3%));
  --lime:#cefa43;
  --line:hsl(var(--brand-hue) 17% 83%);
  --moss:hsl(var(--brand-hue) 38% 16%);
  --white:hsl(var(--brand-hue) 45% 98%);
}
.chameleon-live { aspect-ratio:3/2; overflow:visible; pointer-events:none; transform-origin:54% 70%; }
html.motion-running .chameleon-live { animation:veytra-breathe 5.8s ease-in-out infinite; }
.chameleon-skin { filter:hue-rotate(calc(var(--brand-hue) - 75deg)) saturate(var(--skin-saturation)) contrast(var(--skin-contrast)) brightness(var(--skin-light));opacity:var(--skin-opacity); }
.hero-art .orbit { border-color:hsl(var(--brand-hue) 24% 77%); }
.motion-toggle { position:absolute;right:0;top:20px;z-index:3;display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:8px 12px;border:1px solid var(--line);border-radius:30px;background:var(--paper);color:var(--muted);font-size:10px; }
.motion-toggle::before { content:'';width:6px;height:6px;border-radius:50%;background:#6f9634; }
.motion-toggle[aria-pressed=true]::before { background:currentColor; }
@keyframes veytra-spectrum {
  0%,100% { --brand-hue:86deg;--skin-light:1;--skin-saturation:1.12;--skin-contrast:1;--skin-opacity:1;--page-white:0; }
  32% { --brand-hue:73deg;--skin-light:1.05;--skin-saturation:1.25;--skin-contrast:1;--skin-opacity:1;--page-white:.15; }
  62%,73% { --brand-hue:82deg;--skin-light:1.78;--skin-saturation:0;--skin-contrast:.18;--skin-opacity:.66;--page-white:1; }
}
@keyframes veytra-breathe { 0%,100% { scale:1 1;translate:0 0; } 50% { scale:1.008 1.018;translate:0 -4px; } }
html.motion-paused,html.motion-paused .chameleon-live { animation-play-state:paused; }
@media(max-width:650px) { .motion-toggle { top:0;font-size:9px;min-height:32px;padding:6px 10px; } }
@media(prefers-reduced-motion:reduce) { html.motion-running,.chameleon-live { animation:none!important; } .motion-toggle { display:none; } }
