/* Commercial landing — harmonized with login-gate (auth_page) */

.landing {
  --lp-gutter: clamp(1rem, 4vw, 2.25rem);
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--lp-gutter) clamp(1.25rem, 3vh, 1.75rem);
  font-family: var(--font-base);
  color: var(--text-main);
  overflow-x: hidden;
  min-width: 0;
}

.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding: clamp(0.75rem, 2vh, 1.1rem) var(--lp-gutter);
  background: var(--sidebar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

/* Hero full-bleed: imagem de fundo + conteúdo sobreposto */
.landing-hero-banner {
  position: relative;
  margin-left: calc(-1 * var(--lp-gutter));
  margin-right: calc(-1 * var(--lp-gutter));
  width: calc(100% + 2 * var(--lp-gutter));
  margin-bottom: clamp(2rem, 5vh, 3rem);
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(520px, 86vh, 780px);
  display: flex;
  flex-direction: column;
}

.landing-hero-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.landing-hero-banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.landing-hero-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    rgba(5, 9, 16, 0.93) 0%,
    rgba(5, 9, 16, 0.8) 36%,
    rgba(5, 9, 16, 0.55) 62%,
    rgba(5, 9, 16, 0.4) 100%
  );
}

.landing-header--on-hero {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
  background: rgba(8, 11, 18, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Social: no fluxo, abaixo do header — padding no wrapper (não zerar via .landing-social) */
.landing-hero-banner__social {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 1.25rem var(--lp-gutter) 0.85rem;
  background: transparent;
  border: none;
  pointer-events: auto;
}

.landing-hero-banner__body {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 var(--lp-gutter) clamp(1.35rem, 3.5vh, 2.25rem);
  min-height: 0;
  box-sizing: border-box;
}

.landing-hero-banner__social.landing-social {
  padding: 1.25rem var(--lp-gutter) 0.85rem;
}

.landing-hero-banner__social .official-social {
  gap: 0.5rem;
}

.landing-hero-banner .official-social__btn {
  background: rgba(8, 14, 22, 0.72);
  border-color: rgba(120, 145, 170, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.landing-hero-banner .official-social__btn:hover {
  background: rgba(12, 20, 32, 0.88);
  border-color: rgba(140, 165, 190, 0.55);
}

.landing-header .login-gate__brand {
  margin-bottom: 0;
  justify-content: flex-start;
}

.landing-header .login-gate__title {
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  letter-spacing: 0.04em;
}

.landing-social {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0.32rem var(--lp-gutter) 0.28rem;
  margin-top: 0;
}

.landing-social.login-gate__official-social-wrap {
  margin-top: 0;
}

.landing-social .official-social {
  gap: 0.38rem;
}

.landing-brand {
  min-width: 0;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.landing-nav-btn {
  height: auto;
  min-height: 2.25rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.landing-hero__copy {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 38rem;
  width: 100%;
  text-align: left;
}

.landing-hero__copy h1,
.landing-hero-title {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(240, 242, 246, 0.92);
  text-wrap: balance;
}

.landing-hero-title__accent {
  font-weight: 700;
  color: var(--link);
}

.landing-hero-title__pq {
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
}

.landing-hero-standards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin: 0 0 0.85rem;
}

.landing-hero-standards__kicker {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.landing-hero-standards__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(34, 211, 164, 0.35);
  border-radius: 999px;
  background: rgba(34, 211, 164, 0.08);
  color: #b8f5e4;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.landing-hero-standards__chip:hover {
  border-color: rgba(34, 211, 164, 0.65);
  background: rgba(34, 211, 164, 0.16);
  color: #e8fff6;
}

.landing-hero-standards,
.landing-hero-standards__chip {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.landing-cta-row--hero {
  gap: 10px;
  margin-top: 0.15rem;
}

.landing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.landing-cta--primary {
  background: linear-gradient(135deg, rgba(34, 211, 164, 0.95), rgba(16, 140, 110, 0.95));
  color: #04120e;
  border-color: rgba(34, 211, 164, 0.85);
}

.landing-cta--primary:hover {
  background: linear-gradient(135deg, #2eecc0, #18a87f);
  color: #02100c;
}

.landing-cta--secondary {
  background: rgba(12, 22, 36, 0.72);
  color: var(--secondary);
  border-color: rgba(120, 145, 170, 0.45);
}

.landing-cta--secondary:hover {
  border-color: rgba(34, 211, 164, 0.5);
  background: rgba(34, 211, 164, 0.1);
  color: #d4fff2;
}

.landing-cta--ghost {
  background: transparent;
  color: rgba(240, 242, 246, 0.88);
  border-color: rgba(120, 145, 170, 0.35);
}

.landing-cta--ghost:hover {
  border-color: rgba(34, 211, 164, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.landing-hero-whitepaper-links {
  margin: 0.5rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
}

.landing-hero-whitepaper-links a {
  color: var(--secondary);
  text-decoration: none;
  font-family: var(--font-mono);
}

.landing-hero-whitepaper-links a:hover {
  color: #9ef5dc;
}

.landing-hero-whitepaper-links a i {
  margin-right: 0.3rem;
}

.landing-hero-wallet-link {
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.landing-hero-wallet-link a {
  color: var(--secondary);
  text-decoration: none;
  font-family: var(--font-mono);
}

.landing-hero-wallet-link a:hover {
  color: #9ef5dc;
}

.landing-hero-wallet-link__note {
  margin-left: 0.35rem;
  opacity: 0.85;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-section--pq-story {
  margin-top: -0.25rem;
}

.landing-pq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 720px) {
  .landing-pq-grid {
    grid-template-columns: 1fr;
  }
}

.landing-pq-card {
  padding: 1rem 1.05rem;
  border-radius: 8px;
  border: 1px solid rgba(120, 145, 170, 0.22);
  background: rgba(8, 14, 24, 0.55);
}

.landing-pq-card--problem {
  border-color: rgba(248, 113, 113, 0.28);
  background: linear-gradient(160deg, rgba(40, 12, 18, 0.55), rgba(8, 14, 24, 0.65));
}

.landing-pq-card--solution {
  border-color: rgba(34, 211, 164, 0.32);
  background: linear-gradient(160deg, rgba(8, 36, 28, 0.55), rgba(8, 14, 24, 0.65));
}

.landing-pq-card__icon {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}

.landing-pq-card--problem .landing-pq-card__icon {
  color: #f87171;
}

.landing-pq-card--solution .landing-pq-card__icon {
  color: #22d3a4;
}

.landing-pq-card__title {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.landing-pq-card__text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.landing-hero__copy .lead {
  font-size: 0.875rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  text-wrap: pretty;
  max-width: 38em;
}

.landing-hero__copy .sub {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 38em;
  margin: 0 0 1.25rem;
  text-wrap: pretty;
}

.landing-hero__copy .landing-hero-cta-intro {
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-main);
  max-width: 38em;
  margin: 0 0 1rem;
  text-wrap: pretty;
}

.landing-hero__copy .landing-cta-row {
  justify-content: flex-start;
  margin-top: 0;
  padding-top: 0.25rem;
}

.landing-hero__copy h1,
.landing-hero-title,
.landing-hero__copy .lead,
.landing-hero__copy .sub,
.landing-hero__copy .landing-hero-cta-intro {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.landing-hero-title__accent,
.landing-hero-title__pq {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.landing-hero__copy .landing-cta-row.landing-links-row {
  margin-top: 0;
}

.landing-hero__copy .landing-cta-row.landing-links-row a {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.landing-hero__copy .landing-cta-row.landing-links-row a i {
  margin-right: 6px;
  opacity: 0.9;
}

.landing-section {
  margin-bottom: clamp(1.75rem, 4vh, 2.5rem);
}

.landing-section-title {
  font-family: var(--font-base);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .landing-grid-2 {
    grid-template-columns: 1fr;
  }
}

.landing-links-row--market {
  margin-bottom: 0.75rem;
}

.landing-econometer-video-row {
  margin-bottom: clamp(1.75rem, 4vh, 2.5rem);
}

.landing-econometer-video-row > .landing-section {
  margin-bottom: 0;
}

.landing-section--econometer-snapshot {
  margin-top: 0.35rem;
}

/* Snapshot metrics: always one column in this block */
.landing-stat-grid--network.landing-stat-grid--snapshot {
  grid-template-columns: 1fr;
  gap: 8px;
}

/* Medium + large: snapshot (left) | video (right) */
@media (min-width: 768px) {
  .landing-econometer-video-row {
    display: grid;
    grid-template-columns: minmax(220px, min(360px, 38vw)) minmax(0, 1fr);
    gap: clamp(1rem, 2.2vw, 1.75rem);
    align-items: start;
  }

  .landing-econometer-video-row .landing-section--econometer-snapshot {
    grid-column: 1;
    margin-top: 0;
  }

  .landing-econometer-video-row .landing-section--video {
    grid-column: 2;
    margin-top: 0;
  }

  .landing-econometer-video-row .landing-stat-grid--network.landing-stat-grid--snapshot {
    grid-template-columns: 1fr;
  }

  .landing-econometer-video-row .landing-video__frame {
    max-width: none;
    margin: 0;
  }
}

.landing-video-hint {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.landing-video-hint i {
  margin-top: 0.15rem;
  color: rgba(34, 211, 164, 0.85);
  flex-shrink: 0;
}

.landing-video__frame {
  position: relative;
  width: 100%;
  max-width: min(920px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: #0a0a0c;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.landing-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.landing-section--video {
  margin-top: 0.5rem;
}

.landing-econometer-video-row .landing-section--video {
  margin-top: 0;
}

@media (max-width: 767px) {
  .landing-econometer-video-row .landing-section--video {
    margin-top: 0.5rem;
  }
}

.landing-chart-wrap--full {
  width: 100%;
}

.landing-stat-grid--network {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-panel {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.landing-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}


.landing-stat {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.landing-stat .k {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.landing-stat .v {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.landing-stat .v.up { color: #22d3a4; }
.landing-stat .v.down { color: #f87171; }

.landing-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.75rem;
}

.landing-links-row a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 5px 10px;
  border: 1px solid rgba(120, 145, 170, 0.3);
  border-radius: 4px;
  color: var(--secondary);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.landing-links-row a:hover {
  border-color: rgba(34, 211, 164, 0.5);
  background: rgba(34, 211, 164, 0.08);
}

.landing-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .landing-services {
    grid-template-columns: 1fr;
  }
}

.landing-service h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.45rem;
  color: var(--text-main);
}

.landing-service p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.landing-service .tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(34, 211, 164, 0.9);
}

.landing-stake-servers-wrap {
  padding: 0;
  overflow: hidden;
}

.landing-stake-servers-wrap .landing-stake-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.landing-stake-table th {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  padding: 0.55rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 22, 0.55);
}

.landing-stake-table td {
  padding: 0.52rem 0.65rem;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.landing-stake-table th:nth-child(1),
.landing-stake-table td:nth-child(1) {
  width: 20%;
}

.landing-stake-table th:nth-child(2),
.landing-stake-table td:nth-child(2) {
  width: 18%;
}

.landing-stake-table th:nth-child(3),
.landing-stake-table td:nth-child(3) {
  width: 12%;
}

.landing-stake-table th:nth-child(4),
.landing-stake-table td:nth-child(4) {
  width: 12%;
}

.landing-stake-table th:nth-child(5),
.landing-stake-table td:nth-child(5) {
  width: 22%;
}

.landing-stake-table th:nth-child(6),
.landing-stake-table td:nth-child(6) {
  width: 12%;
}

.landing-stake-table .mono {
  font-family: var(--font-mono);
}

.landing-stake-table .landing-stake-ip {
  color: var(--secondary);
}

.landing-stake-table .landing-stake-tip {
  cursor: help;
  text-decoration: underline dotted rgba(255, 255, 255, 0.28);
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .landing-stake-servers-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .landing-stake-servers-wrap .landing-stake-table {
    min-width: 640px;
  }
}

.landing-open p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
}

.landing-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.landing-footer--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.landing-footer-line {
  margin: 0;
  line-height: 1.5;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .landing-footer-line {
    white-space: normal;
  }
}

.landing-footer-sep {
  margin: 0 0.35rem;
  color: rgba(120, 145, 170, 0.45);
}

.landing-footer a {
  color: var(--link);
  text-decoration: none;
}

.landing-footer a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.landing-footer-social {
  justify-content: center;
}

.landing-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
  color: var(--text-main);
}

.landing-prose {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
}

.landing-list {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.landing-list li {
  margin-bottom: 0.35rem;
}

.landing-inline-link {
  font-size: 0.8125rem;
  color: var(--link);
  text-decoration: none;
}

.landing-inline-link:hover {
  text-decoration: underline;
}

.landing-asset-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.landing-asset-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(220, 232, 245, 0.9);
}

.landing-asset-list img {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.landing-asset-usd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 211, 164, 0.15);
  color: #22d3a4;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.landing-disclaimer {
  font-size: 0.72rem;
  margin-top: 0.65rem;
  line-height: 1.5;
}

/* Econometer chart block (shared class names with econometer-chart.js) */
.landing-chart-wrap .econ-chart-card {
  min-height: 320px;
}

.landing-chart-wrap .econ-lwc-wrap {
  min-height: 240px;
  height: 240px;
}

.landing-chart-wrap .econ-chart-stage {
  position: relative;
  height: 100%;
}

.landing-chart-wrap .econ-chart-card {
  height: 100%;
}

.landing-chart-wrap .econ-dex-line,
.landing-chart-wrap .econ-ohlc-bar,
.landing-chart-wrap .econ-interval-tabs,
.landing-chart-wrap .econ-chart-links,
.landing-chart-wrap .econ-chart-actions,
.landing-chart-wrap .econ-dex-sep {
  /* styles from econometer — duplicated essentials */
}

.landing-chart-wrap .econ-chart-card {
  border: 1px solid var(--glass-border) !important;
  background: rgba(18, 20, 28, 0.72) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 4px !important;
  padding: 0.55rem 0.62rem 0.48rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}

.landing-chart-wrap .econ-chart-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.landing-chart-wrap .econ-lwc-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 220px;
  border-radius: 3px;
  overflow: hidden;
}

.landing-chart-wrap #econ-lwc-chart {
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.landing-chart-wrap .econ-dex-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-family: var(--font-mono);
  line-height: 1.25;
  margin-bottom: 3px;
}

.landing-chart-wrap .econ-dex-line--stats {
  font-size: 0.62rem;
  color: rgba(180, 198, 216, 0.85);
  margin-bottom: 4px;
}

.landing-chart-wrap .econ-dex-line--toolbar {
  font-size: 0.58rem;
  margin-bottom: 4px;
}

.landing-chart-wrap .econ-dex-sep {
  color: rgba(120, 145, 170, 0.35);
}

.landing-chart-wrap .econ-token-logo {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.landing-chart-wrap .econ-token-name {
  font-size: 0.68rem;
  font-weight: 600;
}

.landing-chart-wrap .econ-spot-price {
  font-size: 0.78rem;
  font-weight: 600;
}

.landing-chart-wrap .econ-spot-chg.up { color: #22d3a4; }
.landing-chart-wrap .econ-spot-chg.down { color: #f87171; }

.landing-chart-wrap .econ-dex-chip .k {
  color: rgba(150, 170, 190, 0.65);
  font-size: 0.56rem;
  margin-right: 3px;
}

.landing-chart-wrap .econ-dex-chip .v.chg.up { color: #22d3a4; }
.landing-chart-wrap .econ-dex-chip .v.chg.down { color: #f87171; }

.landing-chart-wrap .econ-interval-tabs {
  display: flex;
  gap: 3px;
}

.landing-chart-wrap .econ-interval-tabs button {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  background: transparent;
  border: 1px solid rgba(120, 145, 170, 0.25);
  color: rgba(170, 190, 210, 0.75);
  padding: 2px 7px;
  border-radius: 3px;
  cursor: pointer;
}

.landing-chart-wrap .econ-interval-tabs button.active,
.landing-chart-wrap .econ-interval-tabs button:hover {
  background: rgba(34, 211, 164, 0.12);
  border-color: rgba(34, 211, 164, 0.45);
  color: #22d3a4;
}

.landing-chart-wrap .econ-chart-links a {
  color: var(--secondary);
  text-decoration: none;
  margin-right: 6px;
}

.landing-chart-wrap .econ-chart-actions {
  background: none;
  border: none;
  color: rgba(170, 190, 210, 0.8);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  cursor: pointer;
}

.landing-chart-wrap .econ-ohlc-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.59rem;
}

.landing-chart-wrap .econ-ohlc-item span.chg.up { color: #22d3a4; }
.landing-chart-wrap .econ-ohlc-item span.chg.down { color: #f87171; }

.landing-chart-wrap .dot-live {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22d3a4;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  animation: lp-blink 1.6s ease-in-out infinite;
}

@keyframes lp-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.landing-chart-wrap .econ-chart-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
}

.landing-chart-wrap .econ-dex-bc-track {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: rgba(120, 145, 170, 0.18);
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 4px;
  overflow: hidden;
}

.landing-chart-wrap .econ-dex-bc-fill {
  display: block;
  height: 100%;
  width: 0;
  background: #22d3a4;
}

@media (min-width: 960px) {
  .landing-header .login-gate__title {
    font-size: 1.45rem;
  }

  .landing-hero__copy .sub {
    font-size: 1rem;
  }
}

/* ── Responsive: tablet ── */
@media (max-width: 768px) {
  .landing-hero-banner {
    min-height: clamp(340px, 55vh, 480px);
  }

  .landing-hero-banner__media img {
    object-position: center 38%;
  }

  .landing-hero__copy h1,
  .landing-hero-title {
    font-size: clamp(1.5rem, 4.5vw, 1.75rem);
  }

  .landing-hero__copy .lead {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .landing-hero__copy .sub {
    font-size: 1rem;
    line-height: 1.58;
  }

  .landing-hero-banner__scrim {
    background: linear-gradient(
      180deg,
      rgba(5, 9, 16, 0.78) 0%,
      rgba(5, 9, 16, 0.9) 42%,
      rgba(5, 9, 16, 0.82) 100%
    );
  }

  .landing-hero-banner__social,
  .landing-hero-banner__social.landing-social {
    justify-content: center;
    padding: 1.15rem var(--lp-gutter) 0.8rem;
  }

  .landing-hero-banner__social .official-social {
    justify-content: center;
    width: 100%;
  }

  .landing-hero-banner__body {
    align-items: stretch;
    justify-content: flex-end;
    padding-bottom: 1.35rem;
  }

  .landing-hero__copy {
    text-align: center;
    max-width: 100%;
    align-items: center;
  }

  .landing-hero__copy .lead,
  .landing-hero__copy .sub,
  .landing-hero__copy .landing-hero-cta-intro {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .landing-hero__copy .landing-cta-row {
    justify-content: center;
  }

  .landing-hero-standards {
    justify-content: center;
  }

  .landing-hero-whitepaper-links,
  .landing-hero-wallet-link {
    text-align: center;
  }

  .landing-header {
    gap: 0.65rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .landing-header .login-gate__title {
    font-size: 1.15rem;
  }

  .landing-nav-btn {
    min-height: 2rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
  }

  .landing-stat-grid--network:not(.landing-stat-grid--snapshot) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-chart-wrap .econ-chart-card {
    min-height: 300px;
    padding: 0.5rem 0.55rem 0.45rem;
  }

  .landing-chart-wrap .econ-lwc-wrap,
  .landing-chart-wrap #econ-lwc-chart {
    min-height: 210px;
    height: 210px;
  }

  .landing-chart-wrap .econ-dex-line--toolbar {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .landing-chart-wrap .econ-chart-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    max-width: 100%;
  }

  .landing-chart-wrap .econ-interval-tabs button {
    min-height: 32px;
    padding: 5px 9px;
  }

  .landing-chart-wrap .econ-chart-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .landing-section-title {
    font-size: 0.68rem;
  }
}

/* ── Responsive: mobile ── */
@media (max-width: 520px) {
  .landing {
    --lp-gutter: 0.75rem;
    padding-bottom: 1.5rem;
  }

  .landing-hero-banner {
    min-height: clamp(365px, 62vh, 505px);
  }

  .landing-hero-banner__media img {
    object-position: center 36%;
  }

  /* Topo compacto */
  .landing-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .landing-hero-banner__social,
  .landing-hero-banner__social.landing-social {
    padding: 1.05rem var(--lp-gutter) 0.75rem;
  }

  .landing-social .official-social__btn {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.82rem;
  }

  .landing-brand {
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .landing-header .login-gate__logo {
    width: 36px;
    height: 36px;
  }

  .landing-header .login-gate__title {
    font-size: 1.05rem;
  }

  .landing-nav {
    width: auto;
    flex: 0 0 auto;
    display: flex;
    gap: 5px;
  }

  .landing-nav-btn {
    width: auto;
    min-height: 0;
    height: 28px;
    padding: 0 8px;
    font-size: 0.62rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .landing-hero-banner {
    margin-bottom: 1.15rem;
  }

  .landing-hero__copy h1,
  .landing-hero-title {
    font-size: clamp(1.65rem, 7.2vw, 1.95rem);
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }

  .landing-hero__copy .lead {
    font-size: 1rem;
    line-height: 1.58;
    margin-bottom: 0.75rem;
  }

  .landing-hero__copy .sub {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0.9rem;
  }

  .landing-cta-row {
    width: 100%;
    max-width: 100%;
  }

  .landing-hero__copy .landing-cta-row.landing-links-row a {
    flex: 1 1 calc(50% - 4px);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .landing-cta-row--hero .landing-cta {
    flex: 1 1 100%;
    min-height: 44px;
  }

  .landing-cta-row--stack {
    flex-direction: column;
    max-width: 100%;
  }

  .landing-panel {
    padding: 0.75rem 0.8rem;
  }

  .landing-links-row--market {
    gap: 6px;
  }

  .landing-links-row a {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    text-align: center;
    padding: 8px 6px;
    font-size: 0.62rem;
  }

  .landing-stat .v {
    font-size: 0.85rem;
    word-break: break-word;
  }

  .landing-stat-grid--network:not(.landing-stat-grid--snapshot) {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .landing-asset-list li {
    font-size: 0.76rem;
    align-items: flex-start;
  }

  .landing-asset-list li span {
    min-width: 0;
    line-height: 1.4;
  }

  .landing-chart-wrap .econ-dex-sep {
    display: none;
  }

  .landing-chart-wrap .econ-dex-line {
    gap: 4px 6px;
  }

  .landing-chart-wrap .econ-dex-line--stats {
    line-height: 1.5;
  }

  .landing-chart-wrap .econ-dex-chip {
    display: inline-flex;
    margin: 1px 4px 1px 0;
  }

  .landing-chart-wrap .econ-dex-line--toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-chart-wrap .econ-interval-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .landing-chart-wrap .econ-interval-tabs button {
    flex: 1;
    text-align: center;
  }

  .landing-chart-wrap .econ-ohlc-bar {
    gap: 6px 10px;
    font-size: 0.55rem;
  }

  .landing-chart-wrap .econ-lwc-wrap,
  .landing-chart-wrap #econ-lwc-chart {
    min-height: 190px;
    height: 190px;
  }

  .landing-footer-line {
    font-size: 0.7rem;
    line-height: 1.55;
  }
}

/* Very narrow phones */
@media (max-width: 380px) {
  .landing-header .login-gate__logo {
    width: 32px;
    height: 32px;
  }

  .landing-header .login-gate__title {
    font-size: 1rem;
  }

  .landing-nav-btn {
    min-height: 1.85rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.7rem;
  }

  .landing-links-row a {
    flex: 1 1 100%;
  }

  .landing-chart-wrap .econ-lwc-wrap,
  .landing-chart-wrap #econ-lwc-chart {
    min-height: 175px;
    height: 175px;
  }
}

