/* Colour tokens, generated: dark = original, light = same contrast against the page (see themify notes) */
:root {
  /* Pulse AI Insights: AI gradient ends and Neu DS blue (text contrast >= 4.5 on the page in both themes) */
  --k-c-coral: #ff826b;
  --k-ai1: #e45bb4;
  --k-ai2: #9b6bff;
  --k-ds: #5b98ff;
  --k-000000: #000;
  --k-000000-55-sh: rgba(0,0,0,.55);
  --k-000000-60: rgba(0,0,0,.6);
  --k-000000-60-sh: rgba(0,0,0,.6);
  --k-000000-70: rgba(0,0,0,.7);
  --k-000000-70-sh: rgba(0,0,0,.7);
  --k-000000-78: rgba(0,0,0,.78);
  --k-000000-80: rgba(0,0,0,.8);
  --k-000000-82: rgba(0,0,0,.82);
  --k-050505: #050505;
  --k-060606: #060606;
  --k-070707: #070707;
  --k-0a0a0a: #0a0a0a;
  --k-0d0d0d: #0d0d0d;
  --k-0e0e0e: #0e0e0e;
  --k-111111: #111;
  --k-151515: #151515;
  --k-161616: #161616;
  --k-171717: #171717;
  --k-1a1a1a: #1a1a1a;
  --k-1c1c1c: #1c1c1c;
  --k-1e1e1e: #1e1e1e;
  --k-222222: #222;
  --k-262626: #262626;
  --k-2a2a2a: #2a2a2a;
  --k-2f2f2f: #2f2f2f;
  --k-333333: #333;
  --k-3a3a3a: #3a3a3a;
  --k-3c3c3c: #3c3c3c;
  --k-3d3d3d: #3d3d3d;
  --k-444444: #444;
  --k-484848: #484848;
  --k-555555: #555;
  --k-5c5c5c: #5c5c5c;
  --k-666666: #666;
  --k-6a6a6a: #6a6a6a;
  --k-6f6f6f: #6f6f6f;
  --k-757575: #757575;
  --k-777777: #777;
  --k-7a7a7a: #7a7a7a;
  --k-888888: #888;
  --k-8a8a8a: #8a8a8a;
  --k-8f8f8f: #8f8f8f;
  --k-999999: #999;
  --k-a3a3a3: #a3a3a3;
  --k-a6a6a6: #a6a6a6;
  --k-aa88ff: #aa88ff;
  --k-aa88ff-35: rgba(170,136,255,.35);
  --k-aa88ff-45: rgba(170,136,255,.45);
  --k-aa88ff-6: rgba(170,136,255,.06);
  --k-aa88ff-8: rgba(170,136,255,.08);
  --k-aa88ff-9: rgba(170,136,255,.09);
  --k-aaaaaa: #aaa;
  --k-b4b4b4: #b4b4b4;
  --k-bdbdbd: #bdbdbd;
  --k-c3adff: #c3adff;
  --k-cccccc: #ccc;
  --k-cfcfcf: #cfcfcf;
  --k-d6d6d6: #d6d6d6;
  --k-dddddd: #dddddd;
  --k-e6e6e6: #e6e6e6;
  --k-ffffff: #fff;
  --k-ffffff-9: rgba(255,255,255,.09);
}
html[data-theme="light"] {
  color-scheme: light;
  --k-c-coral: #c2452d;
  --k-ai1: #c63395;
  --k-ai2: #6420c0;
  --k-ds: #0066ff;
  --k-000000: #ffffff;
  --k-000000-55-sh: rgba(0,0,0,0.121);
  --k-000000-60: rgba(255,255,255,0.6);
  --k-000000-60-sh: rgba(0,0,0,0.132);
  --k-000000-70: rgba(255,255,255,0.7);
  --k-000000-70-sh: rgba(0,0,0,0.154);
  --k-000000-78: rgba(255,255,255,0.78);
  --k-000000-80: rgba(255,255,255,0.8);
  --k-000000-82: rgba(255,255,255,0.82);
  --k-050505: #fcfcfc;
  --k-060606: #fbfbfb;
  --k-070707: #fafafa;
  --k-0a0a0a: #f8f8f8;
  --k-0d0d0d: #f6f6f6;
  --k-0e0e0e: #f5f5f5;
  --k-111111: #f3f3f3;
  --k-151515: #efefef;
  --k-161616: #eeeeee;
  --k-171717: #ededed;
  --k-1a1a1a: #eaeaea;
  --k-1c1c1c: #e7e7e7;
  --k-1e1e1e: #e5e5e5;
  --k-222222: #e0e0e0;
  --k-262626: #dbdbdb;
  --k-2a2a2a: #d5d5d5;
  --k-2f2f2f: #cecece;
  --k-333333: #c9c9c9;
  --k-3a3a3a: #bfbfbf;
  --k-3c3c3c: #bcbcbc;
  --k-3d3d3d: #bababa;
  --k-444444: #b1b1b1;
  --k-484848: #ababab;
  --k-555555: #9a9a9a;
  --k-5c5c5c: #919191;
  --k-666666: #868686;
  --k-6a6a6a: #818181;
  --k-6f6f6f: #7c7c7c;
  --k-757575: #767676;
  --k-777777: #747474;
  --k-7a7a7a: #717171;
  --k-888888: #646464;
  --k-8a8a8a: #626262;
  --k-8f8f8f: #5e5e5e;
  --k-999999: #565656;
  --k-a3a3a3: #4e4e4e;
  --k-a6a6a6: #4c4c4c;
  --k-aa88ff: #5a32d6;
  --k-aa88ff-35: rgba(90,50,214,0.35);
  --k-aa88ff-45: rgba(90,50,214,0.45);
  --k-aa88ff-6: rgba(90,50,214,0.06);
  --k-aa88ff-8: rgba(90,50,214,0.08);
  --k-aa88ff-9: rgba(90,50,214,0.09);
  --k-aaaaaa: #494949;
  --k-b4b4b4: #424242;
  --k-bdbdbd: #3b3b3b;
  --k-c3adff: #4a26b8;
  --k-cccccc: #313131;
  --k-cfcfcf: #2f2f2f;
  --k-d6d6d6: #2a2a2a;
  --k-dddddd: #242424;
  --k-e6e6e6: #1d1d1d;
  --k-ffffff: #000000;
  --k-ffffff-9: rgba(0,0,0,0.09);
}
/* Shared AXON theme: tokens, base type, background canvas, brand mark */
:root {
  --accent: var(--k-aa88ff);
  --text: var(--k-dddddd);
  --muted: var(--k-8a8a8a);
  --chip: var(--k-1c1c1c);
  --line: var(--k-2a2a2a);
  --mono: "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; background: var(--k-000000); }
body {
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--k-000000); }
#bg { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.blend { mix-blend-mode: plus-lighter; }

