:root {
  --premium-ink: #111827;
  --premium-muted: #657084;
  --premium-line: rgba(17, 24, 39, 0.1);
  --premium-soft: #f4f5f8;
  --premium-card: #ffffff;
  --premium-green: #2fa677;
  --premium-red: #ff4f67;
  --premium-blue: #2f6df6;
  --premium-amber: #f5b84b;
  --premium-logo-radius: 14px;
  --premium-logo-size: 56px;
  --premium-shell-width: 1344px;
}

.premium-landing {
  background: #f3f4f7;
  color: var(--premium-ink);
}

.premium-landing .landing-shell {
  padding: 28px 22px 64px;
}

.landing-header {
  margin-bottom: 64px;
}

.landing-beta-warning {
  align-items: center;
  background: rgba(245, 184, 75, 0.12);
  border: 1px solid rgba(245, 184, 75, 0.24);
  border-radius: 8px;
  color: #7a5515;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 16px;
  max-width: var(--premium-shell-width);
  min-height: 40px;
  padding: 9px 14px;
  text-align: center;
}

.landing-beta-warning span {
  color: #b7791f;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.landing-beta-warning strong {
  color: #5f4414;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.premium-nav {
  align-items: center;
  background: transparent;
  margin-bottom: 0;
  min-height: 56px;
}

.premium-logo img,
.signals-logo img {
  border-radius: var(--premium-logo-radius);
  clip-path: inset(0 round var(--premium-logo-radius));
  display: block;
  height: var(--premium-logo-size);
  object-fit: cover;
  width: var(--premium-logo-size);
}

#how-it-works,
#faq {
  scroll-margin-top: 28px;
}

.premium-nav .navbar-menu {
  align-items: center;
  box-shadow: none;
}

.premium-nav .navbar-start,
.premium-nav .navbar-end {
  align-items: center;
  gap: 4px;
}

.premium-nav .navbar-end {
  margin-left: auto;
}

.premium-nav .navbar-item {
  border-radius: 8px;
  color: var(--premium-muted);
  font-weight: 800;
  padding: 12px 16px;
}

.premium-nav .navbar-item:hover,
.premium-nav .navbar-item.is-active {
  background: #ffffff;
  color: var(--premium-ink);
}

.premium-open-app,
.primary-button,
.secondary-button {
  border-radius: 8px !important;
  font-weight: 900;
}

.premium-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.74fr);
  gap: 54px;
  align-items: center;
  min-height: 620px;
  position: relative;
}

.premium-hero-copy {
  position: relative;
}

#landing-particles {
  inset: -58px -30px auto -46px;
  height: 380px;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.premium-hero-copy > *:not(#landing-particles) {
  position: relative;
  z-index: 1;
}

