/* EchoEdge rebuild */
:root { --ink: #15140b; --paper: #f7f6f2; --teal: #38eac8; --line: #a9a9a9; --panel: #2f2e25; --chat: #1f1e16; }
body { background: var(--ink); color: var(--paper); }
.page .art { width: 1911px; }

/* buttons */
.btn { border-radius: 99px; font-size: 23.5px; transition: transform .2s, background-color .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--paper); color: #16150c; }
.btn--solid:hover { box-shadow: 0 0 0 6px rgba(247, 246, 242, .12); }
.btn--ghost { justify-content: flex-start; padding-left: 41px; gap: 10px; border: 1px solid rgba(247, 246, 242, .85); }
.btn--ghost:hover { background: rgba(247, 246, 242, .1); }
.btn--ghost i { font-style: normal; transition: transform .2s; }
.btn--ghost:hover i { transform: translateX(4px); }
.link { transition: opacity .2s; }
.link:hover { opacity: .7; }
.menu { display: none; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(21, 20, 11, .95); font-size: 18px; }
.menu.is-open { display: grid; gap: 4px; }
.menu a { padding: 10px 16px; border-radius: 10px; }
.menu a:hover { background: rgba(247, 246, 242, .08); }
.subnav a { position: relative; }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.subnav a:hover::after { transform: scaleX(1); }

/* ---- earnings ticker ---- */
.ticker { z-index: 1; display: flex; align-items: stretch; background: #0b0b0b; border-top: 1px solid #28282c; border-bottom: 1px solid #1c1c1e;
  font: 400 16px/1 "Helv", Helvetica, Arial, sans-serif; color: #8e8e95; }
.ticker__label { display: flex; align-items: center; flex: none; width: 270px; padding-left: 28px; background: #141414; border-right: 1px solid #26262a;
  font-size: 12px; font-weight: 700; letter-spacing: .24em; color: #a3a3aa; }
.ticker__view { position: relative; flex: 1; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 60px), transparent); mask: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 60px), transparent); }
.ticker__track { display: flex; width: max-content; height: 100%; animation: ticker var(--dur, 14s) linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track li { display: flex; align-items: center; gap: 12px; padding: 0 40px 0 28px; white-space: nowrap; }
.ticker__track b { font-weight: 700; font-size: 17px; color: #f7f6f2; }
.ticker__track i { font-style: normal; color: #4a4a50; }
.ticker .sun::before { content: "☀"; margin-right: 6px; font-size: 13px; }
.ticker .moon::before { content: "☾"; margin-right: 6px; font-size: 14px; }
.badge { display: grid; place-items: center; flex: none; width: 21px; height: 21px; border-radius: 5px; }
.badge svg { width: 15px; height: 15px; }
.badge--light { background: #f7f6f2; }
.badge--ciena { background: #3b3b3f; font-size: 5.5px; font-weight: 700; letter-spacing: 0; color: #e8e8ea; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation-duration: 120s; } }

/* ---- AI strategy workspace ---- */
.ws { border: 1px solid var(--line); border-radius: 40px; background: var(--panel); overflow: hidden; font-family: "Lexend", Arial, sans-serif; }
.ws__head { position: absolute; left: 0; right: 0; top: 0; height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 44px 0 40px; font-size: 18px; }
.ws__dots { display: flex; gap: 8px; } .ws__dots i { width: 9px; height: 9px; border-radius: 50%; background: #8f8d84; }
.ws__bar { position: absolute; left: 0; right: 0; top: 84px; height: 46px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #242319; }
.ws__tabs { position: absolute; left: 83px; top: 0; bottom: -1px; display: flex; align-items: stretch; }
.ws__tabs button { position: relative; display: flex; align-items: center; gap: 17px; width: calc(var(--w) * 1px); padding: 0 0 0 calc(var(--pl) * 1px); font-size: 23.5px; color: var(--paper); border: 1px solid transparent; border-bottom: 0; border-radius: 16px 16px 0 0; transition: color .2s, background-color .2s; }
.ws__tabs button + button::before { content: ""; position: absolute; left: 0; top: 12px; width: 1px; height: 22px; background: var(--line); }
.ws__tabs button[aria-selected="true"] { color: var(--teal); border-color: var(--line); background: var(--panel); }
.ws__tabs button[aria-selected="true"]::before, .ws__tabs button[aria-selected="true"] + button::before { visibility: hidden; }
.ws__tabs button:hover:not([aria-selected="true"]) { color: #fff; }
.ws__tabs svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ws__live { position: absolute; left: 953px; top: 0; height: 100%; display: flex; align-items: center; gap: 14px; font-size: 18px; color: var(--teal); letter-spacing: .04em; }
.ws__live::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(56, 234, 200, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(56, 234, 200, 0); } 100% { box-shadow: 0 0 0 0 rgba(56, 234, 200, 0); } }
.ws__agent { position: absolute; left: 1124px; right: 0; top: 0; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 50px 0 34px; border-left: 1px solid var(--line); font-size: 18px; background: var(--chat); }
.ws__agent svg { width: 24px; height: 24px; }
.ws__canvas { position: absolute; left: 0; top: 130px; width: 1124px; bottom: 0; border-right: 1px solid var(--line);
  background: radial-gradient(circle, rgba(200, 198, 190, .7) 1.3px, transparent 1.8px) -18px 2px / 74px 67px; }
.ws__panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.ws__panel.is-active { opacity: 1; visibility: visible; }
.ws__panel svg.graph { position: absolute; left: 0; top: 0; width: 1124px; height: 794px; overflow: visible; }
.graph .node { fill: rgba(47, 46, 37, .55); stroke: var(--paper); stroke-width: 2; transition: fill .2s; cursor: pointer; }
.graph .node:hover { fill: rgba(56, 234, 200, .12); }
.graph .wire { fill: none; stroke: var(--paper); stroke-width: 2; }
.graph .flow { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 8 14; animation: flow 1.4s linear infinite; opacity: .9; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.graph text { fill: var(--paper); font: 400 15px "Lexend", sans-serif; text-anchor: middle; pointer-events: none; opacity: 0; transition: opacity .2s; }
.graph g:hover text { opacity: 1; }
.chart-line { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linejoin: round; }
.chart-area { fill: url(#fade); }
.stat { position: absolute; display: grid; gap: 6px; font-size: 16px; color: #c9c7bf; }
.stat b { font: 400 34px "Lexend", sans-serif; color: var(--paper); }
.market { position: absolute; left: 70px; right: 70px; top: 60px; display: grid; gap: 18px; }
.market article { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; padding: 26px 32px; border: 1px solid var(--line); border-radius: 22px; font-size: 18px; background: rgba(21, 20, 11, .35); }
.market b { font-weight: 400; font-size: 22px; }
.market span { color: var(--teal); }
.market button { padding: 10px 22px; border-radius: 99px; background: var(--paper); color: #16150c; font-size: 16px; }

.chat { position: absolute; left: 1130px; right: 6px; top: 133px; bottom: 72px; border: 1px solid var(--line); border-radius: 26px; background: var(--chat); overflow-y: auto; scrollbar-width: none;
  display: flex; flex-direction: column; gap: 14px; padding: 28px 8px 24px 5px; font-size: 12px; line-height: 14.5px; }
.chat::-webkit-scrollbar { display: none; }
.chat .msg { max-width: 400px; padding: 10px 7px; border-radius: 12px; animation: pop .35s cubic-bezier(.3, 1.3, .5, 1); }
.chat .msg--me { align-self: flex-end; background: var(--paper); color: #16150c; text-align: right; }
.chat .msg--ai { align-self: flex-start; border: .5px solid var(--paper); padding-left: 7px; }
.chat .msg p + p, .chat .msg p + ul, .chat .msg ul + p { margin-top: 14px; }
.chat .typing { display: flex; gap: 4px; padding: 12px; }
.chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--paper); animation: blink 1s infinite; }
.chat .typing i:nth-child(2) { animation-delay: .15s; } .chat .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.ask { position: absolute; left: 1130px; right: 6px; bottom: 6px; height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 26px 0 41px; border: 1px solid var(--line); border-radius: 99px; background: #16150c; }
.ask input { flex: 1; min-width: 0; height: 100%; font: 400 18px "Lexend", sans-serif; color: var(--paper); outline: none; }
.ask input::placeholder { color: var(--paper); }
.ask button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: background-color .2s; }
.ask button:hover { background: rgba(247, 246, 242, .1); }
.ask svg { width: 25px; height: 21px; fill: none; stroke: var(--paper); stroke-width: 1.5; stroke-linejoin: round; }
