@import url("/assets/footer/pulsar-brand.css?v=20261024-fusion-colony-v1");
:root {
  --page-list-empty-min-height: clamp(420px, 50dvh, 640px);
  --page-content-footer-gap: 64px;
}
/* Shared footer: all interactive colours come from the containing module. */
.siteFooter {
  --footer-bg: var(--stocks-bg, var(--bg, #0b0f17));
  --footer-ink: var(--stocks-text, var(--text, #e7eefc));
  --footer-accent: var(--stocks-accent, var(--accent, currentColor));
  --footer-muted: color-mix(in srgb, var(--footer-ink) 82%, var(--footer-bg));
  --footer-link: color-mix(in srgb, var(--footer-ink) 86%, var(--footer-bg));
  --footer-product-link: color-mix(in srgb, var(--footer-accent) 85%, var(--footer-ink));
  --footer-line: color-mix(in srgb, var(--footer-ink) 14%, transparent);
  --footer-surface: color-mix(in srgb, var(--footer-ink) 5%, var(--footer-bg));
  --footer-field-border: color-mix(in srgb, var(--muted, var(--footer-muted)) 24%, transparent);
  --footer-field-bg: color-mix(in srgb, var(--footer-ink) 3.5%, var(--footer-bg));
  --footer-field-focus-border: color-mix(in srgb, var(--footer-accent) 62%, transparent);
  --footer-field-focus-bg: color-mix(in srgb, var(--footer-accent) 6%, var(--footer-bg));
  --footer-field-focus-ring: color-mix(in srgb, var(--footer-accent) 10%, transparent);
  --footer-action-ink: var(--footer-bg);
  --footer-pattern-opacity: .18;
  --footer-risk-tone: #6dd3b0;
  --footer-risk-tint: #76d9c9;
  --footer-risk-bg: color-mix(in srgb, var(--footer-risk-tint) 10%, var(--footer-bg));
  --footer-copy-size: clamp(14px, 1.1vw, 16px);
  --footer-nav-size: clamp(13px, 1vw, 14px);
  --footer-row-gap: clamp(7px, .8vw, 12px);
  --footer-community-offset: 8px;
  --footer-content-shift: 0px;
  --footer-columns-shift: 0px;
  --footer-main-shift: 0px;
  --footer-bottom-shift: 0px;
  --footer-meta-shift: 0px;
  --footer-meta-padding: clamp(24px, 2.6vw, 40px);
  --footer-empty-extra-gap: 176px;
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  margin-top: var(--page-content-footer-gap);
  background: var(--footer-bg);
  color: var(--footer-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  text-align: start;
}
.siteFooter * { box-sizing: border-box; }
.siteFooter[hidden] { display: none !important; }
/* Use one outer gap after data pages, including pages with their own scroll panel. */
:is(.polyflowPage, .stocksPage):has(> .siteFooter) > :is(.polyShell, .stocksShell) { padding-bottom: 0; }
#frameHome > .siteFooter { margin-top: 0; }
/* Reserve extra space below full-page empty states and ignore hidden or compact states. */
:is(.polyflowPage, .stocksPage, body):has(
  :is(
    #polyRows > .polyEmpty,
    #polyEmpty,
    #polyMarketsRows > .polyMarketsEmpty:only-child,
    #polyActivityFeedRows > :is(.polyEmpty, .polyActivityEmpty),
    #stocksMgEmpty,
    :is(.stocksNewsHubEmpty, .stocksNewsHubError),
    .hmContent > .hmEmpty,
    .hmContent > .hmPanel > .hmEmpty,
    .list > .item.item--empty > .web3EmptyState,
    #calEmpty,
    #hlEmpty,
    .hypeSocial__empty,
    .hypeDashboard__empty,
    .hmList .hmEmpty,
    #tabPanels > :is(#panel-positions, #panel-orders, #panel-history, #panel-fills, #panel-instruments, #panel-staking, #panel-ledger) .empty-state:not(.empty-state--compact, .empty-state--curve, .empty-state--preference)
  ):not([hidden]):not([hidden] *)
) > .siteFooter {
  margin-top: calc(2 * var(--page-content-footer-gap) + var(--page-list-empty-min-height) / 2 + var(--footer-empty-extra-gap) + var(--page-empty-shell-reserve, 0px));
}
/* Stocks/Fx reserve a full viewport in .stocksShell; include its blank tail. */
#frameStocks:not([data-market-module="token"]) > .siteFooter {
  --page-empty-shell-reserve: calc(var(--page-list-empty-min-height) / 2);
}
.siteFooter a { color: inherit; text-decoration: none; }
.siteFooter :where(p, h2, ul) { margin: 0; padding: 0; }
.siteFooter button, .siteFooter input { font: inherit; }
.siteFooter button { cursor: pointer; }
.siteFooter__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.siteFooter__pattern {
  --footer-pattern-image: var(--footer-pattern);
  --footer-pattern-x: center;
  --footer-pattern-y: -344px;
  position: absolute;
  inset: 0;
  background: var(--footer-accent);
  opacity: var(--footer-pattern-opacity);
  mask: var(--footer-pattern-image) var(--footer-pattern-x) var(--footer-pattern-y) / 4992px 2247px no-repeat alpha;
}
.siteFooter__backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--footer-bg) 70%, transparent),
    transparent 24%,
    transparent 76%,
    color-mix(in srgb, var(--footer-bg) 70%, transparent)
  );
}
@media (1440px <= width < 1682px) {
  .siteFooter__pattern {
    --footer-pattern-image: var(--footer-pattern-compact);
    /* Keep the compact mural's landing craft visible above the brand badge. */
    --footer-pattern-y: -384px;
  }
}
:root[data-theme="light"] .siteFooter {
  --footer-link: color-mix(in srgb, var(--footer-ink) 78%, var(--footer-bg));
  --footer-field-border: color-mix(in srgb, var(--footer-ink) 14%, transparent);
  --footer-field-bg: color-mix(in srgb, white 78%, var(--footer-bg));
  --footer-field-focus-border: color-mix(in srgb, var(--footer-accent) 36%, transparent);
  --footer-field-focus-bg: color-mix(in srgb, white 92%, var(--footer-bg));
  --footer-pattern-opacity: .11;
  --footer-risk-tone: #08775e;
  --footer-risk-tint: #087f73;
}
:root[data-theme="light"] .siteFooter .siteFooter__email::placeholder { color: var(--muted, var(--footer-muted)); }
.siteFooter__content {
  width: min(100%, 1524px);
  margin-inline: auto;
  padding-block-start: calc(clamp(44px, 5.9vw, 90px) + var(--footer-main-shift) + var(--footer-columns-shift) + var(--footer-content-shift));
  padding-inline: clamp(20px, 5.4vw, 82px);
  padding-block-end: calc(clamp(36px, 5.3vw, 80px) - var(--footer-bottom-shift) - var(--footer-content-shift) - var(--footer-meta-shift));
}
.siteFooter__columns {
  --footer-column-gap: clamp(24px, 2.65vw, 40px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.35fr);
  align-items: start;
  gap: var(--footer-column-gap);
}
.siteFooter__columns::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: calc(100% + clamp(16px, 2.2vw, 32px));
  border-block-start: 1px solid var(--footer-line);
  pointer-events: none;
}
.siteFooter__brand { display: inline-flex; align-items: center; gap: 13px; max-width: 100%; vertical-align: top; }
.siteFooter__brand > .pulsarBeacon { flex: none; width: 40px; height: 40px; border-radius: 10px; }
.siteFooter__brand > span { min-width: 0; font-size: 25px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.siteFooter__description { margin-block-start: clamp(20px, 2.8vw, 44px); color: var(--footer-link); font-size: var(--footer-copy-size); }
.siteFooter__columns h2 {
  display: flex;
  align-items: center;
  min-block-size: 40px;
  margin-block-end: clamp(8px, .8vw, 12px);
  font-size: var(--footer-copy-size);
  font-weight: 650;
  line-height: 1.4;
}
.siteFooter__columns ul { display: grid; gap: var(--footer-row-gap); list-style: none; }
.siteFooter__product, .siteFooter__productLinks { display: flex; align-items: center; flex-wrap: wrap; }
.siteFooter__product { column-gap: 6px; color: var(--footer-link); font-size: var(--footer-nav-size); }
.siteFooter__productLinks { column-gap: 5px; }
.siteFooter__productLinks a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--footer-product-link);
  text-underline-offset: 3px;
  white-space: nowrap;
}
.siteFooter__productLinks a + a::before { content: '·' / ''; color: var(--footer-muted); }
.siteFooter :is(.siteFooter__navigation, .siteFooter__legal) a {
  min-block-size: 28px;
  padding-block: 3px;
  font-size: var(--footer-nav-size);
  line-height: calc(1.6 * var(--footer-copy-size));
  transition: color 180ms ease;
}
.siteFooter .siteFooter__legal a { display: inline-block; color: var(--footer-muted); }
.siteFooter :is(.siteFooter__navigation, .siteFooter__legal) a:is(:hover, :focus-visible) { color: var(--footer-ink); }
.siteFooter .siteFooter__productLinks a:is(:hover, :focus-visible) > span { text-decoration: underline; }
.siteFooter__newsletter, .siteFooter__socials {
  --footer-community-block-inset: clamp(-16px, -1.2vw, -8px);
  position: relative;
  inset-inline-start: calc(-1 * var(--footer-community-offset));
  inset-block-start: var(--footer-community-block-inset);
}
.siteFooter__newsletter { width: 100%; margin-block-start: clamp(22px, 2.9vw, 44px); }
.siteFooter .siteFooter__form { --footer-field-current-bg: var(--footer-field-bg); display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 7px 6px 16px; min-height: 54px; border: 1px solid var(--footer-field-border); border-radius: 14px; background: var(--footer-field-current-bg); transition: border-color 160ms ease, background-color 160ms ease; }
.siteFooter .siteFooter__form:focus-within { --footer-field-current-bg: var(--footer-field-focus-bg); border-color: var(--footer-field-focus-border); box-shadow: 0 0 0 4px var(--footer-field-focus-ring); }
.siteFooter .siteFooter__email { flex: 1; width: 0; min-width: 0; height: 38px; border: 0; border-radius: 0; padding: 0; background: transparent; color: var(--footer-ink); caret-color: var(--footer-accent); font-size: 13px; font-weight: 800; box-shadow: none; outline: none; }
.siteFooter__email::placeholder { color: color-mix(in srgb, var(--muted, var(--footer-muted)) 52%, transparent); opacity: 1; }
/* Preserve browser autofill while covering its forced background with the
   current form surface; the focus ring stays on the complete form. */