.brand {
  position: absolute; top: 24px; left: 24px; display: flex; gap: 14px; align-items: center;
  color: inherit; text-decoration: none;
}
.brand svg { width: 40px; height: 40px; flex: none; }
.brand .me { width: 40px; height: 40px; flex: none; display: block; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.6px var(--k-ffffff); }
.brand .name { font-size: 20px; color: var(--k-ffffff); line-height: 1; }
.brand .sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

/* ---------- light theme: what tokens alone can't express ---------- */
/* plus-lighter adds light, so on white it would erase the text */
html[data-theme="light"] .blend { mix-blend-mode: normal; }
/* the particle field is drawn light-on-black; invert it and turn the hue back so the violet stays violet */
html[data-theme="light"] #bg { filter: invert(1) hue-rotate(180deg); }
/* brand mark is drawn with fill/stroke attributes */
.brand svg [stroke="#fff"] { stroke: var(--k-ffffff); } .brand svg [fill="#fff"] { fill: var(--k-ffffff); }
/* ink drawn on top of accent shapes in the covers flips with the accent */
html[data-theme="light"] .scene svg [style*="stroke:#"] { stroke: #fff !important; }

/* theme switch */
html.theme-swap *, html.theme-swap *::before, html.theme-swap *::after { transition: none !important; }
.theme-sw { display: inline-grid; place-items: center; width: 36px; height: 34px; flex: none; padding: 0; border: 0; cursor: pointer;
  color: var(--k-cfcfcf); background: var(--chip); transition: background .2s, color .2s; }
.theme-sw:hover { background: var(--k-2a2a2a); color: var(--k-ffffff); }
.theme-sw svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ui .theme-sw { position: absolute; top: 28px; right: 80px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--k-0a0a0a); }
