/* ==========================================================================
   Homepage (loaded after styles.css and flow.css): centered hero with two buttons,
   product window, platform row, sticky statement, seven-stage tabs, demo story cards,
   feature carousel visuals, command center, research tabs.
   ========================================================================== */

/* ---------- Hero ---------- */
.hm-hero { padding: 96px 0 0; }
.hm-hero .container { padding-bottom: 72px; }
.hm-hero .hero-title { max-width: 900px; }
.hm-hero .hero-sub { font-size: 16px; max-width: 560px; }
.hm-hero .hero-cta { margin-top: 26px; }

/* ---------- Product window ---------- */
.app-wrap { margin-top: 72px; }
.app { display: grid; grid-template-columns: 200px 1fr; height: 520px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-1); overflow: hidden; text-align: left; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.app-side { background: #0d0d0e; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; font-size: 13px; }
.app-ws { display: flex; align-items: center; gap: 8px; padding: 4px 6px; }
.app-ws .ws-avatar { width: 20px; height: 20px; border-radius: 5px; background: var(--fl-a); color: #000; font-size: 10px; font-weight: 700; display: grid; place-items: center; font-style: normal; }
.app-ws .ws-name { font-weight: 500; }
.app-ws svg { width: 12px; height: 12px; color: var(--fg-3); }
.app-ws .ws-inbox { margin-left: auto; width: 14px; height: 10px; border: 1.3px solid var(--fg-3); border-radius: 3px; }
.app-seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-3); border-radius: 7px; padding: 3px; margin: 12px 0; }
.app-seg b { padding: 5px; border-radius: 5px; font-size: 12px; font-weight: 400; color: var(--fg-3); text-align: center; }
.app-seg b.is-active { background: var(--bg-4); color: var(--fg); }
.app-menu li, .app-recents li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; color: var(--fg-2); }
.app-menu li.is-active, .app-recents li.is-active { background: var(--bg-3); color: var(--fg); }
.app-menu svg, .app-recents svg { width: 14px; height: 14px; }
.app-recents-label { display: flex; align-items: center; gap: 6px; margin: 18px 8px 6px; font-size: 11px; color: var(--fg-3); }
.app-recents-label svg { width: 10px; height: 10px; }
.app-side-foot { margin-top: auto; display: flex; justify-content: space-between; color: var(--fg-3); padding: 0 6px; }
.app-side-foot svg { width: 14px; height: 14px; }
.app-main { display: flex; flex-direction: column; min-width: 0; background: radial-gradient(60% 40% at 50% 100%, rgba(62,139,255,.06), transparent 70%), var(--bg-1); }
.app-task { flex: 1; padding: 28px 40px 0; font-size: 13px; overflow: hidden; }
.app-task-k { display: flex; align-items: center; gap: 6px; color: var(--fg-3); font-size: 12px; }
.app-task-k svg { width: 12px; height: 12px; }
.app-task h3 { margin-top: 10px; max-width: 560px; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.app-working { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--fg-3); font-size: 12px; }
.app-working b { font-weight: 400; font-variant-numeric: tabular-nums; }
.app-log { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.app-log li { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--fg-2); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.app-log li.show { opacity: 1; transform: none; }
.app-log li > svg { width: 13px; height: 13px; color: var(--fg-3); flex: none; }
.app-log li span { flex: 1; }
.app-log li .spin { width: 10px; height: 10px; border: 1.5px solid var(--fg-3); border-top-color: var(--fg); border-radius: 50%; animation: spin .8s linear infinite; }
.app-log li.done .spin { border: 0; animation: none; width: auto; height: auto; }
.app-log li.done .spin::after { content: "✓"; color: var(--green); font-size: 11px; }
.app-log li.done span { color: var(--fg-2); }
.app-log li.show:not(.done) span { color: var(--fg); }
.app-composer { position: relative; margin: 14px 40px 24px; border: 1px solid var(--line); border-radius: 12px; background: #0f0f10; padding: 12px; }
.app-composer input { width: 100%; background: none; border: 0; color: var(--fg); font: inherit; font-size: 13px; outline: none; }
.app-composer input::placeholder { color: var(--fg-4); }
.app-composer-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--fg-2); }
.app-composer-row span { flex: 1; }
.app-composer-row b, .app-composer-row > i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 400; }
.app-composer-row > i { border: 0; }
.app-composer-row svg { width: 13px; height: 13px; }
.app-composer-row .send { background: var(--fg); color: #000; }
.app-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font-size: 12.5px; color: var(--fg-3); }
@media (max-width: 860px) { .app { grid-template-columns: 1fr; height: auto; } .app-side { display: none; } .app-task { padding: 22px 20px 0; } .app-composer { margin: 14px 20px 20px; } }

/* ---------- Platform row ---------- */
.hm-logos { padding: 40px 0 0; }
.hm-logos .container { padding-top: 0; padding-bottom: 80px; }
.hm-logos .logos-head { padding-bottom: 20px; }
.logo-row { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px dashed var(--line-dash); }
.logo-row li { display: grid; place-items: center; height: 72px; padding: 0 22px; border-right: 1px dashed var(--line-dash); }
.logo-row li:last-child { border-right: 0; }
.logo-row img { height: 22px; width: auto; max-width: 100%; object-fit: contain; opacity: .9; filter: brightness(0) invert(1); }
.logo-row img[alt="ChatGPT"], .logo-row img[alt="Perplexity"] { height: 26px; }
.logo-row img[alt="Claude"] { height: 21px; }
.logo-row img[alt="Google AI Overviews"] { height: 26px; }
@media (max-width: 860px) { .logo-row { grid-template-columns: repeat(3, 1fr); } .logo-row li:nth-child(3) { border-right: 0; } .logo-row li:nth-child(-n+3) { border-bottom: 1px dashed var(--line-dash); } }