.siteFooter .siteFooter__email:is(:autofill, :-webkit-autofill) { -webkit-text-fill-color: var(--footer-ink); caret-color: var(--footer-accent); box-shadow: 0 0 0 1000px var(--footer-field-current-bg) inset; }
.siteFooter .siteFooter__clear { display: grid; place-items: center; flex: none; width: 28px; height: 38px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: color-mix(in srgb, var(--footer-accent) 62%, transparent); box-shadow: none; transition: color 160ms ease; }
.siteFooter .siteFooter__clear[hidden] { display: none; }
.siteFooter .siteFooter__clear:enabled:hover { color: var(--footer-accent); }
.siteFooter .siteFooter__clear:focus-visible { outline-color: var(--footer-accent); }
.siteFooter .siteFooter__clear:disabled { cursor: not-allowed; opacity: .4; }
.siteFooter__clear svg { width: 12px; height: 12px; fill: currentColor; pointer-events: none; }
.siteFooter .siteFooter__send { position: relative; isolation: isolate; display: grid; place-items: center; flex: none; width: 38px; height: 38px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--footer-ink); box-shadow: none; transition: color 180ms ease; }
.siteFooter__send::before { content: ''; position: absolute; z-index: -1; inset: 3px; border-radius: 50%; background: var(--footer-accent); opacity: 0; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.siteFooter .siteFooter__send:disabled { cursor: not-allowed; opacity: 1; }
.siteFooter .siteFooter__send:enabled { color: var(--footer-action-ink); }
.siteFooter__send:enabled::before { opacity: 1; }
.siteFooter__send:enabled:not([aria-busy="true"]):hover::before { transform: scale(1.25); }
.siteFooter__send:enabled:not([aria-busy="true"]):active::before { transform: scale(.9); }
.siteFooter__send svg { width: 16px; height: 16px; fill: currentColor; stroke: none; opacity: .32; pointer-events: none; transition: opacity 180ms ease; }
.siteFooter__send:enabled svg { opacity: 1; }
.siteFooter .siteFooter__send[aria-busy="true"] { cursor: progress; }
.siteFooter__send[aria-busy="true"] svg { visibility: hidden; }
.siteFooter__send[aria-busy="true"]::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 16px;
  height: 16px;
  margin: auto;
  box-sizing: border-box;
  border: 2px solid color-mix(in srgb, currentColor 25%, transparent);
  border-top-color: currentColor;
  border-right-color: currentColor;
  border-radius: 50%;
  pointer-events: none;
  animation: siteFooterSendSpin 650ms linear infinite paused;
}
:root[data-footer-motion-active] .siteFooter__send[aria-busy="true"]::after { animation-play-state: running; }
@keyframes siteFooterSendSpin { to { transform: rotate(1turn); } }
.siteFooter .siteFooter__feedback { min-height: 22px; padding-top: 7px; color: var(--footer-muted); font-size: 12px; }
/* Keep the live region available before and during submission without adding a visual row. */
.siteFooter .siteFooter__feedback:empty,
.siteFooter__newsletter:has(.siteFooter__send[aria-busy="true"]) > .siteFooter__feedback {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.siteFooter .siteFooter__feedback--accepted {
  --footer-accepted-ink: var(--status-success-strong, var(--status-running-strong, var(--footer-ink)));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--footer-accepted-ink) 28%, var(--footer-bg));
  border-radius: 14px;
  background: var(--home-highlight-surface, color-mix(in srgb, var(--footer-accent) 7%, var(--footer-surface)));
  color: color-mix(in srgb, var(--footer-accepted-ink) 88%, var(--footer-ink));
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.siteFooter__feedback--accepted::before {
  content: '';
  box-sizing: border-box;
  flex: none;
  width: 6px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
}
.siteFooter__feedback--accepted:focus-visible { outline: 2px solid var(--footer-accepted-ink); outline-offset: 3px; }
.siteFooter__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
}
.siteFooter__community h2 { margin-block-end: clamp(14px, 1.95vw, 30px); }
.siteFooter .siteFooter__socials :is(a, button) {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-height: 0;
  padding: 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--footer-muted);
  box-shadow: none;
  transition: color 180ms ease;
}
.siteFooter .siteFooter__socials :is(a, button)::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 50%;
  background: var(--footer-surface);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.siteFooter .siteFooter__socials :is(a, button):hover { color: var(--footer-accent); }
