/* Marketing homepage — product hero + cinematic motion (no Unicorn/radar) */

.mkt-hero {
  position: relative;
  overflow: hidden;
  padding: 4.75rem 1rem 3.25rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(1000px 480px at 88% -8%, rgba(20, 184, 166, 0.18), transparent 55%),
    radial-gradient(780px 420px at 8% 40%, rgba(56, 189, 248, 0.07), transparent 52%),
    radial-gradient(600px 300px at 50% 100%, rgba(15, 23, 42, 0.92), transparent 60%),
    var(--bg);
}
.mkt-hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.mkt-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: orb-drift 14s ease-in-out infinite;
}
.mkt-orb-a {
  width: 420px;
  height: 420px;
  top: -12%;
  inset-inline-end: 8%;
  background: rgba(20, 184, 166, 0.28);
}
.mkt-orb-b {
  width: 320px;
  height: 320px;
  bottom: 8%;
  inset-inline-start: -4%;
  background: rgba(56, 189, 248, 0.14);
  animation-duration: 18s;
  animation-direction: reverse;
}
.mkt-orb-c {
  width: 240px;
  height: 240px;
  top: 42%;
  inset-inline-start: 42%;
  background: rgba(20, 184, 166, 0.12);
  animation-duration: 12s;
}
.mkt-hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 68%, var(--bg)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(148, 163, 184, 0.035) 48px
    );
  opacity: 0.75;
}
.mkt-hero-shade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 7rem;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}
.mkt-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  margin-inline: auto;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.mkt-copy { max-width: 36rem; }
.mkt-brand {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--heading);
  margin: 0 0 0.65rem;
}
.mkt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.mkt-kicker-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.55);
}
.glow-dot { animation: pulse-glow 3s ease-in-out infinite; }
.inline-dot {
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  margin-inline-end: 0.25rem;
  vertical-align: middle;
}
.mkt-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--heading);
  font-weight: 600;
  max-width: 20ch;
}
.mkt-title-accent {
  background: linear-gradient(105deg, var(--accent) 0%, #5eead4 45%, var(--heading) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mkt-sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 34rem;
}
.mkt-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.mkt-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1.35rem;
  max-width: 28rem;
}
.mkt-metric {
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.55);
}
.mkt-metric span {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}
.mkt-metric strong {
  font-size: 0.88rem;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.mkt-visual {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: visual-float 7s ease-in-out infinite;
}
.mkt-visual-glow {
  position: absolute;
  inset-inline: 10%;
  bottom: -2.5rem;
  height: 4rem;
  background: rgba(20, 184, 166, 0.22);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.mkt-visual-topglow {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.85), transparent);
  box-shadow: 0 0 14px rgba(20, 184, 166, 0.45);
  z-index: 3;
  pointer-events: none;
}
.mkt-visual-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.75rem;
}
.mkt-visual-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}
.mkt-visual-meta .sym {
  font-weight: 700;
  color: var(--heading);
}
.mkt-visual-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  min-height: 240px;
}
.mkt-chart {
  padding: 0.7rem;
  border-inline-end: 1px solid var(--border);
  min-height: 220px;
}
.mkt-book {
  padding: 0.55rem 0.7rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}
.mkt-book-head {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.mkt-book-row {
  display: flex;
  justify-content: space-between;
  padding: 0.16rem 0.2rem;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
}
.mkt-book-mid {
  text-align: center;
  padding: 0.4rem 0;
  color: var(--heading);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mkt-tape {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 0.45rem 0.75rem 0.55rem;
  display: flex;
  gap: 0.75rem;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  color: var(--muted);
  background: var(--surface-2);
}
.mkt-tape span { white-space: nowrap; font-variant-numeric: tabular-nums; }

.mkt-section {
  max-width: 72rem;
  margin-inline: auto;
  padding: 3rem 1rem;
}
.mkt-section.tight { padding-top: 0; }
.mkt-section h2,
.mkt-flow-head h2,
.mkt-assets-head h2,
.mkt-cta-band h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--heading);
  letter-spacing: -0.02em;
}
.mkt-section .lead,
.mkt-flow-head .lead,
.mkt-assets-head .lead,
.mkt-cta-band .lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.6;
}
.mkt-points { display: grid; gap: 0.9rem; }
.mkt-point {
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.25s ease;
}
.mkt-point:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.mkt-point h3 {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  color: var(--heading);
}
.mkt-point p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}
.asset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.asset-pill {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--heading);
  font-size: 0.78rem;
  font-weight: 600;
}