.premium-kicker,
.signals-kicker {
  color: var(--premium-blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.premium-hero h1 {
  color: var(--premium-ink);
  font-size: clamp(3.8rem, 7.4vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
  margin-bottom: 26px;
  max-width: 980px;
}

.premium-lede {
  color: var(--premium-muted);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 650;
  line-height: 1.45;
  max-width: 720px;
}

.premium-actions {
  gap: 12px;
  margin: 32px 0 26px;
}

.premium-actions .button {
  min-height: 54px;
  padding-left: 24px;
  padding-right: 24px;
}

.agent-preview {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(17, 24, 39, 0.26);
  color: #15ff15;
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr);
  min-height: 420px;
  overflow: hidden;
}

.agent-terminal-screen,
.agent-ascii-logo,
.agent-line,
.agent-table {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
}

.agent-window-head {
  align-items: center;
  border-bottom: 1px solid rgba(21, 255, 21, 0.16);
  display: flex;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
}

.agent-window-head span {
  border-radius: 999px;
  display: block;
  height: 11px;
  width: 11px;
}

.agent-window-head span:nth-child(1) { background: var(--premium-red); }
.agent-window-head span:nth-child(2) { background: var(--premium-amber); }
.agent-window-head span:nth-child(3) { background: var(--premium-green); }

.agent-window-head strong {
  color: #cdd6e4;
  font-size: 0.9rem;
  margin-left: auto;
}

.agent-terminal-screen {
  min-width: 0;
  overflow: hidden;
  padding: 18px 22px 20px;
}

.agent-ascii-logo {
  background: transparent;
  color: #15ff15;
  font-size: clamp(0.42rem, 0.78vw, 0.82rem);
  font-weight: 950;
  line-height: 0.92;
  margin: 0 0 9px;
  overflow: visible;
  padding: 0;
  white-space: pre;
}

.agent-rule {
  background: #15ff15;
  height: 1px;
  margin-bottom: 8px;
  opacity: 0.8;
  width: min(420px, 72%);
}

.agent-line {
  color: #15ff15;
  font-size: clamp(0.54rem, 0.72vw, 0.72rem);
  font-weight: 850;
  line-height: 1.35;
  white-space: nowrap;
}

.agent-spacer {
  height: 16px;
}

.agent-table {
  color: #15ff15;
  display: grid;
  font-size: clamp(0.44rem, 0.63vw, 0.66rem);
  font-weight: 850;
  line-height: 1.28;
  min-width: 0;
}

.agent-table-row {
  display: grid;
  grid-template-columns: 34px 42px 34px minmax(148px, 1fr) 48px 112px 36px;
}

.agent-table-row span {
  border-right: 1px solid #15ff15;
  overflow: hidden;
  padding: 0 4px;
  text-overflow: clip;
  white-space: nowrap;
}

.agent-table-row span:first-child,
.agent-table-row span:nth-child(6) {
  text-align: right;
}

.agent-table-row.is-header span {
  text-align: left;
}

.agent-table-rule {
  background: #15ff15;
  height: 1px;
  margin: 3px 0 5px;
  width: 100%;
}

[data-agent-value] {
  display: inline-block;
  min-width: 2ch;
  transition: color 160ms ease, text-shadow 160ms ease;
}

[data-agent-value].is-ticking {
  color: #9cff9c;
  text-shadow: 0 0 10px rgba(21, 255, 21, 0.75);
}

.premium-exchange-slider {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 min(118px, 15vw), #000 calc(100% - min(118px, 15vw)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 min(118px, 15vw), #000 calc(100% - min(118px, 15vw)), transparent 100%);
  margin: 30px 0 86px;
  overflow: hidden;
  position: relative;
}

.premium-logo-track {
  animation: premiumTicker 34s linear infinite;
  display: flex;
  gap: 28px;
  width: max-content;
}

.premium-logo-chip {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--premium-ink);
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  min-height: 58px;
  min-width: 88px;
  padding: 0 12px;
}

.premium-logo-chip.is-muted {
  filter: grayscale(1);
  opacity: 0.38;
}

.premium-logo-chip.is-active {
  filter: none;
  opacity: 1;
}

.premium-logo-chip img {
  display: block;
  height: 26px;
  max-width: 88px;
  width: auto;
}

@keyframes premiumTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.premium-card,
.pricing-card,
.comparison-table,
.ledger-preview,
.signals-panel.demo-agent-panel {
  background: var(--premium-card);
  border: 1px solid var(--premium-line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.05);
}

.premium-card h3,
.pricing-card h2 {
  color: var(--premium-ink);
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.premium-card p,
.pricing-card p,
.premium-section-copy p,
.faq-list p,
.footer-brand p,
.footer-disclaimer p {
  color: var(--premium-muted);
  font-weight: 650;
  line-height: 1.55;
}

.premium-section {
  margin-bottom: 92px;
}

.demo-section {
  align-items: center;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
}

.premium-section-copy {
  max-width: 660px;
}

.premium-section-copy .title,
.pricing-hero .title,
.demo-agent-hero .title {
  color: var(--premium-ink);
  line-height: 1.02;
  margin-bottom: 18px;
}

.ledger-preview {
  overflow: hidden;
}

.ledger-row {
  align-items: center;
  border-top: 1px solid var(--premium-line);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(150px, 1fr) 110px 96px 130px;
  padding: 18px 20px;
}

.ledger-row:first-child {
  border-top: 0;
}

.ledger-row.is-header {
  background: #fafbfc;
  color: var(--premium-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ledger-row small {
  color: var(--premium-muted);
  display: block;
  font-weight: 800;
  margin-top: 2px;
}

.ledger-row em {
  background: #edf8f3;
  border-radius: 8px;
  color: #166647;
  font-style: normal;
  font-weight: 900;
  justify-self: start;
  padding: 8px 10px;
}

.is-positive { color: var(--premium-green) !important; }
.is-negative { color: var(--premium-red) !important; }

.premium-scroll-flow {
  background: var(--premium-bg);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(360px, 38vw) minmax(0, 1fr);
  margin: 0 calc(50% - 50vw) 108px;
  position: relative;
  width: 100vw;
}

.scroll-flow-sticky {
  align-self: start;
  min-height: 100vh;
  position: sticky;
  top: 0;
}

.scroll-flow-left {
  background:
    radial-gradient(circle at 24% 18%, rgba(47, 109, 246, 0.22), transparent 32%),
    radial-gradient(circle at 80% 82%, rgba(39, 230, 242, 0.14), transparent 34%),
    #0a1324;
  border-right: 1px solid rgba(143, 178, 255, 0.16);
  border-radius: 0;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(34px, 4vw, 72px);
}

.scroll-flow-left .premium-kicker {
  color: #8fb2ff;
}

.scroll-flow-left .title {
  color: #ffffff;
  font-size: clamp(2.45rem, 3.4vw, 4.3rem);
  line-height: 0.98;
  margin-bottom: 18px;
}

.scroll-flow-intro {
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.5;
  margin-bottom: 34px;
  max-width: 420px;
}

.scroll-flow-steps {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.scroll-flow-steps li {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #cbd5e1;
  display: flex;
  font-weight: 900;
  gap: 12px;
  min-height: 58px;
  padding: 0 14px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.scroll-flow-steps li span {
  color: #8fb2ff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.scroll-flow-steps li.is-active {
  background: #ffffff;
  color: #111827;
  transform: translateX(8px);
}

.scroll-flow-scenes {
  display: grid;
  gap: 0;
}

.scroll-flow-scene {
  align-items: center;
  background:
    radial-gradient(circle at 78% 16%, rgba(47, 109, 246, 0.08), transparent 30%),
    radial-gradient(circle at 24% 76%, rgba(47, 166, 119, 0.07), transparent 32%),
    var(--premium-bg);
  border: 0;
  border-bottom: 1px solid var(--premium-line);
  border-radius: 0;
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(280px, 0.68fr) minmax(360px, 1fr);
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(44px, 5vw, 86px);
  position: relative;
}

.scroll-flow-scene::before {
  background:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: 0.56;
  pointer-events: none;
  position: absolute;
}

.scroll-flow-scene > * {
  position: relative;
  z-index: 1;
}

.scene-copy h3 {
  color: var(--premium-ink);
  font-size: clamp(2.15rem, 2.65vw, 3.4rem);
  font-weight: 950;
  line-height: 1.04;
  margin-bottom: 18px;
  max-width: 500px;
}

.scene-copy p:not(.premium-kicker) {
  color: var(--premium-muted);
  font-size: clamp(1rem, 1.05vw, 1.1rem);
  font-weight: 700;
  line-height: 1.55;
  max-width: 470px;
}

.blueprint-visual {
  background:
    linear-gradient(rgba(47, 109, 246, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 109, 246, 0.055) 1px, transparent 1px),
    #ffffff;
  background-size: 34px 34px;
  border: 1px solid rgba(47, 109, 246, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.08);
  min-height: 390px;
  overflow: hidden;
  position: relative;
  width: min(640px, 100%);
}

.blueprint-visual::before {
  background:
    radial-gradient(circle at 22% 24%, rgba(39, 230, 242, 0.12), transparent 28%),
    radial-gradient(circle at 82% 30%, rgba(47, 147, 255, 0.1), transparent 26%),
    radial-gradient(circle at 50% 88%, rgba(88, 214, 158, 0.08), transparent 30%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.blueprint-visual::after {
  border: 1px solid rgba(47, 109, 246, 0.1);
  border-radius: 8px;
  content: "";
  inset: 12px;
  pointer-events: none;
  position: absolute;
}

.blueprint-node,
.exchange-card,
.monitor-dashboard,
.monitor-phone {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #27e6f2;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(47, 109, 246, 0.12), inset 0 0 24px rgba(39, 230, 242, 0.06);
  color: var(--premium-ink);
  position: absolute;
}

.blueprint-node {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 116px;
  justify-content: center;
  width: 116px;
  z-index: 2;
}

.blueprint-node strong,
.exchange-card strong {
  color: var(--premium-ink);
  font-size: 1.08rem;
  font-weight: 950;
}

.pulse-mark {
  display: block;
  height: 34px;
  position: relative;
  width: 58px;
}

.pulse-mark::before {
  background: linear-gradient(90deg, transparent, #27e6f2 14%, #27e6f2 20%, transparent 20%, transparent 30%, #27e6f2 30%, #27e6f2 36%, transparent 36%, transparent 44%, #27e6f2 44%, #27e6f2 50%, transparent 50%, transparent 64%, #27e6f2 64%, #27e6f2 72%, transparent 72%);
  clip-path: polygon(0 48%, 22% 48%, 32% 18%, 43% 82%, 56% 22%, 66% 58%, 100% 58%, 100% 66%, 62% 66%, 56% 42%, 43% 98%, 31% 40%, 26% 58%, 0 58%);
  content: "";
  inset: 0;
  position: absolute;
}

.robot-mark {
  border: 4px solid #b9d7ff;
  border-radius: 14px;
  display: block;
  height: 40px;
  position: relative;
  width: 50px;
}

.robot-mark::before {
  background: #b9d7ff;
  border-radius: 999px;
  content: "";
  height: 10px;
  left: 18px;
  position: absolute;
  top: -18px;
  width: 10px;
}

.robot-mark::after {
  background: radial-gradient(circle at 34% 50%, #b9d7ff 0 4px, transparent 5px), radial-gradient(circle at 66% 50%, #b9d7ff 0 4px, transparent 5px);
  content: "";
  inset: 0;
  position: absolute;
}

.zupex-node { left: 54px; top: 138px; }
.agent-node { right: 54px; top: 138px; border-color: #2f93ff; box-shadow: 0 18px 42px rgba(47, 147, 255, 0.14), inset 0 0 24px rgba(47, 147, 255, 0.07); }

.websocket-rail {
  border-top: 3px solid rgba(39, 230, 242, 0.8);
  height: 48px;
  left: 188px;
  position: absolute;
  right: 188px;
  top: 194px;
  z-index: 2;
}

.websocket-rail::after {
  border-right: 4px solid #e5f4ff;
  border-top: 4px solid #e5f4ff;
  content: "";
  height: 24px;
  position: absolute;
  right: -2px;
  top: -14px;
  transform: rotate(45deg);
  width: 24px;
}

.rail-label {
  background: #ffffff;
  color: #27e6f2;
  font-size: 0.9rem;
  font-weight: 950;
  left: 50%;
  padding: 0 14px;
  position: absolute;
  top: -20px;
  transform: translateX(-50%);
}

.packet {
  animation: packetMove 2.8s linear infinite;
  background: #27e6f2;
  border-radius: 3px;
  box-shadow: 0 0 16px rgba(39, 230, 242, 0.7);
  height: 14px;
  position: absolute;
  top: -8px;
  width: 14px;
}

.packet-b { animation-delay: 900ms; }
.packet-c { animation-delay: 1800ms; }

.signal-mesh {
  height: 130px;
  left: 50%;
  position: absolute;
  top: 66px;
  transform: translateX(-50%);
  width: 270px;
  z-index: 1;
}

.signal-mesh::before,
.signal-mesh::after {
  border-top: 2px dotted rgba(39, 230, 242, 0.62);
  content: "";
  left: 18px;
  position: absolute;
  right: 18px;
  top: 78px;
}

.signal-mesh::after {
  transform: rotate(27deg);
}

.signal-mesh span {
  animation: signalFloat 4s ease-in-out infinite;
  background: #ffffff;
  border: 2px solid rgba(47, 109, 246, 0.28);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(47, 109, 246, 0.12);
  height: 18px;
  position: absolute;
  width: 18px;
}

.signal-mesh span:nth-child(1) { left: 20px; top: 26px; }
.signal-mesh span:nth-child(2) { left: 78px; top: 82px; animation-delay: 250ms; }
.signal-mesh span:nth-child(3) { left: 128px; top: 48px; animation-delay: 500ms; }
.signal-mesh span:nth-child(4) { right: 78px; top: 90px; animation-delay: 750ms; }
.signal-mesh span:nth-child(5) { right: 20px; top: 34px; animation-delay: 1000ms; }
.signal-mesh span:nth-child(6) { left: 50%; top: 112px; transform: translateX(-50%); animation-delay: 1250ms; }

.local-device {
  left: 34px;
  position: absolute;
  top: 88px;
}

.device-screen {
  border: 3px solid #2f93ff;
  border-radius: 8px;
  display: block;
  height: 82px;
  position: relative;
  width: 112px;
}

.device-screen::before {
  background: linear-gradient(135deg, transparent 20%, #2f93ff 22% 26%, transparent 28% 42%, #27e6f2 44% 48%, transparent 50% 64%, #58d69e 66% 70%, transparent 72%);
  content: "";
  inset: 20px;
  position: absolute;
}

.device-tower {
  background: #ffffff;
  border: 2px solid #2f93ff;
  border-radius: 5px;
  display: block;
  height: 70px;
  margin-left: 92px;
  margin-top: -48px;
  width: 38px;
}

.local-agent-node {
  left: 50%;
  top: 46px;
  transform: translateX(-50%);
  width: 210px;
}

.local-assets {
  display: grid;
  gap: 18px;
  position: absolute;
  right: 36px;
  top: 56px;
}

.local-assets span {
  background: #ffffff;
  border: 2px solid #2f93ff;
  border-radius: 8px;
  height: 78px;
  position: relative;
  width: 78px;
}

.asset-db::before,
.asset-db::after {
  border: 8px solid #2f93ff;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  left: 18px;
  position: absolute;
  top: 15px;
  width: 42px;
}

.asset-db::after { top: 38px; }

.asset-folder::before {
  border: 4px solid #2f93ff;
  border-radius: 4px;
  content: "";
  inset: 24px 14px 18px;
  position: absolute;
}

.asset-key::before {
  background: #2f93ff;
  border-radius: 999px;
  content: "";
  height: 18px;
  left: 16px;
  position: absolute;
  top: 26px;
  width: 18px;
}

.asset-key::after {
  background: #2f93ff;
  content: "";
  height: 8px;
  left: 32px;
  position: absolute;
  top: 31px;
  width: 34px;
}

.local-blueprint .flow-agent-preview {
  bottom: 28px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: min(480px, calc(100% - 48px));
  z-index: 3;
}

.flow-agent-preview {
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.26);
}

.terminal-cursor {
  animation: terminalBlink 1s steps(2, start) infinite;
}

.exchange-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 132px;
  justify-content: center;
  top: 132px;
  width: 138px;
}

.exchange-card img {
  max-height: 38px;
  max-width: 96px;
}

.exchange-card span {
  color: var(--premium-muted);
  font-weight: 850;
}

.binance-card {
  border-color: #f5b84b;
  box-shadow: 0 0 28px rgba(245, 184, 75, 0.18), inset 0 0 22px rgba(245, 184, 75, 0.09);
  left: 42px;
}

.bybit-card {
  border-color: #a96dff;
  box-shadow: 0 0 28px rgba(169, 109, 255, 0.18), inset 0 0 22px rgba(169, 109, 255, 0.09);
  right: 42px;
}

.exchange-agent-node {
  height: 178px;
  left: 50%;
  top: 108px;
  transform: translateX(-50%);
  width: 166px;
}

.exchange-agent-node em {
  border: 4px solid #2f93ff;
  border-radius: 0 0 40px 40px;
  bottom: -42px;
  display: block;
  height: 56px;
  position: absolute;
  width: 70px;
}

.exchange-agent-node em::before {
  background: #2f93ff;
  border-radius: 999px;
  content: "";
  height: 12px;
  left: 25px;
  position: absolute;
  top: 18px;
  width: 12px;
}

.exchange-arrow {
  background: currentColor;
  height: 3px;
  position: absolute;
  top: 212px;
  width: 132px;
  z-index: 1;
}

.exchange-arrow::after {
  border-right: 3px solid currentColor;
  border-top: 3px solid currentColor;
  content: "";
  height: 16px;
  position: absolute;
  right: 0;
  top: -7px;
  transform: rotate(45deg);
  width: 16px;
}

.left-arrow {
  color: #f5b84b;
  left: 174px;
  transform: rotate(180deg);
}

.right-arrow {
  color: #a96dff;
  right: 174px;
}

.left-dotted,
.right-dotted {
  background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 14px);
  top: 258px;
}

.left-dotted { color: #f5b84b; left: 174px; }
.right-dotted { color: #a96dff; right: 174px; transform: rotate(180deg); }

.monitor-zupex-node {
  left: 78px;
  top: 70px;
}

.monitor-agent-node {
  bottom: 58px;
  left: 78px;
}

.monitor-dashboard {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 16px;
  right: 36px;
  top: 46px;
  width: 270px;
}

.monitor-dashboard > strong,
.monitor-phone > strong {
  color: var(--premium-ink);
  grid-column: 1 / -1;
  text-align: center;
}

.monitor-dashboard div {
  background: #f8fafc;
  border: 1px solid rgba(47, 109, 246, 0.16);
  border-radius: 8px;
  min-height: 66px;
  padding: 12px;
}

.monitor-dashboard span,
.monitor-phone span {
  color: var(--premium-muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
}

.monitor-dashboard em {
  color: #58d69e;
  display: block;
  font-style: normal;
  font-weight: 950;
  margin-top: 8px;
}

.monitor-phone {
  bottom: 40px;
  padding: 16px;
  right: 84px;
  width: 178px;
}

.monitor-phone span {
  background: #f8fafc;
  border-radius: 6px;
  margin-top: 10px;
  padding: 10px;
}

.monitor-stream {
  border-top: 3px dotted #27e6f2;
  position: absolute;
  transform-origin: left center;
  z-index: 1;
}

.stream-a {
  left: 162px;
  top: 192px;
  transform: rotate(-90deg);
  width: 132px;
}

.stream-b {
  left: 198px;
  top: 128px;
  transform: rotate(-4deg);
  width: 280px;
}

.stream-c {
  left: 198px;
  top: 212px;
  transform: rotate(28deg);
  width: 300px;
}

.websocket-rail,
.exchange-arrow,
.monitor-stream,
.left-dotted,
.right-dotted {
  animation: neonLine 2.6s ease-in-out infinite;
}

@keyframes signalFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes packetMove {
  from { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  to { left: calc(100% - 14px); opacity: 0; }
}

@keyframes terminalBlink {
  50% { opacity: 0; }
}

@keyframes neonLine {
  0%, 100% { opacity: 0.55; filter: drop-shadow(0 0 0 rgba(39, 230, 242, 0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 9px currentColor); }
}

.architecture-section {
  display: grid;
  gap: 26px;
  margin-bottom: 86px;
}

.architecture-heading {
  max-width: 920px;
}

.architecture-heading h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.85rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 16px;
}

.architecture-heading p:not(.premium-kicker) {
  color: var(--premium-muted);
  font-size: 1.02rem;
  font-weight: 760;
  line-height: 1.55;
  max-width: 820px;
}

.workflow-panel {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}

.workflow-step {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(17, 24, 39, 0.055);
  display: flex;
  flex-direction: column;
  min-height: 408px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.workflow-step.is-featured {
  background: #111827;
  border-color: #111827;
  box-shadow: 0 28px 76px rgba(17, 24, 39, 0.2);
}

.workflow-step-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.workflow-number {
  color: var(--premium-blue);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.workflow-icon {
  align-items: center;
  background: #edf3ff;
  border-radius: 999px;
  color: var(--premium-blue);
  display: inline-flex;
  font-size: 1.2rem;
  height: var(--premium-logo-size);
  justify-content: center;
  width: var(--premium-logo-size);
}

.workflow-icon.is-logo {
  background: transparent;
}

.workflow-icon img {
  border-radius: var(--premium-logo-radius);
  clip-path: inset(0 round var(--premium-logo-radius));
  display: block;
  height: var(--premium-logo-size);
  object-fit: cover;
  width: var(--premium-logo-size);
}

.workflow-step.is-featured .workflow-number {
  color: #8fb2ff;
}

.workflow-step.is-featured .workflow-icon {
  background: rgba(47, 166, 119, 0.18);
  color: #58d69e;
}

.workflow-step h3 {
  color: var(--premium-ink);
  font-size: clamp(1.35rem, 1.7vw, 1.72rem);
  font-weight: 950;
  line-height: 1.08;
  margin-bottom: 14px;
}

.workflow-step p {
  color: var(--premium-muted);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 20px;
}

.workflow-step.is-featured h3,
.workflow-step.is-featured p {
  color: #ffffff;
}

.workflow-flow {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--premium-line);
  border-radius: 8px;
  color: var(--premium-ink);
  display: flex;
  font-size: 0.82rem;
  font-weight: 950;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 22px;
  min-height: 48px;
  padding: 0 14px;
  white-space: nowrap;
}

.workflow-flow i {
  color: var(--premium-blue);
  flex: 0 0 auto;
}

.workflow-flow span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.workflow-step.is-featured .workflow-flow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.workflow-exchanges {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: -6px 0 18px;
}

.workflow-exchanges img {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.16);
  display: block;
  height: 38px;
  object-fit: cover;
  width: 38px;
}

.workflow-step ul {
  border-top: 1px solid rgba(17, 24, 39, 0.09);
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 18px 0 0;
}

.workflow-step.is-featured ul {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.workflow-step li {
  align-items: center;
  color: var(--premium-muted);
  display: flex;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 10px;
  list-style: none;
}

.workflow-step li::before {
  background: var(--premium-green);
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 7px;
  width: 7px;
}

.workflow-step.is-featured li {
  color: #d9e3f0;
}

.faq-section {
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  align-items: start;
  margin-bottom: 46px;
}

.faq-section .premium-section-copy {
  max-width: none;
}

.premium-faq details {
  background: #ffffff;
  border: 1px solid var(--premium-line);
  border-radius: 8px;
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.premium-faq details[open] {
  background: #ffffff;
  border-color: rgba(47, 109, 246, 0.22);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.045);
}

.premium-faq {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  width: 100%;
}

.premium-faq summary {
  align-items: center;
  color: var(--premium-ink);
  cursor: pointer;
  display: flex;
  font-size: 0.98rem;
  font-weight: 900;
  justify-content: space-between;
  list-style: none;
  line-height: 1.2;
  min-height: 56px;
  padding: 14px 18px 14px 20px;
}

.premium-faq summary::-webkit-details-marker {
  display: none;
}

.premium-faq summary::after {
  align-items: center;
  background: #edf3ff;
  border-radius: 999px;
  color: var(--premium-blue);
  content: "+";
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  margin-left: 18px;
  width: 30px;
}

.premium-faq details[open] summary::after {
  content: "-";
}

.premium-faq details[open] summary {
  border-bottom: 1px solid var(--premium-line);
}

.premium-faq p {
  color: var(--premium-muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
  max-width: 780px;
  padding: 16px 20px 18px;
}

.premium-footer {
  background:
    linear-gradient(rgba(47, 109, 246, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 109, 246, 0.025) 1px, transparent 1px),
    #ffffff;
  background-size: 34px 34px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  margin-top: 0;
  padding: 42px 22px 24px;
}

.footer-top {
  align-items: start;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(280px, 1.15fr) minmax(170px, 0.62fr) minmax(230px, 0.75fr) minmax(280px, 0.9fr);
  margin-left: auto;
  margin-right: auto;
  max-width: var(--premium-shell-width);
  width: 100%;
}

.footer-brand {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  padding-right: 34px;
}

.footer-brand img {
  border-radius: var(--premium-logo-radius);
  clip-path: inset(0 round var(--premium-logo-radius));
  height: var(--premium-logo-size);
  object-fit: cover;
  width: var(--premium-logo-size);
}

.footer-brand strong {
  color: var(--premium-ink);
  display: block;
  font-size: 1.25rem;
  font-weight: 950;
  margin-bottom: 4px;
}

.footer-brand p {
  max-width: 440px;
}

.footer-links,
.footer-contact {
  border-left: 1px solid rgba(17, 24, 39, 0.1);
  color: var(--premium-muted);
  font-weight: 750;
  min-height: 116px;
  padding: 0 34px;
}

.footer-label {
  color: var(--premium-blue);
  display: block;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-email {
  align-items: center;
  color: var(--premium-ink);
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 950;
  gap: 9px;
  margin-bottom: 8px;
}

.footer-email:hover {
  color: var(--premium-blue);
}

.footer-links a {
  color: var(--premium-ink);
  display: block;
  font-weight: 900;
  margin-top: 8px;
}

.footer-links a:hover {
  color: var(--premium-blue);
}

.footer-contact p {
  color: var(--premium-muted);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.45;
  margin: 0;
}

.footer-store-badges {
  align-items: flex-start;
  border-left: 1px solid rgba(17, 24, 39, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 116px;
  padding-left: 34px;
  text-align: left;
}

.footer-store-badges .footer-label {
  flex: 0 0 100%;
  text-align: left;
}

.footer-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.footer-store-badges .store-badge {
  display: inline-flex;
}

.footer-store-badges img {
  display: block;
  height: 44px;
  width: auto;
}

.footer-store-badges small {
  color: var(--premium-muted);
  flex: 0 0 100%;
  font-size: 0.84rem;
  font-weight: 760;
  text-align: left;
}

.footer-disclaimer {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--premium-shell-width);
  padding-top: 16px;
  width: 100%;
}

.footer-disclaimer p {
  color: rgba(101, 112, 132, 0.66);
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.5;
  margin: 0;
  max-width: 1180px;
}

.footer-meta {
  color: var(--premium-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 16px;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  margin-top: 18px;
  max-width: var(--premium-shell-width);
  width: 100%;
}

.pricing-hero {
  margin: 34px 0 48px;
  max-width: 940px;
}

.pricing-hero h1 {
  font-size: clamp(3.2rem, 6vw, 6.3rem);
  letter-spacing: 0;
  line-height: 0.96;
}

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 82px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 28px;
}

.pricing-card.is-featured {
  background: #111827;
  border-color: #111827;
  box-shadow: 0 34px 90px rgba(17, 24, 39, 0.24);
  color: #ffffff;
  transform: translateY(-16px);
}

.pricing-card.is-featured .premium-kicker {
  color: #8fb2ff;
}

.pricing-card.is-featured h2,
.pricing-card.is-featured .pricing-price,
.pricing-card.is-featured p,
.pricing-card.is-featured li {
  color: #ffffff;
}

.pricing-card.is-featured li {
  border-color: rgba(255, 255, 255, 0.16);
}

.pricing-price {
  color: var(--premium-ink);
  display: block;
  font-size: 2.5rem;
  font-weight: 950;
  margin: 8px 0 16px;
}

.pricing-price span {
  color: var(--premium-muted);
  font-size: 1rem;
  font-weight: 900;
  margin-left: 6px;
}

.pricing-card.is-featured .pricing-price span {
  color: #cbd5e1;
}

.pricing-card ul {
  color: var(--premium-muted);
  font-weight: 760;
  margin: 22px 0 28px;
  padding-left: 0;
}

.pricing-card li {
  border-top: 1px solid var(--premium-line);
  list-style: none;
  padding: 12px 0;
}

.pricing-card .button {
  margin-top: auto;
}

.comparison-section {
  margin-bottom: 82px;
}

.comparison-table {
  overflow: hidden;
}

.comparison-row {
  align-items: center;
  border-top: 1px solid var(--premium-line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(130px, 1fr));
  padding: 18px 22px;
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-row.is-head {
  background: #fafbfc;
  color: var(--premium-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-row span {
  color: var(--premium-ink);
  font-weight: 900;
}

.comparison-row b {
  color: var(--premium-muted);
  font-weight: 850;
}

.comparison-icon {
  font-size: 1.05rem;
}

.comparison-icon.is-yes {
  color: var(--premium-green);
}

.comparison-icon.is-no {
  color: #cbd5e1;
}

.demo-agent-hero {
  align-items: end;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 34px 0 38px;
}

.demo-agent-hero h1 {
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  letter-spacing: 0;
  line-height: 0.95;
}

.demo-agent-status {
  background: #ffffff;
  border: 1px solid var(--premium-line);
  border-radius: 8px;
  font-weight: 900;
  margin: 0;
  padding: 18px 20px;
  white-space: nowrap;
}

.demo-agent-panel {
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.05);
  margin-bottom: 26px;
}

@media (max-width: 1100px) {
  .premium-hero,
  .demo-agent-hero {
    grid-template-columns: 1fr;
  }

  .premium-hero {
    min-height: auto;
  }

  .pricing-grid,
  .premium-faq {
    grid-template-columns: 1fr;
  }

  .faq-section {
    gap: 22px;
    grid-template-columns: 1fr;
  }

  .workflow-panel {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: auto;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 34px;
  }

  .footer-links,
  .footer-contact,
  .footer-store-badges {
    border-left: 0;
    padding-left: 0;
    padding-right: 28px;
  }

  .premium-scroll-flow,
  .scroll-flow-scene {
    grid-template-columns: 1fr;
  }

  .scroll-flow-sticky {
    min-height: auto;
    position: static;
  }

  .scroll-flow-left {
    min-height: auto;
  }

  .scroll-flow-scene {
    min-height: auto;
  }

  .blueprint-visual {
    justify-self: stretch;
    min-height: 560px;
    width: 100%;
  }

  .pricing-card.is-featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .premium-landing .landing-shell {
    padding: 18px 14px 44px;
  }

  .landing-header {
    margin-bottom: 44px;
  }

  .landing-beta-warning {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    text-align: left;
  }

  .premium-nav .navbar-menu {
    display: block;
  }

  .premium-nav .navbar-start {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
  }

  .premium-nav .navbar-end {
    margin-top: 12px;
  }

  .premium-hero h1,
  .pricing-hero h1,
  .demo-agent-hero h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .agent-preview {
    grid-template-rows: 44px minmax(0, 1fr);
    min-height: 340px;
  }

  .agent-terminal-screen {
    padding: 14px 14px 16px;
  }

  .agent-ascii-logo {
    font-size: clamp(0.34rem, 1.6vw, 0.52rem);
  }

  .agent-line {
    font-size: 0.52rem;
  }

  .agent-table {
    font-size: 0.48rem;
  }

  .agent-table-row {
    grid-template-columns: 28px 36px 30px minmax(118px, 1fr) 44px 94px 28px;
  }

  .premium-actions .button {
    width: 100%;
  }

  .download-stack {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .footer-brand,
  .footer-links,
  .footer-contact,
  .footer-store-badges {
    align-items: flex-start;
    border-left: 0;
    border-top: 1px solid rgba(17, 24, 39, 0.09);
    justify-self: stretch;
    min-height: auto;
    padding: 22px 0 0;
    text-align: left;
  }

  .footer-brand {
    border-top: 0;
    padding-top: 0;
  }

  .footer-store-row {
    justify-content: flex-start;
  }

  .footer-store-badges small {
    text-align: left;
  }

  .footer-store-badges .footer-label {
    text-align: left;
  }

  .architecture-section {
    gap: 18px;
    margin-bottom: 64px;
  }

  .architecture-heading h2 {
    font-size: clamp(2.2rem, 12vw, 3.3rem);
  }

  .architecture-heading p:not(.premium-kicker) {
    font-size: 1rem;
  }

  .premium-faq details {
    display: block;
  }

  .premium-faq summary {
    min-height: auto;
    padding: 15px 16px;
  }

  .premium-faq p {
    padding: 16px;
  }

  .scroll-flow-left,
  .scroll-flow-scene {
    padding: 28px 18px;
  }

  .scene-copy h3 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  .blueprint-visual {
    min-height: 640px;
  }

  .blueprint-node {
    height: 108px;
    width: 108px;
  }

  .blueprint-node strong,
  .exchange-card strong {
    font-size: 1.02rem;
  }

  .pulse-mark {
    height: 34px;
    width: 56px;
  }

  .robot-mark {
    height: 38px;
    width: 48px;
  }

  .zupex-node {
    left: 22px;
    top: 56px;
  }

  .agent-node {
    right: 22px;
    top: 56px;
  }

  .websocket-rail {
    left: 148px;
    right: 148px;
    top: 112px;
  }

  .rail-label {
    font-size: 0.78rem;
    top: -18px;
  }

  .signal-mesh {
    top: 190px;
    width: min(260px, calc(100% - 48px));
  }

  .local-device {
    left: 22px;
    top: 52px;
    transform: scale(0.78);
    transform-origin: left top;
  }

  .local-agent-node {
    top: 44px;
    width: 168px;
  }

  .local-assets {
    gap: 10px;
    right: 22px;
    top: 42px;
  }

  .local-assets span {
    height: 58px;
    width: 58px;
  }

  .local-blueprint .flow-agent-preview {
    bottom: 28px;
    width: calc(100% - 34px);
  }

  .exchange-card {
    height: 112px;
    top: 72px;
    width: 116px;
  }

  .binance-card {
    left: 22px;
  }

  .bybit-card {
    right: 22px;
  }

  .exchange-agent-node {
    height: 164px;
    top: 230px;
    width: 150px;
  }

  .exchange-arrow,
  .left-dotted,
  .right-dotted {
    display: none;
  }

  .monitor-zupex-node {
    left: 22px;
    top: 42px;
  }

  .monitor-agent-node {
    bottom: 36px;
    left: 22px;
  }

  .monitor-dashboard {
    right: 22px;
    top: 34px;
    width: min(260px, calc(100% - 156px));
  }

  .monitor-phone {
    bottom: 38px;
    right: 22px;
    width: min(168px, calc(100% - 160px));
  }

  .monitor-stream {
    display: none;
  }

  .ledger-row,
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-row.is-head {
    display: none;
  }

  .comparison-row {
    gap: 8px;
  }
}