/* ---------- Statement (sticky word reveal) ---------- */
.stmt { position: relative; height: 240vh; }
.stmt > .container { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.stmt-text { max-width: 620px; text-align: center; font-size: 44px; font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; }
.stmt-text .w { color: var(--fg-4); filter: blur(5px); transition: color .4s, filter .4s; }
.stmt-text .w.on { color: var(--fg); filter: none; }
@media (max-width: 860px) { .stmt-text { font-size: 30px; } .stmt { height: 180vh; } }

/* ---------- Seven stages ---------- */
.inline-mark { display: inline-block; width: .62em; height: .62em; background: var(--fg); clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 100%); vertical-align: -0.02em; margin: 0 .04em; }
.section-head p .inline-mark { width: .7em; height: .7em; vertical-align: -0.05em; }
.capabilities .section-head { padding-top: 0; }
.capabilities .container { padding-top: 40px; }
.cap-grid { background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px; }
.cap-left { padding: 24px; border-right: 1px solid var(--line); }
.cap-right { padding: 24px; }
.cap-kicker { display: block; font-size: 12px; color: var(--fg-3); margin-bottom: 8px; }
.cap-copy h3 { font-size: 18px; }
.cap-copy p { font-size: 14px; }
.cap-products { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.cap-right .demo-tag { align-self: flex-end; }
.cmsg-ai small svg { width: 12px; height: 12px; }
@media (max-width: 980px) { .cap-left { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Context cards ---------- */
.ctx-records { gap: 12px; }
.ctx-records .rec-card { width: 200px; }
@media (max-width: 860px) { .ctx-records .rec-card:nth-child(3) { display: none; } }

/* ---------- Story cards (one cycle, demo data) ---------- */
.stories .section-head--row, .reinforced .section-head--row { padding-bottom: 32px; }
.story-card { height: 400px; }
.story-card .cust-body strong { font-size: 44px; }
.story-card .cust-body p { max-width: 460px; }
.story-card--pilot .cust-body strong { font-size: 30px; }
.carousel { padding-right: 24px; }
.carousel-track { will-change: transform; }

/* ---------- Feature visuals ---------- */
.fv-label { font-size: 12px; color: var(--fg-3); margin-bottom: 8px; }
.fv-label b { font-weight: 500; color: var(--fg); padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; }
.fv-label--center { text-align: center; margin-top: 12px; }
.feat-analytics .ins-legend { margin-bottom: 14px; }
.fv-lines { width: 100%; height: 160px; }
.feat-gauge { display: flex; flex-direction: column; justify-content: center; }
/* brand attributes radar (shared look with GEO Insight) */
.feat-radar .ds-radar { display: block; width: 100%; max-width: 196px; margin: 0 auto; overflow: visible; }
.feat-radar .ds-radar-grid polygon, .feat-radar .ds-radar-grid line { fill: none; stroke: #2a2a2c; stroke-width: 1; }
.feat-radar .ds-radar-a { fill: color-mix(in srgb, var(--c) 18%, transparent); stroke: var(--c); stroke-width: 1.4; stroke-linejoin: round; }
.feat-radar .ds-radar-labels text { font-size: 8.5px; fill: var(--fg-3); }
.feat-radar .ins-legend { justify-content: center; margin-top: 8px; }
.feat-gauge .rx-gauge { width: 180px; }
.feat-gauge .rx-gauge strong { top: 46px; }
.fv-alert { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255,35,35,.12); color: #ff7d7d; font-size: 12px; }
.fv-alert i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.fv-claim { margin-top: 18px; }
.fv-claim strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; }
.fv-claim small { display: block; margin-top: 6px; color: var(--fg-3); font-size: 12px; }
.fv-why { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 12.5px; }
.fv-why b { display: block; font-weight: 500; margin-bottom: 4px; }
.fv-why p { color: var(--fg-2); }
.fv-theme { font-size: 14px; margin-bottom: 18px; line-height: 1.4; }
.fv-bar { height: 8px; border-radius: 4px; background: var(--bg-3); overflow: hidden; margin: 6px 0 10px; }
.fv-bar i { display: block; height: 100%; width: var(--w); background: var(--green); border-radius: 4px; }
/* simplified opportunity report visual */
.fq-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.fq-head small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.fq-head strong { display: block; margin-top: 2px; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.fq-head span { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); font-size: 10.5px; color: var(--fg-2); white-space: nowrap; }
.fq-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--bg-2); }
.fq-stats li { padding: 5px 10px; } .fq-stats li + li { border-left: 1px solid var(--line-soft); }
.fq-stats b { display: block; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fq-stats li:nth-child(2) b { color: #ffb020; } .fq-stats li:nth-child(3) b { color: var(--green); }
.fq-stats span { font-size: 10.5px; color: var(--fg-3); white-space: nowrap; }
.fq-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 46px auto; gap: 8px; align-items: center; padding: 5px 0; border-top: 1px solid var(--line-soft); font-size: 11.5px; }
.fq-row:nth-of-type(1) { margin-top: 6px; }
.fq-row i { font-style: normal; font-size: 10.5px; color: var(--fg-4); font-variant-numeric: tabular-nums; }
.fq-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fq-row u { position: relative; height: 4px; border-radius: 2px; background: var(--bg-3); overflow: hidden; text-decoration: none; }
.fq-row u::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 2px; background: #01c2e1; }
.fq-row.miss u::after { background: #ffb020; }
.fq-row b { font-weight: 500; font-size: 10px; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-2); white-space: nowrap; }
.fq-row.miss b { border-color: rgba(255,35,35,.4); color: #ff7d7d; }
/* simplified fact-checking visual */
.fc-title { font-size: 14px; font-weight: 500; line-height: 1.3; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.fc-kpis div { padding: 6px 8px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--bg-2); min-width: 0; }
.fc-kpis small { display: block; font-size: 10.5px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-kpis strong { display: block; margin-top: 1px; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.fc-kpis .bad strong { color: #ff7d7d; } .fc-kpis .ok strong { color: var(--green); }
.fc-rows { margin-top: 8px; border-top: 1px solid var(--line-soft); }
.fc-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 30px auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line-soft); font-size: 11.5px; }
.fc-row span, .fc-row em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-row em { font-style: normal; color: var(--fg-2); }
.fc-row small { font-size: 11px; color: var(--fg-3); text-align: right; font-variant-numeric: tabular-nums; }
.fc-row b { font-weight: 500; font-size: 10.5px; padding: 2px 7px; border-radius: 999px; background: rgba(255,35,35,.12); color: #ff7d7d; white-space: nowrap; }
.fc-row--head { padding: 4px 0; font-size: 10.5px; color: var(--fg-4); }
.fc-row--head span, .fc-row--head em, .fc-row--head small, .fc-row--head b { color: var(--fg-4); background: none; padding: 0; font-weight: 400; font-size: 10.5px; }
.feat-sources .shop-item { padding: 12px; }
.feat-sources .shop-item.you { border-color: rgba(1,194,225,.45); }
.feat-sources .src-ico { width: 28px; height: 28px; border-radius: 6px; background: var(--c); opacity: .85; }
.feat-sources .shop-item em { font-weight: 500; }

/* ---------- Command center ---------- */
.enterprise .section-head { padding-bottom: 8px; }
.cc-head { align-items: flex-start; }
.cc-head .btn { margin-top: 16px; }
.enterprise .cc-grid { margin-top: 8px; }
.cc-table thead th:first-child { width: 30px; }
.cc-table td:nth-child(n+3) { font-variant-numeric: tabular-nums; }
.ent-grid { margin-top: 12px; }
.ent-card:last-child { padding-right: 0; }
.ent-visual { gap: 10px; }

/* ---------- Enterprise visuals: approval flow + integration hub (grey, one accent, loop) ---------- */
.ent-gov { --T: 9s; flex-direction: column; justify-content: center; gap: 10px; padding: 0 22px; overflow: hidden; }
.gov-flow { display: flex; align-items: flex-start; width: 100%; }
.gov-node { display: grid; justify-items: center; gap: 2px; width: 82px; text-align: center; }
.gov-node i { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; color: var(--fg-3); margin-bottom: 4px; }
.gov-node i b { font-weight: 700; }
.gov-node i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gov-node--ok i svg path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.gov-node span { font-size: 12px; font-weight: 600; color: var(--fg); }
.gov-node small { font-size: 10.5px; color: var(--fg-3); }
.gov-link { flex: 1; height: 1px; background: var(--line); margin-top: 22px; position: relative; }
.gov-link b { position: absolute; inset: 0; background: var(--fl-a); transform-origin: left; transform: scaleX(0); }
.gov-log { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 5px; }
.gov-log li { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; font-size: 11.5px; line-height: 1.3; color: var(--fg-2); padding: 5px 10px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line-soft); opacity: 0; }
.gov-log li em { font-style: normal; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.gov-log li b { font-weight: 500; color: var(--fg-3); }
/* one 9 s cycle: draft → line → approved (check draws) → line → logged, the log fills as it goes, then everything resets */
.gov-node:nth-child(1) i { animation: govNode1 var(--T) infinite; }
.gov-node:nth-child(3) i { animation: govNode2 var(--T) infinite; }
.gov-node:nth-child(5) i { animation: govNode3 var(--T) infinite; }
.gov-node--ok i svg path { animation: govCheck var(--T) infinite; }
.gov-link:nth-child(2) b { animation: govLink1 var(--T) infinite; }
.gov-link:nth-child(4) b { animation: govLink2 var(--T) infinite; }
.gov-log li:nth-child(1) { animation: govLog1 var(--T) infinite; }
.gov-log li:nth-child(2) { animation: govLog2 var(--T) infinite; }
.gov-log li:nth-child(3) { animation: govLog3 var(--T) infinite; }
@keyframes govNode1 { 0%, 3% { border-color: var(--line); color: var(--fg-3); background: var(--bg-2); } 6%, 92% { border-color: var(--fg-2); color: var(--fg); background: var(--bg-3); } 100% { border-color: var(--line); color: var(--fg-3); background: var(--bg-2); } }
@keyframes govNode2 { 0%, 17% { border-color: var(--line); color: var(--fg-3); background: var(--bg-2); } 20%, 92% { border-color: var(--fl-a); color: var(--fl-a); background: var(--bg-3); } 100% { border-color: var(--line); color: var(--fg-3); background: var(--bg-2); } }
@keyframes govNode3 { 0%, 33% { border-color: var(--line); color: var(--fg-3); background: var(--bg-2); } 36%, 92% { border-color: var(--fg-2); color: var(--fg); background: var(--bg-3); } 100% { border-color: var(--line); color: var(--fg-3); background: var(--bg-2); } }
@keyframes govCheck { 0%, 18% { stroke-dashoffset: 24; } 24%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 24; } }
@keyframes govLink1 { 0%, 8% { transform: scaleX(0); opacity: 1; } 17%, 90% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes govLink2 { 0%, 24% { transform: scaleX(0); opacity: 1; } 33%, 90% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes govLog1 { 0%, 9% { opacity: 0; transform: translateY(5px); } 13%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes govLog2 { 0%, 25% { opacity: 0; transform: translateY(5px); } 29%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes govLog3 { 0%, 38% { opacity: 0; transform: translateY(5px); } 42%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }

.ent-hub { padding: 0; overflow: hidden; }
.ent-hub svg { width: 100%; height: 100%; display: block; font-family: inherit; }
.hub-line { stroke: var(--line); stroke-width: 1; }
.hub-flow { stroke: var(--fl-a); stroke-opacity: .35; stroke-width: 1; stroke-dasharray: 3 11; animation: hubDash 1.6s linear infinite; }
.hub-dot { fill: var(--fl-a); opacity: 0; offset-rotate: 0deg; animation: hubDot 2.7s cubic-bezier(.45, 0, .2, 1) infinite; }
.hub-ring { fill: none; stroke: var(--fl-a); stroke-width: 1; transform-box: view-box; transform-origin: 200px 120px; animation: hubRing 2.7s ease-out infinite; }
.hub-node rect { fill: var(--bg-2); stroke: var(--line); animation: hubNode 2.7s ease infinite; }
.hub-node text, .hub-core text { font-size: 12px; font-weight: 700; text-anchor: middle; dominant-baseline: central; fill: var(--fg-2); }
.hub-core rect { fill: var(--fg); }
.hub-core text { fill: #000; font-size: 14px; }
@keyframes hubDash { to { stroke-dashoffset: -14; } }
@keyframes hubDot { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes hubRing { 0%, 55% { transform: scale(.85); opacity: 0; } 62% { opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes hubNode { 0%, 2% { stroke: var(--line); } 6% { stroke: var(--fg-2); } 22%, 100% { stroke: var(--line); } }
@supports not (offset-path: path('M0 0')) { .hub-dot { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .ent-gov *, .ent-hub * { animation: none !important; }
  .gov-link b { transform: none; } .gov-log li { opacity: 1; } .gov-node--ok i svg path { stroke-dashoffset: 0; } .hub-dot, .hub-ring { display: none; }
}

/* ---------- Research ---------- */
.research .section-head--row { padding-bottom: 24px; }
.research .pill-tabs { padding: 12px 0 20px; border-top: 1px dashed var(--line-dash); }
.research-grid { padding-bottom: 32px; }
.research-grid[hidden] { display: none; }
.research .container { padding-bottom: 72px; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 96px 0 120px; border-top: 1px dashed var(--line-dash); }

/* ---------- Hero workspace: six screens rotate inside one window ---------- */
.app-main { position: relative; }
.app-screens { position: relative; flex: 1; min-height: 0; }
.app-screen { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 22px 28px 20px; font-size: 12.5px; opacity: 0; transform: translateY(8px); visibility: hidden; transition: opacity .5s ease, transform .5s ease, visibility 0s .5s; }
.app-screen.is-active { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.scr-head { display: flex; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.scr-head b { font-size: 14px; font-weight: 500; color: var(--fg); white-space: nowrap; }
.scr-head span { flex: 1; min-width: 0; color: var(--fg-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr-head em { font-style: normal; font-size: 11px; color: var(--fg-2); padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.scr-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 11.5px; color: var(--fg-3); }
.scr-foot b { font-weight: 500; color: var(--fg); padding: 5px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg-2); white-space: nowrap; }
.scr-panel { padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--bg-2); min-width: 0; }
.scr-panel > small { display: block; font-size: 11px; color: var(--fg-3); }
.scr-kpi { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.scr-kpi strong { font-size: 26px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.scr-kpi i { font-style: normal; font-size: 11.5px; color: var(--fg-2); }
.scr-spark { width: 100%; height: 72px; margin-top: 10px; overflow: visible; }
.scr-line { fill: none; stroke: #dfe4e8; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.scr-line--prev { stroke: #4a4a4d; }
.scr-dot { fill: #fff; stroke: #000; stroke-width: 2; }
.scr-grid-line { stroke: #262626; stroke-dasharray: 2 3; }
.scr-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; color: var(--fg-4); }
.scr-grid { display: grid; gap: 12px; margin-top: 14px; }
.scr-grid--insight { grid-template-columns: 1.15fr 1fr; }
.scr-rank { margin-top: 8px; display: grid; gap: 3px; }
.scr-rank li { position: relative; display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; overflow: hidden; }
.scr-rank li b { font-weight: 400; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.scr-rank li em { font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.scr-rank li u { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--w); background: var(--bg-4); }
.scr-rank li.you { background: rgba(255,255,255,.05); }
.scr-rank li.you u { background: var(--fl-a); }
.scr-rows { margin-top: 10px; display: grid; gap: 4px; }
.scr-rows li { display: grid; grid-template-columns: minmax(0, 1fr) 84px 110px 28px; align-items: center; gap: 12px; padding: 9px 10px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--bg-2); }
.scr-rows li:first-child { border-color: rgba(255,255,255,.22); }
.scr-q { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr-rows li small { font-size: 11px; color: var(--fg-3); }
.scr-rows li u { height: 6px; border-radius: 3px; background: var(--bg-3); overflow: hidden; position: relative; }
.scr-rows li u::after { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, #7c848b, #dfe4e8); border-radius: 3px; }
.scr-rows li em { font-style: normal; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.app-screen .app-task { padding: 14px 0 0; }
.app-screen .app-task h3 { font-size: 15px; }
.app-screen .app-composer { margin: 12px 0 0; }
.scr-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 11.5px; color: var(--fg-3); }
.scr-meta b { font-weight: 500; color: var(--fg); }
.scr-outline { margin-top: 12px; display: grid; gap: 4px; }
.scr-outline li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--bg-2); color: var(--fg); }
.scr-outline li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr-outline li i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--fg-3); }
.scr-outline li.done i { background: #dfe4e8; border-color: #dfe4e8; }
.scr-outline li.live i { border-color: var(--fl-a); box-shadow: 0 0 0 3px rgba(1,194,225,.15); }
.scr-outline li small { font-size: 11px; color: var(--fg-3); }
.scr-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 11.5px; color: var(--fg-3); }
.scr-sources b { font-weight: 400; color: var(--fg-2); padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; }
.scr-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 12px; }
.scr-table th { text-align: left; font-weight: 400; font-size: 11px; color: var(--fg-3); padding: 0 8px 8px; border-bottom: 1px solid var(--line-soft); }
.scr-table td { padding: 8px; border-bottom: 1px solid var(--line-soft); color: var(--fg-2); white-space: nowrap; }
.scr-table td:first-child { color: var(--fg); font-weight: 500; }
.scr-table td:nth-child(2) { white-space: normal; }
.scr-table td i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; border: 1px solid var(--fg-3); vertical-align: 0; }
.scr-table td i.ok { background: #dfe4e8; border-color: #dfe4e8; }
.scr-table td i.wait { border-color: var(--fl-a); }
.scr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.scr-stats li { padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--bg-2); }
.scr-stats small { display: block; font-size: 11px; color: var(--fg-3); }
.scr-stats strong { display: block; margin-top: 4px; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.scr-stats span { display: block; font-size: 11px; color: var(--fg-3); }
.scr-chart { position: relative; margin-top: 12px; }
.scr-chart svg { width: 100%; height: 120px; overflow: visible; }
.scr-event { stroke: rgba(255,255,255,.35); stroke-dasharray: 3 4; }
.scr-event-tag { position: absolute; top: -4px; left: var(--x); transform: translateX(-50%); padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: #0d0d0e; font-size: 10.5px; color: var(--fg-2); white-space: nowrap; }
.scr-legend { display: flex; gap: 14px; margin-top: 8px; font-size: 11px; color: var(--fg-3); }
.scr-legend span { display: flex; align-items: center; gap: 6px; }
.scr-legend i { width: 10px; height: 2px; background: #dfe4e8; }
.scr-legend i.prev { background: #4a4a4d; }
.app-menu li[data-screen] { cursor: pointer; }
@media (max-width: 860px) { .app { height: 560px; } .app-screen { padding: 16px; } .scr-grid--insight { grid-template-columns: 1fr; } .scr-rows li { grid-template-columns: minmax(0, 1fr) 70px 28px; } .scr-rows li u { display: none; } .scr-stats { grid-template-columns: 1fr 1fr; } .scr-table td:nth-child(2), .scr-table th:nth-child(2) { display: none; } .scr-foot span { display: none; } }

/* ---------- Hero workspace: motion on every screen change ---------- */
@keyframes scrDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes scrGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scrIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes scrPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.35); } 60% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }
@keyframes scrDotPulse { 50% { r: 5.5; } }
@keyframes scrBlink { 50% { opacity: .35; } }
.app-screen.is-active .scr-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: scrDraw 2.2s cubic-bezier(.19,1,.22,1) .3s forwards; }
.app-screen.is-active .scr-line--prev { animation-duration: 1.6s; animation-delay: .1s; }
.app-screen.is-active .scr-dot { opacity: 0; animation: scrIn .3s 1.5s forwards, scrDotPulse 2s 1.8s ease-in-out infinite; }
.app-screen.is-active .scr-event { stroke-dasharray: 3 4; opacity: 0; animation: scrIn .4s .9s forwards; }
.app-screen.is-active .scr-event-tag { opacity: 0; animation: scrIn .4s 1.1s forwards; }
.app-screen.is-active .scr-rank li u, .app-screen.is-active .scr-rows li u::after { transform-origin: left; animation: scrGrow 1.4s cubic-bezier(.19,1,.22,1) forwards; animation-delay: calc(var(--i, 0) * 120ms + .3s); transform: scaleX(0); }
.app-screen.is-active .scr-rank li, .app-screen.is-active .scr-rows li, .app-screen.is-active .scr-outline li, .app-screen.is-active .scr-table tbody tr, .app-screen.is-active .scr-stats li, .app-screen.is-active .scr-panel, .app-screen.is-active .scr-meta, .app-screen.is-active .scr-sources { opacity: 0; animation: scrIn .7s cubic-bezier(.19,1,.22,1) forwards; animation-delay: calc(var(--i, 0) * 110ms + .1s); }
.app-screen.is-active .scr-grid .scr-panel:nth-child(2) { --i: 2; }
.scr-rank li:nth-child(1), .scr-rows li:nth-child(1), .scr-outline li:nth-child(1), .scr-table tbody tr:nth-child(1), .scr-stats li:nth-child(1) { --i: 1; }
.scr-rank li:nth-child(2), .scr-rows li:nth-child(2), .scr-outline li:nth-child(2), .scr-table tbody tr:nth-child(2), .scr-stats li:nth-child(2) { --i: 2; }
.scr-rank li:nth-child(3), .scr-rows li:nth-child(3), .scr-outline li:nth-child(3), .scr-table tbody tr:nth-child(3), .scr-stats li:nth-child(3) { --i: 3; }
.scr-rank li:nth-child(4), .scr-rows li:nth-child(4), .scr-outline li:nth-child(4), .scr-table tbody tr:nth-child(4) { --i: 4; }
.scr-rows li:nth-child(5), .scr-table tbody tr:nth-child(5) { --i: 5; }
.scr-table tbody tr:nth-child(6) { --i: 6; }
.scr-meta { --i: 1; } .scr-outline { --i: 2; } .scr-sources { --i: 6; }
.scr-table tbody tr { display: table-row; }
.app-screen.is-active .scr-outline li.live i { animation: scrPulse 1.6s ease-out infinite; }
.app-screen.is-active .scr-table td i.wait { animation: scrBlink 1.4s ease-in-out infinite; }
.app-screen.is-active .scr-rows li:first-child { animation-name: scrIn, scrRowHi; animation-duration: .55s, 2.4s; animation-delay: calc(var(--i, 0) * 80ms + .1s), 1.4s; animation-fill-mode: forwards, forwards; }
@keyframes scrRowHi { 0%, 100% { border-color: var(--line-soft); } 40%, 70% { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.04); } }
.scr-foot b { transition: background .3s, border-color .3s; }
.app-screen.is-active .scr-foot b { animation: scrFootHi 2.2s ease-in-out 2.6s forwards; }
@keyframes scrFootHi { 50% { background: var(--fg); color: #000; border-color: var(--fg); } }
@media (prefers-reduced-motion: reduce) { .app-screen.is-active * { animation: none !important; opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; } }

/* ---------- Hero workspace: extra elements per screen ---------- */
.scr-plats { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.scr-plats li { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 10.5px; color: var(--fg-3); }
.scr-plats li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--fg-3); }
.scr-plats li.on { color: var(--fg); border-color: rgba(255,255,255,.22); }
.scr-plats li.on::before { background: #dfe4e8; border-color: #dfe4e8; }
.scr-sov { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 12px; font-size: 11px; color: var(--fg-3); }
.scr-sov b { font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums; }
.scr-sov-bar { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; }
.scr-sov-bar i { width: var(--w); background: #3a3a3d; transform-origin: left; }
.scr-sov-bar i:nth-child(1) { background: #5a5f66; } .scr-sov-bar i:nth-child(2) { background: #4a4f55; } .scr-sov-bar i:nth-child(4) { background: #35383c; }
.scr-sov-bar i.you { background: #dfe4e8; }
.app-screen.is-active .scr-sov-bar i { animation: scrGrow .9s cubic-bezier(.19,1,.22,1) .5s both; }
.scr-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.scr-stages li { display: flex; align-items: baseline; gap: 6px; padding: 8px 10px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--bg-2); font-size: 11px; color: var(--fg-3); opacity: 0; animation: scrIn .5s cubic-bezier(.19,1,.22,1) forwards; }
.scr-stages li b { font-size: 16px; font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums; }
.scr-stages li.gap { border-color: rgba(255,255,255,.2); }
.scr-stages li:nth-child(1) { animation-delay: .1s; } .scr-stages li:nth-child(2) { animation-delay: .18s; } .scr-stages li:nth-child(3) { animation-delay: .26s; } .scr-stages li:nth-child(4) { animation-delay: .34s; }
.scr-rows { margin-top: 8px; }
.app-log li em { font-style: normal; font-size: 10.5px; color: var(--fg-3); padding: 2px 7px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.app-log li.show:not(.done) em { color: var(--fg); border-color: rgba(255,255,255,.25); }
.scr-grid--content { grid-template-columns: minmax(0, 1.4fr) 220px; align-items: start; margin-top: 0; }
.scr-orbit { position: relative; height: 250px; margin-top: 12px; }
.scr-orbit-ring { position: absolute; left: 50%; top: 50%; width: 190px; height: 190px; margin: -95px 0 0 -95px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.scr-orbit-ring.in { width: 110px; height: 110px; margin: -55px 0 0 -55px; border-style: dashed; border-color: rgba(255,255,255,.08); }
.scr-orbit-core { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: #141415; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.scr-orbit-core b { font-size: 18px; font-weight: 500; line-height: 1; }
.scr-orbit-core small { font-size: 9.5px; color: var(--fg-3); }
.scr-orbit-node { position: absolute; left: 50%; top: 50%; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; background: #0e0e0f; font-size: 10.5px; color: var(--fg-2); white-space: nowrap; transform: translate(-50%, -50%) rotate(var(--a)) translateX(95px) rotate(calc(-1 * var(--a))); }
.scr-orbit-comet { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.7); transform: rotate(0deg) translateX(95px); }
.app-screen.is-active .scr-orbit-comet { animation: scrOrbit 6s linear infinite; }
@keyframes scrOrbit { to { transform: rotate(360deg) translateX(95px); } }
.app-screen.is-active .scr-orbit-node { opacity: 0; animation: scrIn .5s cubic-bezier(.19,1,.22,1) forwards; }
.app-screen.is-active .scr-orbit-node:nth-of-type(1) { animation-delay: .3s; } .app-screen.is-active .scr-orbit-node:nth-of-type(2) { animation-delay: .45s; } .app-screen.is-active .scr-orbit-node:nth-of-type(3) { animation-delay: .6s; } .app-screen.is-active .scr-orbit-node:nth-of-type(4) { animation-delay: .75s; }
.app-screen.is-active .scr-orbit-core { animation: scrPulse 2.2s ease-out .8s infinite; }
.scr-st { display: inline-flex; align-items: center; }
.scr-st.alt { display: none; }
tr.flipped .scr-st { display: none; } tr.flipped .scr-st.alt { display: inline-flex; animation: scrIn .4s cubic-bezier(.19,1,.22,1); }
tr.flipped td:first-child { color: var(--fg); }
.scr-chart svg { height: 96px; }
.scr-plat-bars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 18px; margin-top: 12px; }
.scr-plat-bars li { display: grid; grid-template-columns: 64px 1fr 34px; align-items: center; gap: 8px; font-size: 11px; color: var(--fg-3); }
.scr-plat-bars li u { height: 5px; border-radius: 3px; background: var(--bg-3); position: relative; overflow: hidden; }
.scr-plat-bars li u::after { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, #7c848b, #dfe4e8); border-radius: 3px; transform-origin: left; }
.scr-plat-bars li em { font-style: normal; text-align: right; color: var(--fg); font-variant-numeric: tabular-nums; }
.app-screen.is-active .scr-plat-bars li u::after { animation: scrGrow 1s cubic-bezier(.19,1,.22,1) 1.2s both; }
@media (max-width: 860px) { .scr-grid--content { grid-template-columns: 1fr; } .scr-orbit { display: none; } .scr-stages { grid-template-columns: 1fr 1fr; } .scr-plats { display: none; } .scr-plat-bars { grid-template-columns: 1fr; } .app-log li em { display: none; } }

/* ---------- Hero workspace v2: gauge, checks, timeline, flow, dense tables ---------- */
.scr-grid--gauge { grid-template-columns: 200px 1fr; margin-top: 12px; }
.scr-gauge-panel { display: grid; justify-items: center; text-align: center; }
.scr-gauge { position: relative; width: 108px; height: 108px; margin-top: 6px; }
.scr-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.scr-gauge circle { fill: none; stroke-width: 8; }
.scr-gauge .bg { stroke: var(--bg-3); }
.scr-gauge .fg { stroke: #dfe4e8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); }
.app-screen.is-active .scr-gauge .fg { animation: scrGauge 1.6s cubic-bezier(.19,1,.22,1) .3s both; }
@keyframes scrGauge { from { stroke-dashoffset: 1; } }
.scr-gauge strong { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.scr-gauge-panel .scr-plats { justify-content: center; margin-top: 12px; }
.scr-stats--4 { grid-template-columns: 1fr 1fr; margin-top: 0; }
.scr-stats--3 { grid-template-columns: repeat(3, 1fr); }
.scr-stats--4 li { padding: 12px 14px; }
.scr-stats--4 strong { font-size: 20px; }
.scr-checks { margin-top: 12px; display: grid; gap: 4px; }
.scr-checks li { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 12px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--bg-2); font-size: 12px; opacity: 0; animation: scrIn .7s cubic-bezier(.19,1,.22,1) forwards; animation-delay: calc(var(--i, 0) * 110ms + .5s); }
.scr-checks li:nth-child(1) { --i: 1; } .scr-checks li:nth-child(2) { --i: 2; } .scr-checks li:nth-child(3) { --i: 3; } .scr-checks li:nth-child(4) { --i: 4; }
.scr-checks li span { color: var(--fg); font-weight: 500; }
.scr-checks li small { font-size: 11.5px; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr-checks li em { font-style: normal; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-2); white-space: nowrap; }
.scr-checks li em.ok { color: var(--fg); border-color: rgba(255,255,255,.3); }
.scr-checks li em.warn { color: #d8a35e; border-color: rgba(216,163,94,.4); }
.scr-checks li em.bad { color: #ff9b9b; border-color: rgba(255,120,120,.4); }
.scr-grid--demand { grid-template-columns: 200px 1fr; margin-top: 12px; align-items: start; }
.scr-grid--demand .scr-rows { margin-top: 0; }
.scr-plat-bars--col { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.scr-plat-bars--col li { grid-template-columns: 60px 1fr 34px; }
.scr-grid--timeline { grid-template-columns: minmax(0, 1fr) 240px; margin-top: 10px; align-items: start; }
.scr-timeline { margin-top: 0; gap: 0; position: relative; }
.scr-timeline::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.scr-timeline li { position: relative; align-items: flex-start; padding: 6px 0 6px; gap: 12px; }
.scr-timeline li > svg { width: 12px; height: 12px; padding: 7px; box-sizing: content-box; border-radius: 50%; background: #0e0e0f; border: 1px solid var(--line); color: var(--fg-3); flex: none; z-index: 1; transition: border-color .4s, color .4s, box-shadow .4s; }
.scr-timeline li.show:not(.done) > svg { border-color: rgba(255,255,255,.45); color: var(--fg); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.scr-timeline li.done > svg { border-color: rgba(255,255,255,.25); color: var(--fg-2); }
.scr-timeline li span { display: grid; gap: 1px; padding-top: 3px; min-width: 0; }
.scr-timeline li span b { font-weight: 500; font-size: 12.5px; color: var(--fg); }
.scr-timeline li span small { font-size: 11px; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr-timeline li em { margin-top: 5px; }
.scr-timeline li .spin { margin-top: 10px; }
.scr-timeline li.done .spin { margin-top: 6px; }
.scr-head em i { font-style: normal; font-variant-numeric: tabular-nums; }
.scr-card { padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--bg-2); font-size: 11.5px; opacity: 0; animation: scrIn .7s cubic-bezier(.19,1,.22,1) .4s forwards; }
.scr-card > small { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.scr-card dl { margin: 10px 0 0; display: grid; gap: 8px; }
.scr-card dl div { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid var(--line-soft); border-radius: 7px; background: #0e0e0f; }
.scr-card dt { font-size: 10.5px; color: var(--fg-3); }
.scr-card dd { margin: 0; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr-card-next { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 11px; color: var(--fg-2); }
.scr-card-next i { width: 7px; height: 7px; border-radius: 50%; background: #dfe4e8; animation: scrPulse 2s ease-out infinite; }
.scr-flow { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 16px; position: relative; }
.scr-flow::before { content: ""; position: absolute; left: 8.3%; right: 8.3%; top: 19px; height: 1px; background: var(--line); }
.scr-flow li { position: relative; display: grid; justify-items: center; gap: 8px; font-size: 11px; color: var(--fg-3); }
.scr-flow li svg { width: 14px; height: 14px; padding: 11px; box-sizing: content-box; border-radius: 50%; background: #0e0e0f; border: 1px solid var(--line); color: var(--fg-3); z-index: 1; transition: border-color .4s, color .4s, background .4s; }
.scr-flow li.done svg { color: var(--fg); border-color: rgba(255,255,255,.28); }
.scr-flow li.done span { color: var(--fg-2); }
.scr-flow li.live svg { color: #000; background: #dfe4e8; border-color: #dfe4e8; }
.scr-flow li.live span { color: var(--fg); }
.app-screen.is-active .scr-flow li { opacity: 0; animation: scrIn .6s cubic-bezier(.19,1,.22,1) forwards; }
.app-screen.is-active .scr-flow li:nth-child(1) { animation-delay: .15s; } .app-screen.is-active .scr-flow li:nth-child(2) { animation-delay: .3s; } .app-screen.is-active .scr-flow li:nth-child(3) { animation-delay: .45s; } .app-screen.is-active .scr-flow li:nth-child(4) { animation-delay: .6s; } .app-screen.is-active .scr-flow li:nth-child(5) { animation-delay: .75s; } .app-screen.is-active .scr-flow li:nth-child(6) { animation-delay: .9s; }
.app-screen.is-active .scr-flow li.live svg { animation: scrPulse 1.8s ease-out 1.2s infinite; }
.scr-flow .scr-flow-dot { display: none; }
.scr-table--dense td { padding: 6px 8px; font-size: 11.5px; }
.scr-table--dense th { padding-bottom: 6px; }
.scr-table tbody tr:nth-child(7) { --i: 7; } .scr-table tbody tr:nth-child(8) { --i: 8; }
.scr-grid--analytics { grid-template-columns: 220px 1fr; margin-top: 12px; align-items: stretch; }
.scr-table--mini { margin-top: 8px; font-size: 12px; }
.scr-table--mini td { padding: 6px 4px; white-space: nowrap; }
.scr-table--mini td:nth-child(2) { text-align: right; color: var(--fg); font-variant-numeric: tabular-nums; }
.scr-table--mini td.up { text-align: right; color: var(--fg-2); font-size: 11px; font-variant-numeric: tabular-nums; }
.scr-table--mini tbody tr { display: table-row; }
.scr-grid--analytics .scr-chart svg { height: 86px; }
.scr-grid--analytics .scr-kpi strong { font-size: 24px; }
.scr-grid--analytics .scr-kpi i { font-size: 11px; }
.scr-stats--3 { margin-top: 10px; }
.scr-stats--3 strong { font-size: 18px; }
@media (max-width: 860px) { .scr-grid--gauge, .scr-grid--demand, .scr-grid--timeline, .scr-grid--analytics { grid-template-columns: 1fr; } .scr-card, .scr-grid--demand .scr-panel, .scr-checks li small { display: none; } .scr-checks li { grid-template-columns: 1fr auto; } .scr-flow { grid-template-columns: repeat(3, 1fr); gap: 10px 0; } .scr-flow::before { display: none; } .scr-stats--3 { grid-template-columns: 1fr 1fr 1fr; } .scr-table--dense td:nth-child(2) { display: none; } }

/* ---------- Hero workspace v3: GEO Insight radar + funnel, Prompt Demand platform trend ---------- */
.scr-grid--insight2 { grid-template-columns: 1.1fr 1fr; margin-top: 12px; }
.scr-grid--insight2 .scr-spark { height: 54px; }
.scr-grid--insight2 .scr-plats { margin-top: 8px; }
.scr-radar-panel { display: grid; grid-template-rows: auto 1fr; }
.scr-radar { position: relative; width: 150px; height: 138px; margin: 0 auto; }
.scr-radar svg { width: 100%; height: 100%; overflow: visible; }
.scr-radar .grid { fill: none; stroke: rgba(255,255,255,.1); }
.scr-radar .spokes line { stroke: rgba(255,255,255,.07); }
.scr-radar .prev { fill: rgba(255,255,255,.05); stroke: #4a4a4d; stroke-width: 1; }
.scr-radar .now { fill: rgba(223,228,232,.14); stroke: #dfe4e8; stroke-width: 1.4; stroke-linejoin: round; transform-origin: 80px 80px; }
.scr-radar .pts circle { fill: #fff; }
.app-screen.is-active .scr-radar .now, .app-screen.is-active .scr-radar .pts { animation: scrRadar 1.4s cubic-bezier(.19,1,.22,1) .4s both; transform-origin: 80px 80px; }
@keyframes scrRadar { from { transform: scale(.2); opacity: 0; } }
.scr-radar > span { position: absolute; transform: translate(-50%, -50%); font-size: 9px; color: var(--fg-3); white-space: nowrap; }
.scr-radar > span:nth-of-type(2), .scr-radar > span:nth-of-type(3) { transform: translate(-16%, -50%); }
.scr-radar > span:nth-of-type(5), .scr-radar > span:nth-of-type(6) { transform: translate(-84%, -50%); }
.scr-grid--insight3 { grid-template-columns: 1fr 1fr; margin-top: 8px; gap: 16px; }
.scr-funnel { display: grid; gap: 3px; }
.scr-funnel li { display: grid; grid-template-columns: 84px auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 4px 8px; border: 1px solid var(--line-soft); border-radius: 7px; background: var(--bg-2); font-size: 11px; opacity: 0; animation: scrIn .6s cubic-bezier(.19,1,.22,1) forwards; animation-delay: calc(var(--i, 0) * 100ms + .5s); }
.scr-funnel li:nth-child(1) { --i: 1; } .scr-funnel li:nth-child(2) { --i: 2; } .scr-funnel li:nth-child(3) { --i: 3; } .scr-funnel li:nth-child(4) { --i: 4; } .scr-funnel li:nth-child(5) { --i: 5; }
.scr-funnel li span { color: var(--fg); font-weight: 500; }
.scr-funnel li em { font-style: normal; font-size: 10px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.scr-funnel li em.ok { color: var(--fg); border-color: rgba(255,255,255,.3); }
.scr-funnel li em.warn { color: #d8a35e; border-color: rgba(216,163,94,.4); }
.scr-funnel li em.bad { color: #ff9b9b; border-color: rgba(255,120,120,.4); }
.scr-funnel li small { font-size: 10.5px; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr-bars { display: grid; gap: 7px; align-content: start; padding-top: 2px; }
.scr-bars li { display: grid; grid-template-columns: 96px 1fr 22px 28px; align-items: center; gap: 8px; font-size: 10.5px; color: var(--fg-3); opacity: 0; animation: scrIn .6s cubic-bezier(.19,1,.22,1) forwards; animation-delay: calc(var(--i, 0) * 80ms + .6s); }
.scr-bars li:nth-child(1) { --i: 1; } .scr-bars li:nth-child(2) { --i: 2; } .scr-bars li:nth-child(3) { --i: 3; } .scr-bars li:nth-child(4) { --i: 4; } .scr-bars li:nth-child(5) { --i: 5; } .scr-bars li:nth-child(6) { --i: 6; }
.scr-bars li span { color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr-bars li u { height: 5px; border-radius: 3px; background: var(--bg-3); position: relative; overflow: hidden; }
.scr-bars li u::after { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, #7c848b, #dfe4e8); border-radius: 3px; transform-origin: left; }
.app-screen.is-active .scr-bars li u::after { animation: scrGrow 1.2s cubic-bezier(.19,1,.22,1) both; animation-delay: calc(var(--i, 0) * 80ms + .8s); }
.scr-bars li em { font-style: normal; color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; }
.scr-bars li small { text-align: right; font-variant-numeric: tabular-nums; }
.scr-grid--demand2 { grid-template-columns: minmax(0, 1fr) 190px; margin-top: 10px; align-items: stretch; }
.scr-multi { width: 100%; height: 86px; margin-top: 8px; overflow: visible; }
.scr-line.l2 { stroke: #a9b2ba; } .scr-line.l3 { stroke: #767d84; } .scr-line.l4 { stroke: #4e5359; }
.app-screen.is-active .scr-line.l2 { animation-delay: .4s; } .app-screen.is-active .scr-line.l3 { animation-delay: .55s; } .app-screen.is-active .scr-line.l4 { animation-delay: .7s; }
.scr-grid--demand2 .scr-plat-bars--col { margin-top: 0; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--bg-2); align-content: space-evenly; }
.scr-rows--tags { margin-top: 10px; }
.scr-rows--tags li { grid-template-columns: minmax(0, 1fr) auto 30px; padding: 7px 10px; }
.scr-tags { display: flex; gap: 4px; }
.scr-tags i { font-style: normal; font-size: 10px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-3); white-space: nowrap; }
.scr-tags i:first-child { color: var(--fg-2); border-color: rgba(255,255,255,.2); }
.scr-rows--tags li em { padding: 2px 0; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; text-align: center; font-size: 12px; }
@media (max-width: 860px) { .scr-grid--insight2, .scr-grid--insight3, .scr-grid--demand2 { grid-template-columns: 1fr; } .scr-radar-panel, .scr-bars, .scr-tags i:not(:first-child) { display: none; } .scr-rows--tags li { grid-template-columns: minmax(0, 1fr) 30px; } .scr-tags { display: none; } }

/* ---------- Hero workspace v4: coloured action timeline, coloured production flow ---------- */
.scr-replay { cursor: pointer; }
.scr-replay:hover { color: var(--fg); border-color: rgba(255,255,255,.3); }
.scr-timeline2 { position: relative; display: grid; gap: 2px; margin-top: 0; }
.scr-timeline2::before { content: ""; position: absolute; left: 13px; top: 16px; bottom: 16px; width: 1px; background: var(--line); }
.scr-timeline2 li { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 2px 10px 2px 0; border: 1px solid transparent; border-radius: 10px; opacity: 0; transform: translateY(8px); transition: opacity .45s cubic-bezier(.19,1,.22,1), transform .45s cubic-bezier(.19,1,.22,1), border-color .35s, background .35s, box-shadow .35s; }
.scr-timeline2 li.show { opacity: 1; transform: none; }
.scr-timeline2 li.next.show { opacity: .45; }
.scr-timeline2 li > i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #141516; border: 1px solid rgba(255,255,255,.14); color: var(--fg-2); z-index: 1; transition: background .35s, border-color .35s, color .35s, box-shadow .35s; }
.scr-timeline2 li.done > i { color: var(--fg-3); border-color: rgba(255,255,255,.22); }
.scr-timeline2 li.done > i svg { display: none; }
.scr-timeline2 li.done > i::after { content: "✓"; font-size: 11px; color: var(--fg-2); }
.scr-timeline2 li > i svg { width: 12px; height: 12px; }
.scr-timeline2 li span { display: grid; gap: 1px; min-width: 0; }
.scr-timeline2 li span b { font-weight: 500; font-size: 12.5px; color: var(--fg); }
.scr-timeline2 li span small { font-size: 10.5px; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr-timeline2 li em { font-style: normal; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--fg-2); white-space: nowrap; }
.scr-timeline2 li.on em { border-color: color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); color: color-mix(in srgb, var(--c) 85%, #fff); }
.scr-timeline2 li.on { --c: #d8b45a; padding-left: 8px; margin-left: -8px; border-color: color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 7%, transparent); box-shadow: 0 0 30px color-mix(in srgb, var(--c) 18%, transparent); }
.scr-timeline2 li.on > i { background: var(--c); color: #000; border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); }
.app-screen.is-active .scr-timeline2 li.on > i { animation: scrPulseC 1.8s ease-out 1.8s infinite; }
@keyframes scrPulseC { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 45%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes scrInDim { from { opacity: 0; transform: translateY(10px); } to { opacity: .45; transform: none; } }
.scr-grid--timeline { grid-template-columns: minmax(0, 1fr) 232px; }
.scr-card dl { gap: 4px; }
.scr-card dl div { padding: 4px 9px; }
.scr-card dd { font-size: 11px; }
.scr-card { padding: 12px 14px; }
.scr-card-next { margin-top: 10px; }
@media (max-width: 860px) { .scr-timeline2 li small { display: none; } }

/* ---------- Hero workspace: Brand Intelligence screen ---------- */
.scr-grid--brand { grid-template-columns: 1.05fr 1fr; margin-top: 12px; align-items: start; }
.scr-col { display: grid; gap: 10px; }
.scr-align-bar { margin-top: 10px; }
.scr-sov-bar i.bad { background: #8a6a6a; }
.scr-legend--align { margin-top: 8px; }
.scr-legend i.bad { background: #8a6a6a; }
.scr-narr { margin-top: 12px; display: grid; gap: 4px; }
.scr-narr li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line-soft); border-radius: 8px; background: #0e0e0f; font-size: 12px; opacity: 0; animation: scrIn .6s cubic-bezier(.19,1,.22,1) forwards; animation-delay: calc(var(--i, 0) * 110ms + .5s); }
.scr-narr li:nth-child(1) { --i: 1; } .scr-narr li:nth-child(2) { --i: 2; } .scr-narr li:nth-child(3) { --i: 3; } .scr-narr li:nth-child(4) { --i: 4; } .scr-narr li:nth-child(5) { --i: 5; }
.scr-narr li span { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr-narr li small { font-size: 10.5px; color: var(--fg-3); white-space: nowrap; }
.scr-narr li em { font-style: normal; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-2); white-space: nowrap; }
.scr-narr li em.ok { color: var(--fg); border-color: rgba(255,255,255,.3); }
.scr-narr li em.warn { color: #d8a35e; border-color: rgba(216,163,94,.4); }
.scr-narr li em.bad { color: #ff9b9b; border-color: rgba(255,120,120,.4); }
.scr-narr li em.none { border-style: dashed; color: var(--fg-3); }
.scr-claim { margin-top: 10px; padding: 9px 11px; border: 1px solid var(--line-soft); border-radius: 8px; background: #0e0e0f; opacity: 0; animation: scrIn .6s cubic-bezier(.19,1,.22,1) forwards; }
.scr-claim.bad { animation-delay: .5s; } .scr-claim.good { animation-delay: .8s; }
.scr-claim b { display: flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--fg-3); }
.scr-claim b i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); }
.scr-claim.bad b i { background: #ff9b9b; } .scr-claim.good b i { background: #dfe4e8; }
.scr-claim p { margin-top: 5px; font-size: 12.5px; line-height: 1.4; color: var(--fg); }
.scr-claim.bad p { color: var(--fg-2); text-decoration: line-through; text-decoration-color: rgba(255,120,120,.6); }
.scr-claim small { display: block; margin-top: 4px; font-size: 10.5px; color: var(--fg-4); }
.scr-fix { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 11.5px; color: var(--fg-2); opacity: 0; animation: scrIn .6s cubic-bezier(.19,1,.22,1) 1.1s forwards; }
.scr-fix i { width: 7px; height: 7px; border-radius: 50%; background: #dfe4e8; animation: scrPulse 2s ease-out 1.4s infinite; }
.scr-stats--know { margin-top: 0; }
.scr-stats--know li { padding: 10px 12px; }
.scr-stats--know strong { font-size: 20px; }
@media (max-width: 860px) { .scr-grid--brand { grid-template-columns: 1fr; } .scr-narr li small { display: none; } .scr-stats--know { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- Hero: website address → report request ---------- */
.hero-url { position: relative; display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 26px auto 0; padding: 6px 6px 6px 20px; border: 1px solid var(--line); border-radius: 999px; background: #0f0f10; text-align: left; }
.hero-url:focus-within { border-color: rgba(255,255,255,.35); }
.hero-url input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--fg); font: inherit; font-size: 16px; }
.hero-url input::placeholder { color: var(--fg-3); }
.hero-url input.bad { color: #ff7d7d; }
.hero-url button { flex: none; padding: 12px 22px; border-radius: 999px; background: var(--fg); color: #000; font-weight: 500; font-size: 15px; white-space: nowrap; transition: transform .3s, background .3s; }
.hero-url button:hover { background: #fff; transform: translateY(-1px); }
.hero-url-msg { position: absolute; left: 20px; top: 100%; margin-top: 6px; font-size: 12.5px; color: #ff7d7d; }
.hm-hero .hero-cta { margin-top: 32px; }
@media (max-width: 560px) { .hero-url { flex-direction: column; align-items: stretch; padding: 8px; border-radius: 16px; } .hero-url input { padding: 8px 10px; } .hero-url button { width: 100%; } .hero-url-msg { position: static; margin: 4px 0 0 10px; } }

/* ---------- Product tabs: the right panel is the matching hero screen ---------- */
.cap-grid { grid-template-columns: 340px 1fr; }
.cap-right { position: relative; padding: 14px; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.cap-right .demo-tag { order: 2; position: static; align-self: flex-start; margin-left: 4px; }
.cap-screens { position: relative; height: 544px; border-radius: 12px; background: var(--bg-1); overflow: hidden; }
.cap-screens .app-screen { padding: 22px 24px 20px; }
@media (max-width: 980px) { .cap-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .cap-screens { height: 560px; } }