.markets-strip { display: grid; gap: 0.5rem; }
.markets-strip-item {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr;
  gap: 0.45rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.markets-strip-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.markets-strip-item strong { color: var(--heading); }

/* Direct market access — animated flow */
.mkt-flow {
  position: relative;
  padding: 1rem 1rem 4.5rem;
  overflow: hidden;
}
.mkt-flow-inner {
  max-width: 72rem;
  margin-inline: auto;
}
.mkt-flow-head { text-align: center; margin-bottom: 2rem; }
.mkt-flow-head .lead { margin-inline: auto; }
.mkt-flow-stage {
  position: relative;
  min-height: 28rem;
  padding-top: 0.5rem;
}
.mkt-flow-svg {
  position: absolute;
  inset: 3.5rem 0 4rem;
  width: 100%;
  height: calc(100% - 7.5rem);
  pointer-events: none;
  opacity: 0.95;
}
.mkt-flow-track {
  fill: none;
  stroke: rgba(148, 163, 184, 0.08);
  stroke-width: 1.5;
}
.mkt-flow-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 180 360;
  opacity: 0.28;
}
.mkt-flow-packet {
  fill: none;
  stroke: #5eead4;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 18 520;
  opacity: 0.95;
}
.animate-flow { animation: flow 9s linear infinite; }
.animate-flow-fast { animation: flow 4.5s linear infinite; }
.delay-flow-2 { animation-delay: -1.2s; }
.delay-flow-3 { animation-delay: -2.1s; }
.delay-flow-4 { animation-delay: -0.6s; }

.mkt-venues {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.mkt-venue {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.mkt-venue:hover {
  color: var(--heading);
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.12);
}

.mkt-hub {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5.5rem;
}
.mkt-hub-beam {
  width: 2px;
  height: 4.5rem;
  background: linear-gradient(to bottom, transparent, rgba(20, 184, 166, 0.55), var(--accent));
  box-shadow: 0 0 18px rgba(20, 184, 166, 0.45);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.mkt-hub-scanner {
  display: block;
  width: 100%;
  height: 45%;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(1px);
  animation: scanner 2s linear infinite;
}
.mkt-hub-core {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.35);
  background: var(--bg);
  box-shadow: 0 0 40px rgba(20, 184, 166, 0.35);
  color: var(--heading);
}
.mkt-hub-core i { width: 1.6rem; height: 1.6rem; position: relative; z-index: 2; }
.mkt-hub-ring {
  position: absolute;
  inset: -0.55rem;
  border-radius: 999px;
  border: 1px dashed rgba(20, 184, 166, 0.28);
  animation: spin-slow 12s linear infinite;
}
.mkt-hub-ring-b {
  inset: -0.2rem;
  border-style: dotted;
  border-color: rgba(20, 184, 166, 0.4);
  animation: spin-reverse 16s linear infinite;
}
.mkt-hub-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  filter: blur(10px);
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Multi-asset hub */
.mkt-assets {
  padding: 2rem 1rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.mkt-assets::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28rem;
  height: 28rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12), transparent 65%);
  pointer-events: none;
}
.mkt-assets-inner {
  position: relative;
  max-width: 56rem;
  margin-inline: auto;
}
.mkt-assets-head { text-align: center; margin-bottom: 2.5rem; }
.mkt-assets-head .lead { margin-inline: auto; }
.mkt-assets-stage {
  position: relative;
  min-height: 22rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}