.siteFooter .siteFooter__socials :is(a, button):hover::before { opacity: 1; }
.siteFooter__socials svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.siteFooter__socialFeedback { color: var(--footer-muted); font-size: 12px; }
.siteFooter__socialFeedback:not(:empty) { margin-block-start: 8px; }
.siteFooter__risk {
  inline-size: fit-content;
  max-inline-size: min(96%, 1180px);
  margin-inline: auto;
  margin-block-start: calc(clamp(30px, 3.2vw, 48px) + var(--footer-bottom-shift) - var(--footer-columns-shift));
  padding: 12px clamp(14px, 1.45vw, 22px);
  border: 1px solid color-mix(in srgb, var(--footer-risk-tone) 24%, var(--footer-risk-bg));
  border-radius: 10px;
  background: var(--footer-risk-bg);
  color: color-mix(in srgb, var(--footer-risk-tint) 18%, var(--footer-muted));
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.siteFooter__risk strong {
  margin-inline-end: .15em;
  color: color-mix(in srgb, var(--footer-risk-tone) 82%, var(--footer-ink));
  font-weight: 700;
}
.siteFooter__meta {
  margin-block-start: calc(20px + var(--footer-meta-shift));
  padding-block-start: calc(var(--footer-meta-padding) - var(--footer-main-shift));
  border-block-start: 1px solid var(--footer-line);
  text-align: center;
}
.siteFooter__meta > p { display: inline-block; color: var(--footer-muted); font-size: 13px; }
:root:not([data-theme="light"]) .siteFooter__meta > p {
  color: color-mix(in srgb, var(--footer-muted) 80%, var(--footer-bg));
}
.siteFooter :is(a, button):focus-visible { outline: 2px solid var(--focus, var(--footer-accent)); outline-offset: 3px; }
.siteFooter .siteFooter__productLinks a:focus-visible { outline-offset: 1px; }
.siteFooterDocument body { height: auto; }
.siteFooterWorkspace .layout { flex: none; height: calc(100dvh - 64px); min-height: 560px; }
@media (min-width: 1100px) {
  #frameHome > .siteFooter {
    --footer-content-shift: 12px;
    --footer-columns-shift: 38px;
    --footer-main-shift: 16px;
    --footer-bottom-shift: 24px;
    /* Account for the 20px margin, 16px padding reduction, and about 6px above the copyright glyphs. */
    --footer-meta-shift: max(6px, calc(var(--footer-meta-padding) - 30px));
  }
  #frameHome > .siteFooter .siteFooter__columns {
    --footer-column-unit: calc((100% - 3 * var(--footer-column-gap)) / 4.5);
    grid-template-columns:
      [brand] var(--footer-column-unit)
      calc(var(--footer-column-gap) + clamp(16px, 2vw, 28px))
      [products] fit-content(calc(1.25 * var(--footer-column-unit)))
      minmax(8px, 1fr)
      [legal] fit-content(calc(.9 * var(--footer-column-unit)))
      minmax(8px, 1fr)
      var(--footer-community-offset)
      [community] calc(1.35 * var(--footer-column-unit));
    column-gap: 0;
  }
  #frameHome > .siteFooter .siteFooter__identity { grid-column: brand; }
  #frameHome > .siteFooter .siteFooter__description { position: relative; inset-block-start: -12px; }
  #frameHome > .siteFooter .siteFooter__navigation { grid-column: products; }
  #frameHome > .siteFooter .siteFooter__legal { grid-column: legal; }
  #frameHome > .siteFooter .siteFooter__community { grid-column: community; }
  #frameHome > .siteFooter .siteFooter__newsletter {
    inset-block-start: calc(var(--footer-community-block-inset) - 16px);
  }
}
@media (max-width: 1099px) {
  .siteFooter__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .siteFooter__description { margin-block-start: 16px; }
  .siteFooter__risk { inline-size: 92%; }
}
@media (max-width: 760px) {
  :root { --page-list-empty-min-height: 320px; --page-content-footer-gap: 32px; }
  .siteFooter { --footer-empty-extra-gap: 144px; }
  .siteFooter__pattern { --footer-pattern-x: calc(50% + 480px); }
  .siteFooter .siteFooter__socials :is(a, button) { width: 40px; height: 40px; }
  .siteFooter :is(.siteFooter__navigation, .siteFooter__legal) a { min-block-size: 34px; }
}
@media (max-width: 560px) {
  /* Keep the copyright above the fixed return-to-top button at the end of the page. */
  body:has(.toTop) .siteFooter__content { padding-block-end: calc(80px + env(safe-area-inset-bottom)); }
  .siteFooter__columns { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .siteFooter__columns h2 { min-block-size: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .siteFooter *, .siteFooter *::before { transition: none !important; }
  .siteFooter__send:enabled:not([aria-busy="true"]):is(:hover, :active)::before { transform: none; }
  .siteFooter__send[aria-busy="true"]::after { animation: none; }
}