.mkt-assets-hub {
  position: absolute;
  width: 16rem;
  height: 16rem;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.center-circle {
  position: absolute;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.5);
  animation: centerCirclePulse 5s ease-out infinite;
}
.center-circle { width: 5.5rem; height: 5.5rem; }
.center-circle--2 {
  width: 9rem;
  height: 9rem;
  background: rgba(20, 184, 166, 0.28);
  animation-delay: 0.12s;
}
.center-circle--3 {
  width: 12.5rem;
  height: 12.5rem;
  background: rgba(20, 184, 166, 0.12);
  animation-delay: 0.24s;
}
.center-ray {
  position: absolute;
  background: linear-gradient(to right, rgba(20, 184, 166, 0.85), transparent);
  animation: centerRay 5s ease-out infinite;
}
.center-ray-h { height: 1px; width: 3.5rem; }
.center-ray-v {
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(to bottom, rgba(20, 184, 166, 0.85), transparent);
}
.center-ray-left { transform-origin: right center; inset-inline-end: 58%; }
.center-ray-right {
  transform-origin: left center;
  inset-inline-start: 58%;
  background: linear-gradient(to left, rgba(20, 184, 166, 0.85), transparent);
}
.center-ray-top {
  transform-origin: center bottom;
  bottom: 58%;
  background: linear-gradient(to top, rgba(20, 184, 166, 0.85), transparent);
}
.center-ray-bottom { transform-origin: center top; top: 58%; }
.mkt-assets-core {
  position: relative;
  z-index: 2;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #042f2e;
  box-shadow: 0 0 36px rgba(20, 184, 166, 0.55);
  outline: 8px solid var(--bg);
}
.mkt-assets-core i { width: 1.5rem; height: 1.5rem; }
.mkt-assets-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem 6rem;
}
.mkt-asset-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.mkt-asset-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.mkt-asset-card:hover .mkt-asset-icon {
  color: var(--heading);
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.15);
}
.mkt-asset-card strong {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  max-width: 12rem;
}
.mkt-assets-pills { justify-content: center; }

.proof-panel {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1.15rem;
}
.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.proof-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
.proof-table th,
.proof-table td {
  text-align: start;
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}
.proof-table th {
  color: var(--text-dim);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.proof-table tr:last-child td { border-bottom: 0; }

.mkt-cta-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  text-align: center;
  padding: 2.75rem 1rem;
}
.mkt-cta-band .lead { margin-inline: auto; }
.mkt-cta-center { justify-content: center; }

/* Motion system */
@keyframes fade-slide-blur {
  from { opacity: 0.01; transform: translateY(28px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 14px) scale(1.08); }
}
@keyframes visual-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes flow {
  to { stroke-dashoffset: -1000; }
}
@keyframes scanner {
  0% { transform: translateY(-100%); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(140%); opacity: 0; }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }
@keyframes centerCirclePulse {
  0% { opacity: 0; transform: scale(0.4); }
  12% { opacity: 0.9; transform: scale(1); }
  45% { opacity: 0.85; transform: scale(1.02); }
  70%, 100% { opacity: 0; transform: scale(1.22); }
}
@keyframes centerRay {
  0%, 45% { opacity: 0; transform: scale(0); }
  60%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-enter {
  animation: fade-slide-blur 1.05s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.is-in .reveal-child {
  animation: reveal-up 0.55s ease both;
}
.reveal.is-in .reveal-child:nth-child(2) { animation-delay: 0.08s; }
.reveal.is-in .reveal-child:nth-child(3) { animation-delay: 0.16s; }

.hero-rise { animation: rise 0.55s ease both; }
.hero-rise-delay { animation: rise 0.55s ease 0.1s both; }

@media (min-width: 900px) {
  .mkt-hero-inner {
    grid-template-columns: 1.02fr 1.08fr;
    gap: 2.25rem;
  }
  .mkt-points { grid-template-columns: repeat(3, 1fr); }
  .markets-strip { grid-template-columns: repeat(3, 1fr); }
  .markets-strip-item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .proof-panel {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
  .mkt-venues { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .mkt-visual { animation: none; }
  .mkt-visual-body { grid-template-columns: 1fr; }
  .mkt-chart {
    border-inline-end: 0;
    border-bottom: 1px solid var(--border);
    min-height: 180px;
  }
  .mkt-metrics { max-width: none; }
  .mkt-flow-svg { display: none; }
  .mkt-hub { margin-top: 2rem; }
  .mkt-assets-grid { gap: 2.5rem 1.5rem; }
  .mkt-assets-hub { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .animate-enter,
  .glow-dot,
  .mkt-orb,
  .mkt-visual,
  .animate-flow,
  .animate-flow-fast,
  .mkt-hub-scanner,
  .mkt-hub-ring,
  .mkt-hub-pulse,
  .center-circle,
  .center-ray,
  .reveal,
  .reveal.is-in .reveal-child {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
